/* 🎨 Markaribe Travel - Branding CSS */

/* Optimizaciones específicas para el logo */
.brand-logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Mejoras para el sidebar */
.sidebar .brand-logo {
    margin-bottom: 0.5rem;
}

/* Optimización para páginas de autenticación */
.login-card .brand-logo,
.logout-card .brand-logo {
    margin-bottom: 1.5rem;
}

/* Animación sutil para el branding */
.brand-name,
.brand-tagline {
    transition: all 0.3s ease;
}

.brand-travel {
    color: #F6C145;
    font-style: italic;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1em;
}

/* Mejoras para dispositivos móviles */
@media (max-width: 576px) {
    .brand-logo {
        margin-bottom: 0.5rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
    }
}

/* Optimización para tablets */
@media (min-width: 577px) and (max-width: 768px) {
    .brand-logo {
        margin-bottom: 0.75rem;
    }
}

/* Mejoras para pantallas grandes */
@media (min-width: 1200px) {
    .brand-logo {
        max-width: 220px;
    }
}

/* 🎯 Estilos para la barra de progreso del dashboard */
.progress-container {
    position: relative;
    width: 100%;
}

.progress {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid rgba(255,255,255,0.3);
}

.progress-bar {
    transition: width 0.6s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    min-width: 2em;
}

.progress-text {
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    z-index: 10;
    position: relative;
}

/* Colores específicos para cada estado */
.progress-bar.bg-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.progress-bar.bg-warning {
    background: linear-gradient(45deg, #ffc107, #e0a800);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.progress-bar.bg-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Animación de carga para porcentajes bajos */
.progress-bar.bg-danger {
    animation: pulse-danger 2s infinite;
}

@keyframes pulse-danger {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Efecto de brillo para porcentajes altos */
.progress-bar.bg-success {
    animation: shine-success 3s infinite;
}

@keyframes shine-success {
    0% { background-position: -100px; }
    100% { background-position: 200px; }
}

/* Responsive para la barra de progreso */
@media (max-width: 576px) {
    .progress {
        height: 20px !important;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .progress {
        height: 22px !important;
    }
}

/* 🎛️ Estilos para los filtros de ventas */
.filtros-ventas {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.filtros-ventas .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.filtros-ventas .form-select,
.filtros-ventas .form-control {
    border: 1px solid rgba(255,255,255,0.3);
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filtros-ventas .form-select:focus,
.filtros-ventas .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    background-color: rgba(255,255,255,0.15);
}

.filtros-ventas .form-select option {
    background-color: #2c3e50;
    color: white;
}

/* Botones del header de ventas */
.card-header .d-flex .gap-2 {
    gap: 0.5rem !important;
}

.card-header .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Botón Nueva Venta con colores Markaribe */
.card-header .btn-accent {
    background: linear-gradient(135deg, var(--markaribe-accent) 0%, #f8d571 100%);
    color: var(--markaribe-primary);
    border: none;
    box-shadow: 0 2px 4px rgba(246, 193, 69, 0.3);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.card-header .btn-accent:hover {
    background: linear-gradient(135deg, var(--markaribe-primary) 0%, var(--markaribe-secondary) 100%);
    color: var(--markaribe-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(1, 57, 116, 0.4);
}

/* Botón de filtros */
.btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    color: white;
    transform: translateY(-1px);
}

/* Animación para el collapse de filtros */
.collapse {
    transition: all 0.3s ease;
}

/* Responsive para filtros */
@media (max-width: 576px) {
    .filtros-ventas .row {
        margin: 0;
    }
    
    .filtros-ventas .col-md-3 {
        margin-bottom: 1rem;
    }
} 