/* Layout principal en dos columnas */
.content {
    width: 1200px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 200px;
}

.benefits-card {
    background: rgba(24, 29, 55, 0.85); 
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    padding: 2rem 2.5rem;
    max-width: 340px;
    min-width: 260px;
    width: 100%;
    margin-left: -80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1.5px solid rgba(24,29,55,0.10);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.benefits-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    width: 100%;
    display: flex;
    justify-content: center;
}
.benefits-card ul {
    padding-left: 1.2em;
    margin: 0;
    font-size: 1.05em;
}
.benefits-card li {
    margin-bottom: 0.7em;
    line-height: 1.5;
}
.benefits-card b {
    color: #FF9E1B;
}

@media (max-width: 900px) {
    .content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }
    .benefits-card {
        margin-left: 0;
        display: none;
    }
    .registro-container {
        max-width: 95vw;
        width: 100%;
        padding: 1.5rem 1rem;
    }
}

/* El resto de estilos permanece igual */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: url('fondo-login.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.logo-container{
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.back-btn {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(44, 57, 103, 0.7);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    padding: 0;
}
.back-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: auto;
    stroke: #fff;
    transition: stroke 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #FF9E1B;
}
.back-btn:hover svg, .back-btn:focus svg {
    stroke: #181D37;
}

.registro-container {
    position: relative;
    background: rgba(24, 29, 55, 0.65);
    color: #fff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.15);
    width: 100%;
    max-width: 350px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #FF9E1B;
}

.registro-subtitle {
    text-align: center;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1.3rem;
    margin-top: 0.2rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.register-orange {
    color: #FF9E1B;
    font-weight: 700;
}

#registro-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Ajuste: menos espacio entre los inputs */
#registro-form input[type="email"],
#registro-form input[type="password"] {
    margin-bottom: 0;
}

label {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #D7DAE3;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #2C3967;
    color: #D7DAE3;
    font-size: 1rem;
}
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border: 2px solid #FF9E1B;
}

button[type="submit"] {
    width: 100%;
    padding: 0.7rem;
    background: #FF9E1B;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
button[type="submit"]::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    z-index: -1;
    background: linear-gradient(45deg, #FF9E1B, #C8102E);
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    border-radius: 4px;
}
button[type="submit"]:hover {
    color: #fff;
}
button[type="submit"]:hover::before {
    width: 100%;
}

/* Mensajes de alerta */
.alert {
    margin-top: 1rem;
    text-align: center;
    color: red;
}
.alert.success {
    color: green;
}

/* Mensajes mejorados */
.message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
    transition: all 0.3s ease;
}

.message.error {
    background: rgba(200, 16, 46, 0.15);
    border: 1px solid rgba(200, 16, 46, 0.3);
    color: #ff6b6b;
}

.message.success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

/* Grupos de contraseña con botones */
.password-group {
    position: relative;
    width: 100%;
}

.password-group input[type="password"],
.password-group input[type="text"] {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.toggle-password:hover {
    background-color: rgba(255, 158, 27, 0.1);
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    stroke: #D7DAE3;
    transition: stroke 0.2s;
}

.toggle-password:hover svg {
    stroke: #FF9E1B;
}

/* Estados del botón de registro */
button[type="submit"]:disabled {
    background: #6c7293;
    cursor: not-allowed;
    opacity: 0.7;
}

button[type="submit"]:disabled::before {
    display: none;
}

button[type="submit"]:disabled:hover {
    color: #fff;
}

/* Indicador de carga */
#loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.register-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 1em;
    color: #D7DAE3;
    text-decoration: none;
    transition: color 0.2s;
}

.register-link .register-orange {
    color: #FF9E1B;
    font-weight: 700;
    transition: color 0.2s;
}
.register-link .register-orange:hover {
    color: #FF7D07;
}
