@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-w5df0bzfin] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-w5df0bzfin] {
    flex: 1;
}

.sidebar[b-w5df0bzfin] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-w5df0bzfin] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-w5df0bzfin]  a, .top-row[b-w5df0bzfin]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-w5df0bzfin]  a:hover, .top-row[b-w5df0bzfin]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-w5df0bzfin]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-w5df0bzfin] {
        justify-content: space-between;
    }

    .top-row[b-w5df0bzfin]  a, .top-row[b-w5df0bzfin]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-w5df0bzfin] {
        flex-direction: row;
    }

    .sidebar[b-w5df0bzfin] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-w5df0bzfin] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-w5df0bzfin]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-w5df0bzfin], article[b-w5df0bzfin] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3z1jlgaelh] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-3z1jlgaelh] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-3z1jlgaelh] {
    font-size: 1.1rem;
}

.bi[b-3z1jlgaelh] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-3z1jlgaelh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-3z1jlgaelh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-3z1jlgaelh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-3z1jlgaelh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-3z1jlgaelh] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3z1jlgaelh] {
        padding-bottom: 1rem;
    }

    .nav-item[b-3z1jlgaelh]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-3z1jlgaelh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-3z1jlgaelh]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-3z1jlgaelh] {
        display: none;
    }

    .collapse[b-3z1jlgaelh] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-3z1jlgaelh] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Dashboards/DashboardDaily.razor.rz.scp.css */
/* === Ultra Modern Dashboard Daily Styles === */

/* Date picker and apply button refinements */
.date-controls-stack[b-hql0amr6sk] {
  gap: 12px;
}

.date-picker[b-hql0amr6sk] {
  min-width: 160px;
}

.apply-btn[b-hql0amr6sk] {
  min-width: 140px;
  height: 40px;
}

.dashboard-daily-container[b-hql0amr6sk] {
    min-height: 100vh;
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: #1f2937;
}

/* Header Section */
.daily-hero-section[b-hql0amr6sk] {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-bottom: 1px solid #f3f4f6;
    margin: -24px -24px 0 -24px;
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}

.daily-hero-section[b-hql0amr6sk]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content[b-hql0amr6sk] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-title[b-hql0amr6sk] {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 1.875rem !important;
    line-height: 1.2;
    margin: 0;
}

.dashboard-subtitle[b-hql0amr6sk] {
    color: #64748b !important;
    font-weight: 400 !important;
    font-size: 0.875rem !important;
    margin: 0;
}

/* Date Controls */
.date-controls[b-hql0amr6sk] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.date-controls:hover[b-hql0amr6sk] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.date-nav-btn[b-hql0amr6sk] {
    color: #64748b !important;
    background: transparent !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    transition: all 0.2s ease;
}

.date-nav-btn:hover[b-hql0amr6sk] {
    background: #f1f5f9 !important;
    border-color: #cbd5e1;
    color: #334155 !important;
}

.current-date[b-hql0amr6sk] {
    text-align: center;
    min-width: 140px;
}

.date-text[b-hql0amr6sk] {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.date-number[b-hql0amr6sk] {
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 0.875rem !important;
    margin: 0;
}

/* Loading Section */
.loading-section[b-hql0amr6sk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: white;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Actions Bar */
.actions-bar[b-hql0amr6sk] {
    margin: 24px 0;
}

.actions-bar .mud-paper[b-hql0amr6sk] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 16px 20px;
}

.search-field[b-hql0amr6sk] {
    min-width: 300px;
}

.search-field .mud-input[b-hql0amr6sk] {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.search-field .mud-input:focus[b-hql0amr6sk] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.refresh-btn[b-hql0amr6sk] {
    background: #3b82f6 !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: none;
}

.refresh-btn:hover[b-hql0amr6sk] {
    background: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Dashboard Content */
.dashboard-content[b-hql0amr6sk] {
    padding-top: 24px;
}

/* Section Headers */
.section-header[b-hql0amr6sk] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.section-title[b-hql0amr6sk] {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0;
}

.section-icon[b-hql0amr6sk] {
    color: #64748b;
    font-size: 1.25rem !important;
}

/* KPI Section */
.kpi-section[b-hql0amr6sk] {
    margin: 32px 0 40px 0;
}

.daily-kpi-card[b-hql0amr6sk] {
    height: 100%;
}

.kpi-paper[b-hql0amr6sk] {
    height: 132px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.kpi-paper:hover[b-hql0amr6sk] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #cbd5e1;
}

.kpi-paper.gradient-primary[b-hql0amr6sk]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.kpi-paper.gradient-success[b-hql0amr6sk]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
}

.kpi-paper.gradient-warning[b-hql0amr6sk]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.kpi-content[b-hql0amr6sk] {
    position: relative;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kpi-icon-container[b-hql0amr6sk] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-paper.gradient-primary .kpi-icon-container[b-hql0amr6sk] {
    background: rgba(59, 130, 246, 0.1);
}

.kpi-paper.gradient-success .kpi-icon-container[b-hql0amr6sk] {
    background: rgba(16, 185, 129, 0.1);
}

.kpi-paper.gradient-warning .kpi-icon-container[b-hql0amr6sk] {
    background: rgba(245, 158, 11, 0.1);
}

.kpi-icon[b-hql0amr6sk] {
    font-size: 20px !important;
}

.kpi-paper.gradient-primary .kpi-icon[b-hql0amr6sk] {
    color: #3b82f6;
}

.kpi-paper.gradient-success .kpi-icon[b-hql0amr6sk] {
    color: #10b981;
}

.kpi-paper.gradient-warning .kpi-icon[b-hql0amr6sk] {
    color: #f59e0b;
}

.kpi-details[b-hql0amr6sk] {
    flex: 1;
    padding-right: 50px;
}

.kpi-label[b-hql0amr6sk] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.kpi-value[b-hql0amr6sk] {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1;
    margin: 0;
}

.kpi-subtitle[b-hql0amr6sk] {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 2px;
}

.kpi-trend[b-hql0amr6sk] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 8px;
}

.trend-up[b-hql0amr6sk] {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.trend-down[b-hql0amr6sk] {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.trend-stable[b-hql0amr6sk] {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}

/* Modern Alert */
.modern-alert[b-hql0amr6sk] {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.15);
}

/* Paper Sections */
.mud-paper[b-hql0amr6sk] {
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
}

.mud-paper:hover[b-hql0amr6sk] {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
}

/* Cards */
.mud-card[b-hql0amr6sk] {
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
}

.mud-card:hover[b-hql0amr6sk] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}

/* Table Styling */
.mud-table[b-hql0amr6sk] {
    border-radius: 12px;
    overflow: hidden;
}

.mud-table-head[b-hql0amr6sk] {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.mud-table-row:hover[b-hql0amr6sk] {
    background-color: rgba(103, 126, 234, 0.05) !important;
}

/* Progress Linear */
.mud-progress-linear[b-hql0amr6sk] {
    border-radius: 8px;
    height: 8px !important;
    background-color: rgba(255, 255, 255, 0.3);
}

.mud-progress-linear .mud-progress-linear-bar[b-hql0amr6sk] {
    border-radius: 8px;
}

/* Buttons */
.mud-button-filled-primary[b-hql0amr6sk] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(103, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.mud-button-filled-primary:hover[b-hql0amr6sk] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4);
}

/* Chips */
.mud-chip[b-hql0amr6sk] {
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Image Styling */
.mud-image[b-hql0amr6sk] {
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mud-image:hover[b-hql0amr6sk] {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn-b-hql0amr6sk {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideUp-b-hql0amr6sk {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in[b-hql0amr6sk] {
    animation: fadeIn-b-hql0amr6sk 1s ease forwards;
}

.slide-up[b-hql0amr6sk] {
    animation: slideUp-b-hql0amr6sk 0.8s ease forwards;
}

/* Optimisations globales pour la cohérence */
.mud-typography[b-hql0amr6sk] {
    color: #1f2937 !important;
}

.mud-input-label[b-hql0amr6sk] {
    color: #64748b !important;
}

/* Amélioration des ombres pour depth moderne */
.elevation-4[b-hql0amr6sk] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.elevation-8[b-hql0amr6sk] {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Responsive Design */
@media (max-width: 960px) {
    .daily-hero-section[b-hql0amr6sk] {
        margin: -16px -16px 24px -16px;
    }
    
    .date-controls[b-hql0amr6sk] {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .current-date[b-hql0amr6sk] {
        min-width: 100px;
    }
    
    .search-field[b-hql0amr6sk] {
        min-width: 250px;
    }
    
    .kpi-paper[b-hql0amr6sk] {
        height: 140px;
    }
    
    .kpi-value[b-hql0amr6sk] {
        font-size: 2rem !important;
    }
    
    .kpi-content[b-hql0amr6sk] {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .search-field[b-hql0amr6sk] {
        min-width: 200px;
    }
    
    .actions-bar .mud-paper[b-hql0amr6sk] {
        flex-direction: column !important;
        gap: 16px;
    }
    
    .actions-bar .d-flex[b-hql0amr6sk] {
        width: 100%;
        justify-content: center;
    }
    
    .kpi-paper[b-hql0amr6sk] {
        height: 120px;
    }
    
    .kpi-value[b-hql0amr6sk] {
        font-size: 1.8rem !important;
    }
    
    .kpi-content[b-hql0amr6sk] {
        padding: 16px;
    }
    
    .date-controls[b-hql0amr6sk] {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Custom Scrollbar */
[b-hql0amr6sk]::-webkit-scrollbar {
    width: 8px;
}

[b-hql0amr6sk]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

[b-hql0amr6sk]::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

[b-hql0amr6sk]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}
