/* ============================================
   ESTILOS COMPARTIDOS - Cebropan & Davivienda
   ============================================ */

:root {
    --rojo: #E1251B;
    --rojo-oscuro: #A8181A;
    --rojo-hover: #C41E14;
    --rojo-suave: #FCE8E6;
    --gris-1: #6E6E6E;
    --gris-2: #9A9A9A;
    --gris-3: #D8D8D8;
    --gris-bg: #F4F4F4;
    --texto: #2A2A2A;
    --texto-medio: #555;
    --verde-ok: #2E8B57;
    --blanco: #FFFFFF;
    --sombra: 0 10px 40px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--texto);
    background: var(--gris-bg);
    line-height: 1.4;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* HEADER */
.header {
    background: var(--rojo);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    color: var(--blanco);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.alliance {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.brand .mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--blanco);
    color: var(--rojo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    font-style: normal;
}

.alliance-sep {
    opacity: 0.5;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.help-link {
    color: var(--blanco);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    transition: opacity .2s;
}

.help-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.secure-badge {
    background: rgba(0, 0, 0, 0.18);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.nav-link {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background .2s;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* FOOTER */
.footer {
    background: #1a1a1a;
    color: #888;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--blanco);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .header {
        padding: 0 16px;
    }
    .alliance-sep {
        display: none;
    }
    .secure-badge {
        display: none;
    }
    .footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .header-right .help-link span {
        display: none;
    }
    .brand {
        font-size: 18px;
    }
    .brand .mark {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}
/* ============================================
   LOGOS EN HEADER
   ============================================ */
.logo-header {
    height: 50px;  /* Tamaño reducido */
    width: auto;
    object-fit: contain;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: italic;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--blanco);
}

.brand .mark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blanco);
    color: var(--rojo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    font-style: normal;
}

.alliance {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alliance-sep {
    opacity: 0.5;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 480px) {
    .logo-header {
        height: 16px;
    }
    .brand {
        font-size: 14px;
        gap: 6px;
    }
    .brand .mark {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    .alliance {
        gap: 8px;
    }
}
/* ============================================
   ENLACE RECUPERAR CLAVE
   ============================================ */
   .row-options a {
    color: var(--rojo);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}

.row-options a:hover {
    text-decoration: underline;
    color: var(--rojo-oscuro);
}