/* ══════════════════════════════════════════════════════════════
   BANCO DE BOGOTÁ - SUCURSAL VIRTUAL PERSONAS
   Estilos principales - Inspirado en virtual.bancodebogota.co
   ══════════════════════════════════════════════════════════════ */

:root {
    --primary: #003057;
    --primary-dark: #002244;
    --secondary: #FFC72C;
    --secondary-dark: #F0B800;
    --accent: #00C389;
    --accent-dark: #00a87a;
    --danger: #dc3545;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-body: #f0f2f7;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ══════════════════════════════════════════════════════════════
   CONTENIDO PRINCIPAL
   ══════════════════════════════════════════════════════════════ */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #eef0f4 100%);
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION (LADO IZQUIERDO - DESKTOP)
   ══════════════════════════════════════════════════════════════ */
.hero-section {
    padding: 40px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 0;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: #4a5568;
}

.hero-feature i {
    width: 40px;
    height: 40px;
    background: rgba(0, 48, 87, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0, 195, 137, 0.1);
    color: var(--accent-dark);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-hero i {
    font-size: 0.8rem;
}

/* ══════════════════════════════════════════════════════════════
   TARJETA DE LOGIN
   ══════════════════════════════════════════════════════════════ */

.forazul{
    display: flex;
    align-items: center;
    background: #0043a9;
    border-radius: 12px;
    height: 100px;
    margin-bottom: 1rem;
}
.forazul img{
    height: 100%;
    object-fit: contain;
}
.forazulhijo{
    display: block;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    font-weight: 500;
}
.forazulhijo p{
    color: white;
    margin: 0;
}
.login-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.login-card-header {
    padding: 30px 30px 20px;
    background: linear-gradient(180deg, rgba(0,48,87,0.02) 0%, transparent 100%);
}

.login-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,48,87,0.2);
}

.login-card-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.login-card-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.login-card-body {
    padding: 10px 30px 30px;
}

/* ══════════════════════════════════════════════════════════════
   FORMULARIO
   ══════════════════════════════════════════════════════════════ */
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-custom .form-control {
    padding-right: 40px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    padding: 14px 16px;
    transition: all 0.3s;
    background: #fafbfc;
}

.input-group-custom .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.2);
    background: white;
}

.input-group-custom .form-control::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
    color: #9ca3af;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
}

.clear-btn:hover {
    color: #ef4444;
    background: rgba(239,68,68,0.1);
}

.forgot-link {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 6px;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   BOTÓN DE LOGIN
   ══════════════════════════════════════════════════════════════ */
.btn-login {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 1rem;
    cursor: not-allowed;
    background-color: #e0e0e0;
    color: #999999;
    transition: all 0.3s;
    font-family: inherit;
    letter-spacing: 0.02em;
    text-align: center;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login.activo {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary);
    cursor: pointer;
    pointer-events: auto;
}

.btn-login.activo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 199, 44, 0.4);
}

.btn-login.activo:active {
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   ENLACES DEL LOGIN
   ══════════════════════════════════════════════════════════════ */
.register-link {
    color: #0043a9;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.2s;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.register-link:hover {
    background: rgba(0, 48, 87, 0.05);
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   BARRA DE SEGURIDAD
   ══════════════════════════════════════════════════════════════ */
.security-bar {
    background: var(--primary-dark);
    padding: 10px 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-info i {
    color: var(--secondary);
}

.ip-info {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.main-footer {
    background: var(--bg-white);
    padding: 24px 0 16px;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    background: rgba(0, 48, 87, 0.05);
    text-decoration: underline;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

.footer-logo {
    height: 28px;
    opacity: 0.7;
}

.footer-logo-sfc {
    height: 32px;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.datetime {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .main-content {
        padding: 24px 16px;
    }
    .login-card-header {
        padding: 24px 20px 16px;
    }
    .login-card-body {
        padding: 8px 20px 24px;
    }
    .hero-section {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .top-header {
        padding: 8px 0;
    }
    .logo-header {
        height: 30px;
    }
    .login-card {
        margin: 0;
    }
    .footer-links {
        justify-content: center;
    }
    .footer-logos {
        justify-content: center;
    }
    .footer-bottom .row > div {
        text-align: center !important;
    }
    .security-info {
        justify-content: center;
    }
    .ip-info {
        justify-content: center;
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-card-header h2 {
        font-size: 1.5rem;
    }
    .btn-login {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   ANIMACIONES
   ══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.5s ease-out;
}

.hero-section {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}