:root {
    --primary-color: #00c1b8;
    --primary-dark: #00a8a0;
    --secondary-color: #00223f;
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    --dark-gray: #616161;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.register-container {
    display: flex;
    width: 773px;
    max-width: 85%;
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 35.15);
    }

.register-image {
    flex: 1;
    position: relative;
    background: url('/assets/dist/IMG/signIn_UpAMLRISK.jpeg') center/cover no-repeat;
}

.register-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 34, 63, 0.7) 0%, rgba(0, 193, 184, 0.5) 100%);
}

.register-image .promo-text {
    position: absolute;
    bottom: 40px;
    left: 15px;
    right: 0px;
    text-align: center;
    color: white;
    padding: 0px 17px;
    z-index: 2;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 20%;
    top: 16%;
}

.register-form {
    flex: 1;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header img {
    width: 70%;
    max-width: 250px;
    margin-bottom: 15px;
}

.form-header .tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 3px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 5px;
    margin-left: -59%;
    position: relative;
    top: -12%;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group select, 
.input-group input {
        width: 100%;
    padding: 10px 10px 9px 15px;
    border: 2px solid #c9c9c9;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 35.15);
    margin-top: -2%;
}

.input-group select {
    appearance: none;
    background-image: url(data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    width: 100%;
    padding: 10px 10px 9px 15px;
    border: 2px solid #c9c9c9;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 35.15);
    height: 44px;
}

.input-field {
    width: 100%;
    margin-bottom: 20px;
}

.input-field input {
    width: 100%;
    padding: 10px 10px 9px 15px;
    border: 2px solid #c9c9c9;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 35.15);
    margin-top: -2%;
}

.input-group select:focus,
.input-group input:focus,
.input-field input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 193, 184, 0.2);
    outline: none;
    
    
}

.captcha-container {
    text-align: center;
}

.captcha-container img {
    max-width: 64%;
    height: auto;
    margin-left: -50%;
    margin-top: -9%;
}

.btn-register {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: -12px;
}

.btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.promo-text {
    position: absolute;
    bottom: 80px;
    left: 30px;
    color: white;
    z-index: 2;
    max-width: 92%;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.legal-message {
    background: rgba(0, 34, 63, 0.6);
    padding: 30px 20px; /* 🔹 más espacio arriba y abajo */
    display: inline-block; /* se ajusta al tamaño del texto */
    border-radius: 8px;
    max-width: 90%;
    margin-bottom: 15px; /* 🔹 baja un poco el cuadro respecto al checkbox */
}

.legal-message a {
    color: #00c1b8;
    text-decoration: underline;
}
.legal-message a:hover {
    color: #ffffff;
}

.owner-tabs {
            display: flex;
            justify-content: space-between;
            background: #f1f1f1;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 10px;
        }

        .tab-button {
            flex: 1;
            padding: 3px 0;
            background: transparent;
            border: none;
            cursor: pointer;
            color: #555;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .tab-button:hover {
            background: #e8e8e8;
        }

        .tab-button.active {
            background: #00bfa6;
            color: #fff;
        }
.terms-container {
    margin-top: 15px;
    margin-bottom: 25px; /* separa del botón */
}

.btn-register {
    margin-top: 10px; /* baja un poco más el botón */
}


/* Responsive */
@media (max-width: 900px) {
    .register-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .register-image {
        min-height: 200px;
    }
    
    .register-form {
        padding: 30px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .register-form {
        padding: 20px;
    }
    
    .register-image .promo-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}