/* 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%);
}

/* Fondo principal con gradiente suave */
.bg-body-tertiary {
    background: var(--byg-gradient-light) !important;
}

/* Tarjeta principal mejorada */
.byg-card-enhanced {
    background: linear-gradient(145deg, #ffffff 0%, #fefeff 100%);
    border: 1px solid rgba(232, 7, 135, 0.15);
    box-shadow: 0 25px 50px -12px rgba(232, 7, 135, 0.15), 
                0 10px 20px -5px rgba(117, 16, 131, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

/* Sección del título con gradiente corporativo */
.byg-title-section {
    background: var(--byg-gradient) !important;
    color: white !important;
    border-radius: 24px 0 24px 24px;
    position: relative;
    overflow: hidden;
}

.byg-title-section h3 {
    color: white !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.byg-title-section p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.byg-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/img/bg/38.png');
    opacity: 0.08;
    pointer-events: none;
}

/* Logo container mejorado */
.byg-logo-container {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(232, 7, 135, 0.12);
    margin-bottom: 25px;
    border: 2px solid rgba(232, 7, 135, 0.1);
}

/* Elementos de características */
.byg-feature-item {
    background: rgba(232, 7, 135, 0.08);
    border: 1px solid rgba(232, 7, 135, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.byg-feature-item:hover {
    background: rgba(232, 7, 135, 0.12);
    transform: translateX(4px);
}

.byg-feature-icon {
    color: var(--byg-primary);
    font-size: 1.1em;
    margin-right: 10px;
}

/* 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: 14px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(232, 7, 135, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 7, 135, 0.35);
    background: linear-gradient(135deg, #ff0896 0%, #8611a0 100%) !important;
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* 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;
    }
}

/* Efectos hover adicionales */
.auth-form-box {
    transition: all 0.3s ease;
}

.auth-title-box {
    transition: all 0.3s ease;
}

/* Gradiente de fondo dinámico */
body {
    background: linear-gradient(45deg, 
        rgba(232, 7, 135, 0.03) 0%, 
        rgba(117, 16, 131, 0.03) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(232, 7, 135, 0.03) 75%,
        rgba(117, 16, 131, 0.03) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}