/* ByG-DTE & ByG-Reservas - Estilos Corporativos para Login */
/* Colores oficiales: Primary Pink #e80787, Primary Purple #751083 */

:root {
    --byg-primary: #e80787;        /* Primary Pink - Main brand color */
    --byg-secondary: #751083;      /* Primary Purple - Secondary brand color */
    --byg-accent: #b5428a;         /* Intermediate shade between pink and purple */
    --byg-black: #000000;          /* Black for text and borders */
    --byg-gradient: linear-gradient(135deg, #e80787 0%, #751083 100%);
    --byg-gradient-soft: linear-gradient(135deg, rgba(232, 7, 135, 0.1) 0%, rgba(117, 16, 131, 0.1) 100%);
    --byg-gradient-light: linear-gradient(135deg, rgba(232, 7, 135, 0.05) 0%, rgba(117, 16, 131, 0.05) 100%);
}

/* ============================================================
   Layout dividido a pantalla completa: panel de marca (izquierda,
   burdeo corporativo degradado a negro) + panel de formulario
   (derecha, fondo claro con card flotante).
   ============================================================ */
.byg-split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.byg-split-left {
    flex: 0 0 42%;
    max-width: 42%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--byg-secondary) 0%, #2b0630 50%, #000000 100%);
}

.byg-split-right {
    flex: 1 1 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f6f8;
    padding: 40px 20px;
}

.byg-form-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
}

@media (max-width: 992px) {
    .byg-split-left {
        display: none;
    }
    .byg-split-right {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Campos de formulario mejorados */
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 18px 14px 45px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: var(--byg-primary);
    box-shadow: 0 0 0 4px rgba(232, 7, 135, 0.1);
    background: white;
    outline: none;
}

.form-icon-container {
    position: relative;
}

.form-icon {
    color: var(--byg-accent) !important;
    font-size: 16px !important;
}

/* Botón principal con gradiente corporativo */
.btn-primary {
    background: var(--byg-gradient) !important;
    border: none !important;
    border-radius: 12px;
    padding: 13px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.92;
}

/* Divisor mejorado */
.byg-divider {
    background: var(--byg-gradient);
    height: 3px;
    border-radius: 2px;
    position: relative;
    margin: 30px 0;
}

.divider-content-center {
    background: var(--byg-gradient) !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(232, 7, 135, 0.2);
}

/* Enlaces del footer */
.byg-footer-links a {
    color: var(--byg-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.byg-footer-links a:hover {
    color: var(--byg-secondary);
    text-decoration: underline;
}

/* Título y subtítulos */
.text-body-highlight {
    color: var(--byg-black) !important;
    font-weight: 700;
}

h3.text-body-highlight {
    background: var(--byg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Alertas mejoradas */
.alert-danger {
    border: 2px solid rgba(232, 7, 135, 0.3);
    background: rgba(232, 7, 135, 0.08);
    color: var(--byg-secondary);
    border-radius: 12px;
}

/* Modo oscuro */
.dark .byg-card-enhanced {
    background: linear-gradient(145deg, #1f2937 0%, #374151 100%);
    border-color: rgba(232, 7, 135, 0.25);
}

.dark .form-control {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(232, 7, 135, 0.2);
    color: #f9fafb;
}

.dark .form-control:focus {
    background: rgba(31, 41, 55, 1);
}

/* Animaciones suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.byg-animate {
    animation: fadeInUp 0.8s ease-out;
}

.byg-animate-slide {
    animation: slideInLeft 0.8s ease-out;
}

/* Mejoras responsivas */
@media (max-width: 768px) {
    .byg-card-enhanced {
        margin: 10px;
        border-radius: 20px;
    }
    
    .btn-primary {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .form-control {
        padding: 12px 16px 12px 40px;
        font-size: 14px;
    }
}

/* Fondo estático y sobrio */
html, body {
    height: 100%;
    margin: 0;
    background: #f7f6f8;
}