/* 1. Reset y Limpieza Total */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    outline: none !important;
    -webkit-tap-highlight-color: transparent; 
}

body, header, footer, .login-card-double, button {
    -webkit-user-select: none;
    user-select: none;
}

body {
    background: radial-gradient(circle at top, #112240 0%, #0A192F 100%); 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* 2. Barra Superior */
.top-navbar {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background-color: #f4f4f4; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); 
    z-index: 10;
}

.top-navbar .logo {
    color: #0A192F; 
    font-size: 13px; 
    font-weight: 800; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
}

.top-navbar .nav-link {
    color: #0A192F; 
    text-decoration: none;
    font-size: 14px; 
    font-weight: 700; 
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 3. Tarjeta Doble con Animación */
.login-container {
    width: 95%;
    max-width: 1050px;
    padding: 20px;
    margin-top: -50px;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.security-banner {
    color: #D4AF37; 
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.login-card-double {
    background-color: #f4f4f4; 
    border-radius: 24px; 
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.6);
}

.login-section {
    padding: 50px 60px;
    border-right: 1px solid #ddd;
}

.welcome-title {
    font-family: 'Georgia', 'Times New Roman', serif; 
    font-size: 34px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.subtitle {
    color: #666; 
    font-size: 14px;
    margin-bottom: 30px;
}

/* 4. Inputs y Botón */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
    user-select: text !important;
}

.input-group input:focus {
    border-color: #0A192F; 
    border-width: 2px;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #1a1a1a;
}

.btn-continuar {
    background-color: #1a1a1a; 
    color: #D4AF37; 
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-continuar:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 5. Sección de Información */
.info-section {
    padding: 50px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.info-header i { color: #D4AF37; font-size: 20px; }

.info-section p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* 6. Footer Corporativo Final */
.corporate-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #050d1a;
    padding: 25px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 80%;
}

.footer-brand { color: #D4AF37; font-weight: 800; font-size: 14px; }

.footer-text { font-size: 11px; color: rgba(255, 255, 255, 0.4); }

.footer-links a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 11px; }

.separator { color: rgba(255, 255, 255, 0.2); margin: 0 8px; }

.footer-social { display: flex; gap: 25px; }

.social-icon { color: #ffffff; font-size: 26px; transition: all 0.3s ease; opacity: 0.7; }

.social-icon:hover { opacity: 1; transform: translateY(-3px); }

.social-icon:hover .fa-facebook { color: #1877F2; }
.social-icon:hover .fa-whatsapp { color: #25D366; }