/* _content/GestionProjet/Components/Layout/LoginLayout.razor.rz.scp.css */
.login-page[b-2h1xrrwph0] {
    width: 100%;
    min-height: 100vh;
}

#blazor-error-ui[b-2h1xrrwph0] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-2h1xrrwph0] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* _content/GestionProjet/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-8elsdqpi4k] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8elsdqpi4k] {
    flex: 1;
}

.sidebar[b-8elsdqpi4k] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-8elsdqpi4k] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-8elsdqpi4k]  a, .top-row[b-8elsdqpi4k]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-8elsdqpi4k]  a:hover, .top-row[b-8elsdqpi4k]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-8elsdqpi4k]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-8elsdqpi4k] {
        justify-content: space-between;
    }

    .top-row[b-8elsdqpi4k]  a, .top-row[b-8elsdqpi4k]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-8elsdqpi4k] {
        flex-direction: row;
    }

    .sidebar[b-8elsdqpi4k] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-8elsdqpi4k] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-8elsdqpi4k]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-8elsdqpi4k], article[b-8elsdqpi4k] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-8elsdqpi4k] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-8elsdqpi4k] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.user-info[b-8elsdqpi4k] {
    margin-right: 15px;
    font-weight: 500;
    color: #333;
}

.user-role[b-8elsdqpi4k] {
    font-size: 0.85em;
    color: #666;
    margin-left: 4px;
}

.top-row .btn[b-8elsdqpi4k] {
    margin-left: 10px;
}
/* _content/GestionProjet/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-1dc4dj6r87] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-1dc4dj6r87] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-1dc4dj6r87] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-1dc4dj6r87] {
    font-size: 1.1rem;
}

.bi[b-1dc4dj6r87] {
    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-1dc4dj6r87] {
    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-1dc4dj6r87] {
    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-1dc4dj6r87] {
    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-1dc4dj6r87] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-1dc4dj6r87] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-1dc4dj6r87] {
        padding-bottom: 1rem;
    }

    .nav-item[b-1dc4dj6r87]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-section[b-1dc4dj6r87] {
    padding-top: 1rem !important;
    padding-bottom: 0.25rem !important;
}

.nav-section-title[b-1dc4dj6r87] {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-icon[b-1dc4dj6r87] {
    margin-right: 0.5rem;
}

.nav-item[b-1dc4dj6r87]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-1dc4dj6r87]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-1dc4dj6r87] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-1dc4dj6r87] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-1dc4dj6r87] {
        display: none;
    }

    .nav-scrollable[b-1dc4dj6r87] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/GestionProjet/Components/Pages/Home.razor.rz.scp.css */
/* ========================================
   TABLEAU DE BORD - STYLES
   ======================================== */

.dashboard[b-hijkd9po2m] {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Header */
.dashboard-header[b-hijkd9po2m] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.header-left h1[b-hijkd9po2m] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.welcome-text[b-hijkd9po2m] {
    color: #64748b;
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

.project-selector[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-selector label[b-hijkd9po2m] {
    font-weight: 600;
    color: #475569;
}

.project-selector select[b-hijkd9po2m] {
    padding: 0.5rem 1rem;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    min-width: 280px;
    cursor: pointer;
    transition: all 0.2s;
}

.project-selector select:hover[b-hijkd9po2m] {
    border-color: #94a3b8;
}

.project-selector select:focus[b-hijkd9po2m] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading */
.loading-container[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 1rem;
}

.spinner[b-hijkd9po2m] {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-hijkd9po2m 1s linear infinite;
}

@keyframes spin-b-hijkd9po2m {
    to { transform: rotate(360deg); }
}

/* Stats Cards */
.stats-cards[b-hijkd9po2m] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-hijkd9po2m] {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover[b-hijkd9po2m] {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.stat-card.projects[b-hijkd9po2m] { border-left-color: #3b82f6; }
.stat-card.tasks[b-hijkd9po2m] { border-left-color: #10b981; }
.stat-card.budget[b-hijkd9po2m] { border-left-color: #f59e0b; }
.stat-card.invoices[b-hijkd9po2m] { border-left-color: #8b5cf6; }

.stat-icon[b-hijkd9po2m] {
    font-size: 2rem;
}

.stat-content[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-hijkd9po2m] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-label[b-hijkd9po2m] {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.stat-mini[b-hijkd9po2m] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.badge-mini[b-hijkd9po2m] {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

.badge-mini.en-cours[b-hijkd9po2m] {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-mini.termines[b-hijkd9po2m] {
    background: #d1fae5;
    color: #059669;
}

.badge-mini.consomme[b-hijkd9po2m] {
    background: #fef3c7;
    color: #d97706;
}

/* Charts Row */
.charts-row[b-hijkd9po2m] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.chart-card[b-hijkd9po2m] {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.chart-card h3[b-hijkd9po2m] {
    margin: 0 0 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

/* Bar Chart */
.bar-chart[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bar-item[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bar-label[b-hijkd9po2m] {
    width: 90px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

.bar-container[b-hijkd9po2m] {
    flex: 1;
    height: 28px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill[b-hijkd9po2m] {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 30px;
}

.bar-fill span[b-hijkd9po2m] {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.bar-fill.attente[b-hijkd9po2m] { background: linear-gradient(90deg, #94a3b8, #64748b); }
.bar-fill.en-cours[b-hijkd9po2m] { background: linear-gradient(90deg, #60a5fa, #3b82f6); }
.bar-fill.pause[b-hijkd9po2m] { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.bar-fill.termine[b-hijkd9po2m] { background: linear-gradient(90deg, #34d399, #10b981); }
.bar-fill.annule[b-hijkd9po2m] { background: linear-gradient(90deg, #f87171, #ef4444); }

/* Budget Gauge */
.budget-gauge[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gauge-container[b-hijkd9po2m] {
    height: 40px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.gauge-fill[b-hijkd9po2m] {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 20px;
    transition: width 0.8s ease;
}

.gauge-text[b-hijkd9po2m] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
}

.gauge-legend[b-hijkd9po2m] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.legend-item[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #475569;
}

.legend-color[b-hijkd9po2m] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.previsionnel[b-hijkd9po2m] { background: #e2e8f0; }
.legend-color.consomme[b-hijkd9po2m] { background: #10b981; }
.legend-color.restant[b-hijkd9po2m] { background: #94a3b8; }

/* Donut Chart */
.donut-container[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.donut-chart[b-hijkd9po2m] {
    width: 150px;
    height: 150px;
}

.circular-chart[b-hijkd9po2m] {
    width: 100%;
    height: 100%;
}

.donut-segment[b-hijkd9po2m] {
    fill: none;
    stroke-width: 3.5;
    transform-origin: center;
}

.donut-segment.terminee[b-hijkd9po2m] { stroke: #10b981; }
.donut-segment.en-cours[b-hijkd9po2m] { stroke: #3b82f6; }
.donut-segment.non-demarre[b-hijkd9po2m] { stroke: #94a3b8; }
.donut-segment.annulee[b-hijkd9po2m] { stroke: #ef4444; }

.donut-center-text[b-hijkd9po2m] {
    font-size: 0.5rem;
    font-weight: 700;
    fill: #1e293b;
    text-anchor: middle;
}

.donut-legend[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-dot[b-hijkd9po2m] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.legend-dot.terminee[b-hijkd9po2m] { background: #10b981; }
.legend-dot.en-cours[b-hijkd9po2m] { background: #3b82f6; }
.legend-dot.non-demarre[b-hijkd9po2m] { background: #94a3b8; }
.legend-dot.annulee[b-hijkd9po2m] { background: #ef4444; }

/* Top Projects */
.top-projects[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.top-project-item[b-hijkd9po2m] {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
}

.project-info[b-hijkd9po2m] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.project-name[b-hijkd9po2m] {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.project-budget[b-hijkd9po2m] {
    font-size: 0.85rem;
    color: #64748b;
}

.project-progress[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar[b-hijkd9po2m] {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill[b-hijkd9po2m] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s;
}

.progress-fill.budget-low[b-hijkd9po2m] { background: #10b981; }
.progress-fill.budget-medium[b-hijkd9po2m] { background: #f59e0b; }
.progress-fill.budget-high[b-hijkd9po2m] { background: #f97316; }
.progress-fill.budget-over[b-hijkd9po2m] { background: #ef4444; }

.progress-text[b-hijkd9po2m] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    min-width: 35px;
}

/* Site Statistics */
.site-stats-section[b-hijkd9po2m] {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.site-stats-section h3[b-hijkd9po2m] {
    margin: 0 0 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
}

.site-stats-grid[b-hijkd9po2m] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}

.site-stat-card[b-hijkd9po2m] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid #3b82f6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.site-stat-card:hover[b-hijkd9po2m] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.site-header[b-hijkd9po2m] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.site-info[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-name[b-hijkd9po2m] {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
}

.site-city[b-hijkd9po2m] {
    font-size: 0.85rem;
    color: #64748b;
}

.site-count[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-count .count-value[b-hijkd9po2m] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.site-count .count-label[b-hijkd9po2m] {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
}

.site-budget[b-hijkd9po2m] {
    margin-bottom: 0.75rem;
}

.budget-bar-container[b-hijkd9po2m] {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.budget-bar-fill[b-hijkd9po2m] {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.budget-details[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.budget-details .budget-label[b-hijkd9po2m] {
    color: #64748b;
}

.budget-details .budget-value[b-hijkd9po2m] {
    font-weight: 600;
    color: #1e293b;
}

.budget-details .budget-percent[b-hijkd9po2m] {
    color: #64748b;
    font-size: 0.8rem;
}

.budget-details.consumed .budget-value[b-hijkd9po2m] {
    color: #059669;
}

.site-projets-status[b-hijkd9po2m] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.status-badge[b-hijkd9po2m] {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.en-cours[b-hijkd9po2m] {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge.termine[b-hijkd9po2m] {
    background: #d1fae5;
    color: #059669;
}

.status-badge.attente[b-hijkd9po2m] {
    background: #f1f5f9;
    color: #64748b;
}

/* Recent Projects */
.recent-section[b-hijkd9po2m] {
    margin-top: 1rem;
}

.recent-section h3[b-hijkd9po2m] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
}

.recent-projects[b-hijkd9po2m] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.recent-project-card[b-hijkd9po2m] {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.recent-project-card:hover[b-hijkd9po2m] {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.rp-header[b-hijkd9po2m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rp-name[b-hijkd9po2m] {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.rp-badge[b-hijkd9po2m] {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rp-badge.status-attente[b-hijkd9po2m] { background: #f1f5f9; color: #64748b; }
.rp-badge.status-en-cours[b-hijkd9po2m] { background: #dbeafe; color: #1d4ed8; }
.rp-badge.status-pause[b-hijkd9po2m] { background: #fef3c7; color: #d97706; }
.rp-badge.status-termine[b-hijkd9po2m] { background: #d1fae5; color: #059669; }
.rp-badge.status-annule[b-hijkd9po2m] { background: #fee2e2; color: #dc2626; }

.rp-details[b-hijkd9po2m] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rp-detail[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
}

.rp-progress[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mini-progress[b-hijkd9po2m] {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.mini-progress-fill[b-hijkd9po2m] {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
}

.mini-progress-text[b-hijkd9po2m] {
    font-size: 0.8rem;
    color: #64748b;
}

/* ========================================
   VUE PROJET UNIQUE
   ======================================== */

.project-dashboard[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-header-card[b-hijkd9po2m] {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 16px;
    padding: 1.75rem;
    color: white;
}

.ph-main[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.ph-main h2[b-hijkd9po2m] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.ph-badge[b-hijkd9po2m] {
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
}

.ph-description[b-hijkd9po2m] {
    margin: 0 0 1rem 0;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ph-meta[b-hijkd9po2m] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ph-meta-item[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Stats Row for Single Project */
.project-stats-row[b-hijkd9po2m] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.stat-circle-card[b-hijkd9po2m], .quick-stats-card[b-hijkd9po2m] {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-circle-card h4[b-hijkd9po2m], .quick-stats-card h4[b-hijkd9po2m] {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

.progress-circle-container[b-hijkd9po2m] {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.progress-circle[b-hijkd9po2m] {
    width: 120px;
    height: 120px;
}

.circle-bg[b-hijkd9po2m] {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3.5;
}

.circle-progress[b-hijkd9po2m] {
    fill: none;
    stroke: #10b981;
    stroke-width: 3.5;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dasharray 0.6s ease;
}

.progress-circle.budget-low .circle-progress[b-hijkd9po2m] { stroke: #10b981; }
.progress-circle.budget-medium .circle-progress[b-hijkd9po2m] { stroke: #f59e0b; }
.progress-circle.budget-high .circle-progress[b-hijkd9po2m] { stroke: #f97316; }
.progress-circle.budget-over .circle-progress[b-hijkd9po2m] { stroke: #ef4444; }

.circle-text[b-hijkd9po2m] {
    font-size: 0.4rem;
    font-weight: 700;
    fill: #1e293b;
    text-anchor: middle;
}

.circle-legend[b-hijkd9po2m] {
    font-size: 0.85rem;
    color: #64748b;
}

/* Quick Stats */
.quick-stats-grid[b-hijkd9po2m] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.qs-item[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.qs-icon[b-hijkd9po2m] {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.qs-value[b-hijkd9po2m] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.qs-label[b-hijkd9po2m] {
    font-size: 0.8rem;
    color: #64748b;
}

/* Task Breakdown */
.task-breakdown[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tb-item[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tb-label[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    font-size: 0.9rem;
    color: #475569;
}

.tb-dot[b-hijkd9po2m] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tb-dot.non-demarre[b-hijkd9po2m] { background: #94a3b8; }
.tb-dot.en-cours[b-hijkd9po2m] { background: #3b82f6; }
.tb-dot.terminee[b-hijkd9po2m] { background: #10b981; }
.tb-dot.annulee[b-hijkd9po2m] { background: #ef4444; }

.tb-bar-container[b-hijkd9po2m] {
    flex: 1;
    height: 20px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.tb-bar[b-hijkd9po2m] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s;
}

.tb-bar.non-demarre[b-hijkd9po2m] { background: #94a3b8; }
.tb-bar.en-cours[b-hijkd9po2m] { background: #3b82f6; }
.tb-bar.terminee[b-hijkd9po2m] { background: #10b981; }
.tb-bar.annulee[b-hijkd9po2m] { background: #ef4444; }

.tb-count[b-hijkd9po2m] {
    min-width: 30px;
    font-weight: 600;
    color: #334155;
    text-align: right;
}

/* Timeline */
.timeline-card[b-hijkd9po2m] {
    max-height: 400px;
    overflow-y: auto;
}

.task-timeline[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.task-timeline[b-hijkd9po2m]::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item[b-hijkd9po2m] {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    position: relative;
}

.timeline-marker[b-hijkd9po2m] {
    position: absolute;
    left: -1.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    font-size: 0.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline-content[b-hijkd9po2m] {
    flex: 1;
}

.timeline-header[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.timeline-order[b-hijkd9po2m] {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

.timeline-name[b-hijkd9po2m] {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.timeline-dates[b-hijkd9po2m] {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #64748b;
}

.timeline-item.tl-en-cours[b-hijkd9po2m] {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
}

.timeline-item.tl-terminee[b-hijkd9po2m] {
    background: #ecfdf5;
    border-left: 3px solid #10b981;
}

.timeline-item.tl-annulee[b-hijkd9po2m] {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    opacity: 0.7;
}

.timeline-more[b-hijkd9po2m] {
    text-align: center;
    padding: 0.75rem;
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

/* Invoices Section */
.invoices-section[b-hijkd9po2m] {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.invoices-section h3[b-hijkd9po2m] {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

.invoices-table[b-hijkd9po2m] {
    overflow-x: auto;
}

.invoices-table table[b-hijkd9po2m] {
    width: 100%;
    border-collapse: collapse;
}

.invoices-table th[b-hijkd9po2m] {
    text-align: left;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 2px solid #e2e8f0;
}

.invoices-table td[b-hijkd9po2m] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #334155;
}

.invoices-table .amount[b-hijkd9po2m] {
    font-weight: 600;
    color: #1e293b;
}

.invoice-badge[b-hijkd9po2m] {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.invoice-badge.paid[b-hijkd9po2m] {
    background: #d1fae5;
    color: #059669;
}

.invoice-badge.pending[b-hijkd9po2m] {
    background: #fef3c7;
    color: #d97706;
}

/* Team Section */
.team-section[b-hijkd9po2m] {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.team-section h3[b-hijkd9po2m] {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

.team-cards[b-hijkd9po2m] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.team-card[b-hijkd9po2m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
}

.team-avatar[b-hijkd9po2m] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.team-info[b-hijkd9po2m] {
    display: flex;
    flex-direction: column;
}

.team-name[b-hijkd9po2m] {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.team-role[b-hijkd9po2m] {
    font-size: 0.8rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header[b-hijkd9po2m] {
        flex-direction: column;
    }

    .project-selector select[b-hijkd9po2m] {
        min-width: 100%;
    }

    .charts-row[b-hijkd9po2m] {
        grid-template-columns: 1fr;
    }

    .donut-container[b-hijkd9po2m] {
        flex-direction: column;
        align-items: center;
    }

    .ph-meta[b-hijkd9po2m] {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* _content/GestionProjet/Components/Pages/Login.razor.rz.scp.css */
.login-container[b-oghxt3xmbq] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    padding: 20px;
}

.login-card[b-oghxt3xmbq] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    animation: fadeIn-b-oghxt3xmbq 0.5s ease-out;
}

@keyframes fadeIn-b-oghxt3xmbq {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header[b-oghxt3xmbq] {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2[b-oghxt3xmbq] {
    color: #1e3c72;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p[b-oghxt3xmbq] {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.form-group[b-oghxt3xmbq] {
    margin-bottom: 20px;
}

.form-group label[b-oghxt3xmbq] {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-control[b-oghxt3xmbq] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus[b-oghxt3xmbq] {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.1);
}

.form-control[b-oghxt3xmbq]::placeholder {
    color: #adb5bd;
}

.btn-login[b-oghxt3xmbq] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover:not(:disabled)[b-oghxt3xmbq] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.4);
}

.btn-login:disabled[b-oghxt3xmbq] {
    opacity: 0.7;
    cursor: not-allowed;
}

.alert[b-oghxt3xmbq] {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-danger[b-oghxt3xmbq] {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.validation-message[b-oghxt3xmbq] {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.spinner-border-sm[b-oghxt3xmbq] {
    width: 16px;
    height: 16px;
}

