/* Pantalla "Ingresa a tu cuenta" (desktop): cliente/ingresarSuccess.php
   Mismo estilo que actualizar-contrasena.css */
.ingresoCuenta {
    display: flex;
    max-width: 1050px;
    width: 100%;
    gap: 60px;
    align-items: flex-start;
    padding: 50px 0;
}
.ingresoCuenta *,
.ingresoCuenta *:before,
.ingresoCuenta *:after {
    box-sizing: border-box;
}

/* Columna izquierda */
.ingresoCuenta__intro {
    flex: 1;
    padding-top: 20px;
}
.ingresoCuenta__kicker {
    display: block;
    margin-bottom: 12px;
    color: #4c5bd4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.ingresoCuenta__intro h1 {
    margin: 0 0 20px 0;
    color: #2b2b2b;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}
.ingresoCuenta__intro p {
    max-width: 420px;
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.5;
}

/* Columna derecha (tarjeta) */
.ingresoCuenta__card {
    flex: 1;
    width: 100%;
    max-width: 480px;
    margin-bottom: 15px;
    padding: 32px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.ingresoCuenta__card h2 {
    margin: 0 0 20px 0;
    padding: 0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
}

/* Botones sociales (Google / Facebook) */
.ingresoCuenta__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 12px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.ingresoCuenta__social:hover,
.ingresoCuenta__social:focus {
    border-color: #4c5bd4;
    color: #333333;
    text-decoration: none;
}
.ingresoCuenta__socialIcon {
    display: inline-block;
    width: 18px;
    height: 18px;
}
.ingresoCuenta__socialIcon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.ingresoCuenta__separador {
    margin: 8px 0 20px;
    color: #666666;
    font-size: 12px;
}

/* Campos */
.ingresoCuenta__campo {
    margin-bottom: 20px;
}
.ingresoCuenta__campo label {
    display: block;
    margin-bottom: 6px;
    color: #333333;
    font-size: 13px;
    font-weight: 600;
}
.ingresoCuenta__campo input[type=text],
.ingresoCuenta__campo input[type=password],
.ingresoCuenta__campo input[type=email] {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    box-shadow: none;
    color: #333333;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.ingresoCuenta__campo input:focus {
    border-color: #4c5bd4;
}
.ingresoCuenta__campo label.error {
    margin: 6px 0 0;
    color: #d93838;
    font-size: 12px;
    font-weight: 400;
}
.ingresoCuenta__pass {
    position: relative;
}
.ingresoCuenta__pass input[type=text],
.ingresoCuenta__pass input[type=password] {
    padding-right: 75px;
}
.ingresoCuenta__mostrar {
    position: absolute;
    top: 0;
    right: 12px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    color: #4c5bd4;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
}

/* Links */
.ingresoCuenta__link {
    color: #4c5bd4;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
}
.ingresoCuenta__link:hover {
    color: #3b4ab8;
}
.ingresoCuenta__olvido {
    display: inline-block;
    margin: -14px 0 20px;
}

.ingresoCuenta__captcha {
    margin-bottom: 16px;
}

.ingresoCuenta__recordar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}
.ingresoCuenta__recordar input[type=checkbox] {
    margin: 0;
}
.ingresoCuenta__recordar label {
    margin: 0;
    color: #333333;
    font-size: 13px;
    cursor: pointer;
}

/* Botones del formulario (anula el estilo naranja de form.css) */
.ingresoCuenta .ingresoCuenta__btn {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
    padding: 14px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    white-space: normal;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}
.ingresoCuenta .ingresoCuenta__btn--primario {
    background-color: #4c5bd4;
    border: 1px solid #4c5bd4;
    color: #ffffff;
}
.ingresoCuenta .ingresoCuenta__btn--primario:hover,
.ingresoCuenta .ingresoCuenta__btn--primario:active {
    background-color: #3b4ab8;
    border-color: #3b4ab8;
}
.ingresoCuenta .ingresoCuenta__btn--secundario {
    background-color: #ffffff;
    border: 1px solid #dcdfe6;
    color: #333333;
}
.ingresoCuenta .ingresoCuenta__btn--secundario:hover,
.ingresoCuenta .ingresoCuenta__btn--secundario:active {
    background-color: #ffffff;
    border-color: #4c5bd4;
}

/* Registro (cliente/registroSuccess.php) */
.ingresoCuenta__intro .ingresoCuenta__nota {
    margin-top: 14px;
    color: #666666;
    font-size: 12px;
}
.ingresoCuenta__ayuda {
    margin: -12px 0 16px;
    color: #666666;
    font-size: 12px;
}
.ingresoCuenta__campo label.ingresoCuenta__obligatorio:after {
    content: " *";
}
.ingresoCuenta__oculto {
    display: none;
}
.ingresoCuenta__campo select {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    box-shadow: none;
    color: #333333;
    font-size: 14px;
    outline: none;
}
.ingresoCuenta__campo select:focus {
    border-color: #4c5bd4;
}
.ingresoCuenta__requisitos {
    margin: -6px 0 20px;
    color: #666666;
    font-size: 12px;
}
.ingresoCuenta__requisitos p {
    margin: 0 0 4px;
}
.ingresoCuenta__requisitos ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* mismo estilo que actualizar-contrasena.css */
.ingresoCuenta__requisitos li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    color: #888888;
    transition: color 0.2s;
}
.ingresoCuenta__requisitos li.valid {
    color: #27ae60;
    font-weight: 600;
}
.ingresoCuenta__requisitos .icon-check {
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #888888;
    font-size: 10px;
    transition: background-color 0.2s, color 0.2s;
}
.ingresoCuenta__requisitos li.valid .icon-check {
    background-color: #27ae60;
    color: #ffffff;
}
.ingresoCuenta__errorPassword {
    display: block;
    margin-top: 6px;
    color: #d93838;
    font-size: 12px;
}
.ingresoCuenta__alerta {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 6px;
}
.ingresoCuenta__alerta p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}
.ingresoCuenta__alerta--error {
    background-color: #fde8e8;
    color: #d93838;
}
.ingresoCuenta__alerta--exito {
    background-color: #e8f8ee;
    color: #218838;
}

.ingresoCuenta__registro {
    margin: 8px 0 0;
    color: #333333;
    font-size: 12px;
}

/* Registro en dos pasos (registro.js) */
.ingresoCuenta__pasos {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.ingresoCuenta__indicador {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: #666666;
    font-size: 12px;
}
.ingresoCuenta__punto {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dcdfe6;
}
.ingresoCuenta__punto--activo {
    background-color: #4c5bd4;
}
/* requisitos de la contraseña en dos columnas para ocupar menos alto */
.ingresoCuenta__requisitos ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
}
/* documento y ciudad en una fila; si solo hay uno (MX o sin documento/ciudad) ocupa todo el ancho */
.ingresoCuenta__fila {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    column-gap: 12px;
}
/* "Crear cuenta" a todo el ancho y "Volver" debajo */
.ingresoCuenta__acciones {
    display: flex;
    flex-direction: column;
}

/* Responsivo */
@media (max-width: 768px) {
    .ingresoCuenta {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    .ingresoCuenta__card {
        max-width: 100%;
        padding: 24px;
    }
}
