/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-hi2b2leeza] {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;      /* no horizontal scroll on page level */
}

main[b-hi2b2leeza] {
    flex: 1;
    min-width: 0;            /* allow flex child to shrink below content size */
    overflow-x: hidden;
}

.top-row[b-hi2b2leeza] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-hi2b2leeza]  a, .top-row[b-hi2b2leeza]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-hi2b2leeza]  a:hover, .top-row[b-hi2b2leeza]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-hi2b2leeza]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ?? Mobile top bar ?? */
.mobile-topbar[b-hi2b2leeza] {
    display: none;
}

/* ?? Mobile backdrop – hidden by default, shown via .show class ?? */
.mobile-backdrop[b-hi2b2leeza] {
    display: none;
}

.mobile-backdrop.show[b-hi2b2leeza] {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 1099;
    animation: backdropFadeIn-b-hi2b2leeza 0.2s ease;
}

/* ?? Desktop (? 768px) ?? */
@media (min-width: 768px) {
    .page[b-hi2b2leeza] {
        flex-direction: row;
    }

    .sidebar[b-hi2b2leeza] {
        width: 260px;
        height: 100vh;
        position: fixed;   /* fixed to viewport – never scrolls */
        top: 0;
        left: 0;
        flex-shrink: 0;
        z-index: 10;
    }

    main[b-hi2b2leeza] {
        margin-left: 260px;   /* push content past the fixed sidebar */
    }

    .top-row[b-hi2b2leeza] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-hi2b2leeza]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-hi2b2leeza], article[b-hi2b2leeza] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    article[b-hi2b2leeza] {
        padding-top: 80px !important;
    }
}

/* ?? Mobile (< 768px) ?? */
@media (max-width: 767.98px) {
    .mobile-topbar[b-hi2b2leeza] {
        display: flex;
        align-items: center;
        gap: 12px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #fff;
        box-shadow: 0 2px 12px rgba(28,166,221,0.10);
        z-index: 1100;
        padding: 0 16px;
    }

    .mobile-hamburger[b-hi2b2leeza] {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #0B4A6F;
        cursor: pointer;
        padding: 4px 6px;
        border-radius: 8px;
        line-height: 1;
        flex-shrink: 0;
        transition: background 0.15s;
    }

    .mobile-hamburger:hover[b-hi2b2leeza] {
        background: #e6f7fd;
        color: #1CA6DD;
    }

    .mobile-topbar-logo[b-hi2b2leeza] {
        height: 36px;
        width: auto;
        object-fit: contain;
    }

    .sidebar[b-hi2b2leeza] {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 260px !important;
        z-index: 1100 !important;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar.mobile-open[b-hi2b2leeza] {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    }

    main[b-hi2b2leeza] {
        padding-top: 56px;
        width: 100%;
    }

    article[b-hi2b2leeza] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1.5rem !important;
    }
}

/* ?? Tablet (768px – 1024px): narrow sidebar ?? */
@media (min-width: 768px) and (max-width: 1024px) {
    .sidebar[b-hi2b2leeza] {
        width: 220px !important;
    }

    main[b-hi2b2leeza] {
        margin-left: 220px;   /* match narrower sidebar */
    }
}

#blazor-error-ui[b-hi2b2leeza] {
    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-hi2b2leeza] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@keyframes backdropFadeIn-b-hi2b2leeza {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Language selector ───────────────────────────────────────────── */

/* Desktop: always fixed top-right, hidden only on mobile */
.desktop-lang-fixed[b-hi2b2leeza] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1150;
    pointer-events: auto;
}

/* Mobile: hide the fixed version, show the one inside the topbar */
@media (max-width: 767.98px) {
    .desktop-lang-fixed[b-hi2b2leeza] { display: none; }

    .topbar-lang[b-hi2b2leeza] {
        display: flex;
        align-items: center;
        margin-left: auto;
        flex-shrink: 0;
    }
}

/* Desktop: hide the topbar version */
@media (min-width: 768px) {
    .topbar-lang[b-hi2b2leeza] { display: none; }
}

.language-selector-fixed[b-hi2b2leeza] { display: none; }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-rr3u7d7a24] {
    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-rr3u7d7a24] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-rr3u7d7a24] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-rr3u7d7a24] {
    font-size: 1.1rem;
}

.bi[b-rr3u7d7a24] {
    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-rr3u7d7a24] {
    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-rr3u7d7a24] {
    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-rr3u7d7a24] {
    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-rr3u7d7a24] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-rr3u7d7a24] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-rr3u7d7a24] {
        padding-bottom: 1rem;
    }

    .nav-item[b-rr3u7d7a24]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-rr3u7d7a24]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-rr3u7d7a24]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-rr3u7d7a24] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-rr3u7d7a24] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-rr3u7d7a24] {
        display: none;
    }

    .nav-scrollable[b-rr3u7d7a24] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.logout-fade[b-rr3u7d7a24] {
    animation: fadeOut-b-rr3u7d7a24 0.3s ease-out forwards !important;
}

@keyframes fadeOut-b-rr3u7d7a24 {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeSlideIn-b-rr3u7d7a24 {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nw3td9rr0d],
.components-reconnect-repeated-attempt-visible[b-nw3td9rr0d],
.components-reconnect-failed-visible[b-nw3td9rr0d],
.components-pause-visible[b-nw3td9rr0d],
.components-resume-failed-visible[b-nw3td9rr0d],
.components-rejoining-animation[b-nw3td9rr0d] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-retrying[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-failed[b-nw3td9rr0d],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-nw3td9rr0d] {
    display: block;
}


#components-reconnect-modal[b-nw3td9rr0d] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-nw3td9rr0d 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-nw3td9rr0d 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-nw3td9rr0d 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-nw3td9rr0d]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-nw3td9rr0d 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-nw3td9rr0d {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-nw3td9rr0d {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-nw3td9rr0d {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-nw3td9rr0d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-nw3td9rr0d] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-nw3td9rr0d] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-nw3td9rr0d] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-nw3td9rr0d] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-nw3td9rr0d] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-nw3td9rr0d] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-nw3td9rr0d 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-nw3td9rr0d] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-nw3td9rr0d {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/CompletedTasks.razor.rz.scp.css */
/* ?? Page container ??????????????????????????????????????????????? */
.ct-container[b-9eq4c4b3pi] {
    padding: 0 16px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ?? Header ??????????????????????????????????????????????????????? */
.ct-header[b-9eq4c4b3pi] {
    text-align: center;
    margin-bottom: 24px;
}

.ct-header h1[b-9eq4c4b3pi] {
    color: #28a745;
    font-size: 2rem;
    margin: 0 0 6px 0;
}

.ct-header p[b-9eq4c4b3pi] {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

/* ?? Filter bar ??????????????????????????????????????????????????? */
.ct-filter-bar[b-9eq4c4b3pi] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    background: #f9fcfe;
    border: 1px solid #e6f2fa;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.ct-filter-group[b-9eq4c4b3pi] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0B4A6F;
}

.ct-filter-group label[b-9eq4c4b3pi] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ct-filter-input[b-9eq4c4b3pi] {
    padding: 7px 11px;
    border: 2px solid #e6f2fa;
    border-radius: 7px;
    font-size: 0.9rem;
    color: #0B4A6F;
    background: #fff;
    min-width: 180px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.ct-filter-input:focus[b-9eq4c4b3pi] {
    outline: none;
    border-color: #28a745;
}

.ct-date-input[b-9eq4c4b3pi] { min-width: 150px; }

.ct-filter-select[b-9eq4c4b3pi] { cursor: pointer; min-width: 180px; }

.ct-btn-clear[b-9eq4c4b3pi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-end;
    white-space: nowrap;
}

.ct-btn-clear:hover[b-9eq4c4b3pi] { background: #ddd; }

/* ?? Result count ????????????????????????????????????????????????? */
.ct-result-count[b-9eq4c4b3pi] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ?? Loading ??????????????????????????????????????????????????????? */
.ct-loading[b-9eq4c4b3pi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.ct-spinner-ring[b-9eq4c4b3pi] {
    width: 48px;
    height: 48px;
    border: 4px solid #e6f2fa;
    border-top-color: #28a745;
    border-radius: 50%;
    animation: ct-spin-b-9eq4c4b3pi 0.9s linear infinite;
    margin-bottom: 16px;
}

.ct-loading-text[b-9eq4c4b3pi] {
    color: #28a745;
    font-weight: 600;
    font-size: 1rem;
}

@keyframes ct-spin-b-9eq4c4b3pi { to { transform: rotate(360deg); } }

/* ?? Empty state ??????????????????????????????????????????????????? */
.ct-empty[b-9eq4c4b3pi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    color: #aaa;
    gap: 12px;
}

.ct-empty i[b-9eq4c4b3pi] { font-size: 3rem; }
.ct-empty p[b-9eq4c4b3pi] { font-size: 1rem; font-weight: 500; margin: 0; }

/* ?? Task list ????????????????????????????????????????????????????? */
.ct-task-list[b-9eq4c4b3pi] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ?? Task card ????????????????????????????????????????????????????? */
.ct-task-card[b-9eq4c4b3pi] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    background: #f6fff8;
    border: 2px solid #c3e6cb;
    border-left: 5px solid #28a745;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.15s, border-color 0.2s;
}

.ct-task-card:hover[b-9eq4c4b3pi] {
    box-shadow: 0 4px 14px rgba(40,167,69,0.15);
    transform: translateY(-1px);
    border-color: #28a745;
}

.ct-task-left[b-9eq4c4b3pi] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-task-title[b-9eq4c4b3pi] {
    font-size: 1rem;
    font-weight: 700;
    color: #0B4A6F;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
}

.ct-done-icon[b-9eq4c4b3pi] {
    color: #28a745;
    font-size: 1.05em;
    flex-shrink: 0;
}

.ct-task-worker[b-9eq4c4b3pi] {
    font-size: 0.82rem;
    color: #1CA6DD;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ct-task-desc[b-9eq4c4b3pi] {
    font-size: 0.85rem;
    color: #777;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 500px;
}

.ct-task-right[b-9eq4c4b3pi] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    min-width: 120px;
}

.ct-task-date[b-9eq4c4b3pi] {
    font-size: 0.82rem;
    color: #0B4A6F;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.ct-badge[b-9eq4c4b3pi] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ct-badge-allday[b-9eq4c4b3pi]  { background: #fff3cd; color: #7a5c00; }
.ct-badge-duration[b-9eq4c4b3pi] { background: #e6f2fa; color: #0B4A6F; }

.ct-completed-at[b-9eq4c4b3pi] {
    font-size: 0.78rem;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-weight: 600;
}

/* ?? Modal ????????????????????????????????????????????????????????? */
.ct-modal-overlay[b-9eq4c4b3pi] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.ct-modal[b-9eq4c4b3pi] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: ct-slide-in-b-9eq4c4b3pi 0.25s ease;
    overflow: hidden;
}

@keyframes ct-slide-in-b-9eq4c4b3pi {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.ct-modal-header[b-9eq4c4b3pi] {
    padding: 18px 22px;
    border-bottom: 1px solid #e6f2fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.ct-modal-header h2[b-9eq4c4b3pi] {
    margin: 0;
    font-size: 1.2rem;
    color: #0B4A6F;
    display: flex;
    align-items: center;
    flex: 1;
    padding-right: 12px;
    word-break: break-word;
}

.ct-modal-close[b-9eq4c4b3pi] {
    background: none;
    border: none;
    color: #1CA6DD;
    font-size: 1.3rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.ct-modal-close:hover[b-9eq4c4b3pi] { background: #f0f0f0; }

.ct-modal-body[b-9eq4c4b3pi] {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
}

.ct-modal-footer[b-9eq4c4b3pi] {
    padding: 14px 22px;
    border-top: 1px solid #e6f2fa;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.ct-btn-cancel[b-9eq4c4b3pi] {
    background: #f0f0f0;
    color: #0B4A6F;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ct-btn-cancel:hover[b-9eq4c4b3pi] { background: #ddd; }

/* ?? Detail grid (modal) ??????????????????????????????????????????? */
.ct-detail-grid[b-9eq4c4b3pi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    background: #f9fcfe;
    border: 1px solid #e6f2fa;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

@media (max-width: 500px) { .ct-detail-grid[b-9eq4c4b3pi] { grid-template-columns: 1fr; } }

.ct-detail-item[b-9eq4c4b3pi] { display: flex; flex-direction: column; gap: 2px; }

.ct-detail-label[b-9eq4c4b3pi] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1CA6DD;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ct-detail-value[b-9eq4c4b3pi] { font-size: 0.93rem; color: #0B4A6F; font-weight: 500; }

.ct-detail-box[b-9eq4c4b3pi] {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.ct-detail-box-instructions[b-9eq4c4b3pi] {
    background: #f0f8ff;
    border-color: #cce5f5;
}

.ct-detail-box-completed[b-9eq4c4b3pi] {
    background: #f6fff8;
    border-color: #b8dfc9;
}

.ct-detail-box-label[b-9eq4c4b3pi] {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #856404;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.ct-detail-box-instructions .ct-detail-box-label[b-9eq4c4b3pi] { color: #0B4A6F; }
.ct-detail-box-completed .ct-detail-box-label[b-9eq4c4b3pi]    { color: #155724; }

.ct-detail-box p[b-9eq4c4b3pi] {
    margin: 0;
    color: #555;
    font-size: 0.93rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* ?? Mobile (< 768px) ?????????????????????????????????????????????? */
@media (max-width: 767.98px) {
    .ct-container[b-9eq4c4b3pi] { padding: 0 8px 32px; }

    .ct-header h1[b-9eq4c4b3pi] { font-size: 1.45rem; }
    .ct-header p[b-9eq4c4b3pi]  { font-size: 0.93rem; }

    /* Filter bar: full-width stack */
    .ct-filter-bar[b-9eq4c4b3pi] { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
    .ct-filter-group[b-9eq4c4b3pi] { width: 100%; }
    .ct-filter-input[b-9eq4c4b3pi],
    .ct-filter-select[b-9eq4c4b3pi] { min-width: 0; width: 100%; }
    .ct-btn-clear[b-9eq4c4b3pi] { width: 100%; justify-content: center; }

    /* Task card: stack left and right */
    .ct-task-card[b-9eq4c4b3pi] { flex-direction: column; gap: 8px; padding: 12px 14px; }
    .ct-task-right[b-9eq4c4b3pi] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        min-width: 0;
        gap: 6px;
    }
    .ct-task-desc[b-9eq4c4b3pi] { max-width: 100%; }
    .ct-task-date[b-9eq4c4b3pi] { white-space: normal; }

    /* Modal: bottom sheet */
    .ct-modal-overlay[b-9eq4c4b3pi] {
        padding: 0;
        align-items: flex-end;
    }
    .ct-modal[b-9eq4c4b3pi] {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 18px 18px 0 0;
    }
}
/* /Components/Pages/Documentation.razor.rz.scp.css */
.documentation-container[b-kmigm1kic8] {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.documentation-header[b-kmigm1kic8] {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e6f2fa;
}

.header-top[b-kmigm1kic8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.documentation-header h1[b-kmigm1kic8] {
    font-size: 2rem;
    font-weight: 700;
    color: #0B4A6F;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.documentation-header h1 i[b-kmigm1kic8] {
    font-size: 2.2rem;
    color: #1CA6DD;
}

.btn-upload-document[b-kmigm1kic8] {
    padding: 10px 16px;
    background: linear-gradient(135deg, #1CA6DD 0%, #0B4A6F 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(28, 166, 221, 0.3);
}

.btn-upload-document:hover[b-kmigm1kic8] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 166, 221, 0.4);
}

.btn-upload-document:active[b-kmigm1kic8] {
    transform: translateY(0);
}

.documentation-header .subtitle[b-kmigm1kic8] {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.category-filter[b-kmigm1kic8] {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fcfe;
    border-radius: 8px;
    border: 1px solid #e6f2fa;
}

.filter-group[b-kmigm1kic8] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label[b-kmigm1kic8] {
    font-weight: 600;
    color: #0B4A6F;
    white-space: nowrap;
}

.filter-group .form-control[b-kmigm1kic8] {
    flex: 1;
    max-width: 300px;
}

.documents-grid[b-kmigm1kic8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.document-card[b-kmigm1kic8] {
    background: #fff;
    border: 1px solid #e6f2fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(28, 166, 221, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.document-card:hover[b-kmigm1kic8] {
    box-shadow: 0 4px 16px rgba(28, 166, 221, 0.15);
    border-color: #1CA6DD;
    transform: translateY(-2px);
}

.document-header[b-kmigm1kic8] {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.document-icon[b-kmigm1kic8] {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #e6f7fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1CA6DD;
}

.document-title-section[b-kmigm1kic8] {
    flex: 1;
}

.document-card h3[b-kmigm1kic8] {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #0B4A6F;
    word-break: break-word;
}

.category-badge[b-kmigm1kic8] {
    display: inline-block;
    padding: 4px 8px;
    background: #e6f7fd;
    color: #1CA6DD;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.document-description[b-kmigm1kic8] {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.document-info[b-kmigm1kic8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    flex-grow: 1;
}

.info-item[b-kmigm1kic8] {
    display: flex;
    flex-direction: column;
}

.info-label[b-kmigm1kic8] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value[b-kmigm1kic8] {
    color: #0B4A6F;
    font-weight: 500;
    font-size: 0.95rem;
}

.document-actions[b-kmigm1kic8] {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.document-actions .btn[b-kmigm1kic8] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.no-documents[b-kmigm1kic8] {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-documents i[b-kmigm1kic8] {
    font-size: 48px;
    color: #ddd;
    display: block;
    margin-bottom: 16px;
}

.no-documents p[b-kmigm1kic8] {
    font-size: 1.1rem;
    margin: 0;
}

/* Modal Styles */
.modal-overlay[b-kmigm1kic8] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-kmigm1kic8] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-kmigm1kic8] {
    padding: 20px;
    border-bottom: 1px solid #e6f2fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2[b-kmigm1kic8] {
    margin: 0;
    color: #0B4A6F;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close[b-kmigm1kic8] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
}

.modal-close:hover[b-kmigm1kic8] {
    color: #0B4A6F;
}

.modal-body[b-kmigm1kic8] {
    padding: 20px;
}

.modal-footer[b-kmigm1kic8] {
    padding: 16px 20px;
    border-top: 1px solid #e6f2fa;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-cancel[b-kmigm1kic8], .btn-save[b-kmigm1kic8] {
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    min-width: fit-content;
    white-space: nowrap;
}

.btn-cancel[b-kmigm1kic8] {
    background: #f0f0f0;
    color: #0B4A6F;
    padding: 10px 20px;
}

.btn-cancel:hover:not(:disabled)[b-kmigm1kic8] {
    background: #ddd;
}

.btn-save[b-kmigm1kic8] {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    padding: 10px 24px;
}

.btn-save:hover:not(:disabled)[b-kmigm1kic8] {
    background: linear-gradient(135deg, #218838 0%, #165528 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-cancel:disabled[b-kmigm1kic8], .btn-save:disabled[b-kmigm1kic8] {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-label[b-kmigm1kic8] {
    display: block;
    margin-bottom: 8px;
    color: #0B4A6F;
    font-weight: 600;
}

.form-control[b-kmigm1kic8] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-control:focus[b-kmigm1kic8] {
    outline: none;
    border-color: #1CA6DD;
    box-shadow: 0 0 0 3px rgba(28, 166, 221, 0.1);
}

.file-upload-section[b-kmigm1kic8] {
    padding: 24px;
    border: 2px dashed #1CA6DD;
    border-radius: 8px;
    text-align: center;
    background: #f9fcfe;
}

.selected-file[b-kmigm1kic8] {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #28a745;
    font-weight: 600;
}

.alert[b-kmigm1kic8] {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success[b-kmigm1kic8] {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger[b-kmigm1kic8] {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.spinner-border[b-kmigm1kic8] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-kmigm1kic8 0.75s linear infinite;
}

.spinner-border-sm[b-kmigm1kic8] {
    width: 0.75rem;
    height: 0.75rem;
    border-width: 0.2em;
}

@keyframes spinner-border-b-kmigm1kic8 {
    to {
        transform: rotate(360deg);
    }
}

.me-2[b-kmigm1kic8] {
    margin-right: 0.5rem;
}

/* ?? Loading state ????????????????????????????????????????? */
.loading-state[b-kmigm1kic8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0 16px;
}

.loading-spinner[b-kmigm1kic8] {
    margin-bottom: 16px;
}

.spinner-ring[b-kmigm1kic8] {
    width: 48px;
    height: 48px;
    border: 4px solid #e6f2fa;
    border-top-color: #1CA6DD;
    border-radius: 50%;
    animation: spin-b-kmigm1kic8 0.9s linear infinite;
}

.loading-text[b-kmigm1kic8] {
    color: #1CA6DD;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 24px;
    letter-spacing: 0.02em;
}

@keyframes spin-b-kmigm1kic8 {
    to { transform: rotate(360deg); }
}

/* ?? Skeleton document grid ???????????????????????????????? */
.skeleton-doc-grid[b-kmigm1kic8] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.skeleton-doc-card[b-kmigm1kic8] {
    border: 1px solid #e6f2fa;
    border-radius: 12px;
    padding: 20px;
    background: linear-gradient(90deg, #f0f6fb 25%, #e6f2fa 50%, #f0f6fb 75%);
    background-size: 200% 100%;
    animation: shimmer-b-kmigm1kic8 1.4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@keyframes shimmer-b-kmigm1kic8 {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-doc-header[b-kmigm1kic8] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.skeleton-doc-icon[b-kmigm1kic8] {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(28, 166, 221, 0.18);
}

.skeleton-doc-title-section[b-kmigm1kic8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line[b-kmigm1kic8] {
    border-radius: 6px;
    background: rgba(28, 166, 221, 0.18);
}

.skeleton-doc-title[b-kmigm1kic8] {
    height: 18px;
    width: 70%;
}

.skeleton-doc-badge[b-kmigm1kic8] {
    height: 20px;
    width: 40%;
    border-radius: 4px;
}

.skeleton-doc-desc[b-kmigm1kic8] {
    height: 13px;
    width: 90%;
}

.skeleton-doc-info[b-kmigm1kic8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #e6f2fa;
    border-bottom: 1px solid #e6f2fa;
}

.skeleton-doc-info-item[b-kmigm1kic8] {
    height: 32px;
    border-radius: 6px;
}

.skeleton-doc-btn[b-kmigm1kic8] {
    height: 36px;
    width: 100%;
    border-radius: 6px;
    margin-top: 4px;
}

/* ?? Mobile (< 768px) ?????????????????????????????????????????????? */
@media (max-width: 767.98px) {
    .documentation-container[b-kmigm1kic8] { padding: 16px 10px 32px; }

    /* Header: stack title and upload button */
    .header-top[b-kmigm1kic8] { flex-direction: column; align-items: flex-start; gap: 12px; }
    .documentation-header h1[b-kmigm1kic8] { font-size: 1.4rem; }
    .documentation-header h1 i[b-kmigm1kic8] { font-size: 1.6rem; }
    .btn-upload-document[b-kmigm1kic8] { width: 100%; justify-content: center; }

    /* Filter: stack label and select */
    .filter-group[b-kmigm1kic8] { flex-direction: column; align-items: stretch; gap: 6px; }
    .filter-group .form-control[b-kmigm1kic8] { max-width: 100%; }

    /* Documents: single column */
    .documents-grid[b-kmigm1kic8] { grid-template-columns: 1fr; gap: 14px; }
    .skeleton-doc-grid[b-kmigm1kic8] { grid-template-columns: 1fr; gap: 14px; }

    /* Document info grid: single column */
    .document-info[b-kmigm1kic8] { grid-template-columns: 1fr; }

    /* Modal: bottom sheet */
    .modal-overlay[b-kmigm1kic8] {
        padding: 0;
        align-items: flex-end;
    }
    .modal-content[b-kmigm1kic8] {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 18px 18px 0 0;
    }
    .modal-header h2[b-kmigm1kic8] { font-size: 1.15rem; }

    /* Modal footer buttons: fill width */
    .modal-footer[b-kmigm1kic8] { flex-wrap: wrap; gap: 8px; }
    .btn-cancel[b-kmigm1kic8], .btn-save[b-kmigm1kic8] { flex: 1; min-width: 0; justify-content: center; }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ?? Dashboard container ?? */
.dashboard[b-eavm4f9koo] {
    padding: 24px 28px 48px 28px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ?? Header ?? */
.dash-header[b-eavm4f9koo] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.dash-greeting[b-eavm4f9koo] {
    font-size: 2rem;
    font-weight: 800;
    color: #0B4A6F;
    margin: 0 0 6px 0;
    line-height: 1.1;
}
.dash-date[b-eavm4f9koo] {
    font-size: 0.88rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dash-date i[b-eavm4f9koo] { color: #1CA6DD; }

/* ?? Stat row ?? */
.stat-row[b-eavm4f9koo] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card[b-eavm4f9koo] {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #e8f2fa;
    border-radius: 14px;
    padding: 18px 16px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    cursor: pointer;
    position: relative;
}
.stat-card:hover[b-eavm4f9koo] {
    box-shadow: 0 4px 18px rgba(28,166,221,0.13);
    transform: translateY(-2px);
}
.stat-card.blue:hover[b-eavm4f9koo]  { border-color: #1CA6DD; }
.stat-card.green:hover[b-eavm4f9koo] { border-color: #28a745; }
.stat-card.orange:hover[b-eavm4f9koo] { border-color: #fd7e14; }
.stat-card.purple:hover[b-eavm4f9koo] { border-color: #6f42c1; }

.stat-icon-circle[b-eavm4f9koo] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.blue-bg[b-eavm4f9koo]   { background: #e6f7fd; color: #1CA6DD; }
.green-bg[b-eavm4f9koo]  { background: #d4f0de; color: #28a745; }
.orange-bg[b-eavm4f9koo] { background: #fde8d3; color: #fd7e14; }
.purple-bg[b-eavm4f9koo] { background: #ede5f9; color: #6f42c1; }

.stat-body[b-eavm4f9koo] {
    flex: 1;
    min-width: 0;
}
.stat-label[b-eavm4f9koo] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 2px;
}
.stat-card.blue   .stat-label[b-eavm4f9koo] { color: #1CA6DD; }
.stat-card.green  .stat-label[b-eavm4f9koo] { color: #28a745; }
.stat-card.orange .stat-label[b-eavm4f9koo] { color: #fd7e14; }
.stat-card.purple .stat-label[b-eavm4f9koo] { color: #6f42c1; }

.stat-num[b-eavm4f9koo] {
    font-size: 2rem;
    font-weight: 800;
    color: #0B4A6F;
    line-height: 1.1;
}
.stat-sub[b-eavm4f9koo] {
    font-size: 0.76rem;
    color: #aaa;
    margin-top: 2px;
}
.stat-chev[b-eavm4f9koo] {
    font-size: 0.85rem;
    color: #ccc;
    flex-shrink: 0;
}

/* ?? Shared card ?? */
.dash-card[b-eavm4f9koo] {
    background: #fff;
    border: 1.5px solid #e8f2fa;
    border-radius: 14px;
    padding: 20px 22px;
}

.card-section-title[b-eavm4f9koo] {
    font-size: 0.97rem;
    font-weight: 700;
    color: #0B4A6F;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-section-title i[b-eavm4f9koo] { color: #1CA6DD; }

.card-section-header[b-eavm4f9koo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* ?? Middle grid ?? */
.dash-mid-grid[b-eavm4f9koo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ?? Quick nav ?? */
.nav-link-list[b-eavm4f9koo] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
}
.nav-link-item[b-eavm4f9koo] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
    text-align: left;
}
.nav-link-item:hover[b-eavm4f9koo] {
    background: #f2fbff;
}
.nav-icon-circle[b-eavm4f9koo] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.nav-green[b-eavm4f9koo]  { background: #d4f0de; color: #28a745; }
.nav-blue[b-eavm4f9koo]   { background: #e6f7fd; color: #1CA6DD; }
.nav-teal[b-eavm4f9koo]   { background: #d0f4f0; color: #0d9488; }
.nav-orange[b-eavm4f9koo] { background: #fde8d3; color: #fd7e14; }
.nav-blue2[b-eavm4f9koo]  { background: #dbeafe; color: #3b82f6; }
.nav-gray[b-eavm4f9koo]   { background: #f3f4f6; color: #6b7280; }

.nav-link-body[b-eavm4f9koo] { flex: 1; min-width: 0; }
.nav-link-title[b-eavm4f9koo] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0B4A6F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-link-sub[b-eavm4f9koo] {
    font-size: 0.76rem;
    color: #aaa;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-chev[b-eavm4f9koo] {
    font-size: 0.78rem;
    color: #ccc;
    flex-shrink: 0;
}

/* ?? Tasks today ?? */
.date-pill[b-eavm4f9koo] {
    background: #e6f7fd;
    color: #1CA6DD;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 0.78rem;
    font-weight: 600;
}

.empty-tasks[b-eavm4f9koo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 20px;
    gap: 8px;
}
.empty-sun[b-eavm4f9koo] {
    font-size: 2.2rem;
    color: #f0c040;
}
.empty-tasks p[b-eavm4f9koo] {
    color: #aaa;
    font-size: 0.88rem;
    margin: 0;
}

.today-task-list[b-eavm4f9koo] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 16px;
}
.today-task-item[b-eavm4f9koo] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f9fcfe;
    border: 1px solid #e6f2fa;
}
.today-task-dot[b-eavm4f9koo] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-pending[b-eavm4f9koo] { background: #1CA6DD; }
.dot-done[b-eavm4f9koo]    { background: #28a745; }
.today-task-info[b-eavm4f9koo] { flex: 1; min-width: 0; }
.today-task-title[b-eavm4f9koo] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0B4A6F;
}
.today-task-time[b-eavm4f9koo] {
    font-size: 0.76rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.task-status-badge[b-eavm4f9koo] {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 12px;
    flex-shrink: 0;
}
.badge-pending[b-eavm4f9koo] { background: #e6f7fd; color: #1CA6DD; }
.badge-done[b-eavm4f9koo]    { background: #d4f0de; color: #28a745; }

.btn-open-wp[b-eavm4f9koo] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    background: #f2fbff;
    border: 1.5px solid #c8e8f5;
    border-radius: 10px;
    color: #1CA6DD;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.btn-open-wp:hover[b-eavm4f9koo] {
    background: #e0f4fd;
    border-color: #1CA6DD;
}

/* ?? Recent services ?? */
.show-all-link[b-eavm4f9koo] {
    font-size: 0.83rem;
    color: #1CA6DD;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.show-all-link:hover[b-eavm4f9koo] { text-decoration: underline; }

.recent-list[b-eavm4f9koo] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4px;
}
.recent-item[b-eavm4f9koo] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 4px 14px 14px;
    border-bottom: 1px solid #f0f6fb;
    transition: background 0.15s;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.recent-item[b-eavm4f9koo]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 4px;
}
.recent-item.item-planned[b-eavm4f9koo]::before   { background: #1CA6DD; }
.recent-item.item-completed[b-eavm4f9koo]::before { background: #28a745; }
.recent-item:last-child[b-eavm4f9koo] { border-bottom: none; }
.recent-item:hover[b-eavm4f9koo] { background: #f9fcfe; }

.recent-date-block[b-eavm4f9koo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    background: #f2fbff;
    border-radius: 8px;
    padding: 6px 8px;
    flex-shrink: 0;
}
.recent-day[b-eavm4f9koo] {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0B4A6F;
    line-height: 1;
}
.recent-month[b-eavm4f9koo] {
    font-size: 0.62rem;
    font-weight: 700;
    color: #e05a2b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.recent-info[b-eavm4f9koo] { flex: 1; min-width: 0; }
.recent-title[b-eavm4f9koo] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0B4A6F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-meta[b-eavm4f9koo] {
    font-size: 0.77rem;
    color: #aaa;
    margin-top: 3px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.recent-meta i[b-eavm4f9koo] { color: #1CA6DD; }

.status-badge[b-eavm4f9koo] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.badge-planned[b-eavm4f9koo]   { background: #e6f7fd; color: #1CA6DD; border: 1px solid #c8e8f5; }
.badge-completed[b-eavm4f9koo] { background: #d4f0de; color: #155724; border: 1px solid #b8dfc9; }

.empty-recent[b-eavm4f9koo] {
    color: #aaa;
    font-size: 0.88rem;
    padding: 20px 0 8px;
    text-align: center;
}

/* ?? Modal ?? */
.modal-overlay[b-eavm4f9koo] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}
.modal-content[b-eavm4f9koo] {
    background: #fff;
    border-radius: 14px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    animation: modalSlideIn-b-eavm4f9koo 0.25s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-header[b-eavm4f9koo] {
    background: linear-gradient(135deg, #1CA6DD 0%, #0B4A6F 100%);
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h2[b-eavm4f9koo] { margin: 0; font-size: 1.2rem; color: #fff; }
.modal-close[b-eavm4f9koo] { background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; }
.modal-close:hover[b-eavm4f9koo] { opacity: 1; }
.modal-body[b-eavm4f9koo] { padding: 22px; flex: 1; overflow-y: auto; }
.form-group[b-eavm4f9koo] { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-label[b-eavm4f9koo] { margin-bottom: 6px; font-weight: 600; color: #0B4A6F; font-size: 0.92rem; }
.form-control[b-eavm4f9koo] {
    width: 100%; padding: 10px 13px; border: 2px solid #e0e0e0; border-radius: 8px;
    font-size: 0.97rem; color: #333; background: #f9f9f9; transition: border-color 0.2s; font-family: inherit; box-sizing: border-box;
}
.form-control:focus[b-eavm4f9koo] { border-color: #1CA6DD; background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(28,166,221,0.1); }
textarea.form-control[b-eavm4f9koo] { resize: vertical; min-height: 90px; }
.modal-footer[b-eavm4f9koo] { padding: 14px 22px; background: #f8f8f8; border-top: 1px solid #eee; display: flex; gap: 10px; justify-content: space-between; }
.btn-close-modal[b-eavm4f9koo] { padding: 10px 24px; border-radius: 8px; background: #e6e6e6; color: #333; border: none; cursor: pointer; font-weight: 600; transition: background 0.2s; }
.btn-close-modal:hover[b-eavm4f9koo] { background: #d0d0d0; }
.btn-save[b-eavm4f9koo] {
    padding: 10px 24px; border-radius: 8px; background: #28a745; color: #fff; border: none;
    cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: background 0.2s;
}
.btn-save:hover:not(:disabled)[b-eavm4f9koo] { background: #218838; }
.btn-save:disabled[b-eavm4f9koo] { opacity: 0.7; cursor: not-allowed; }
.alert[b-eavm4f9koo] { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; font-size: 0.92rem; }
.alert-danger[b-eavm4f9koo]  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success[b-eavm4f9koo] { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

@keyframes modalSlideIn-b-eavm4f9koo {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ?? Responsive ?? */
@media (max-width: 900px) {
    .stat-row[b-eavm4f9koo] { grid-template-columns: repeat(2, 1fr); }
    .dash-mid-grid[b-eavm4f9koo] { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .dashboard[b-eavm4f9koo] { padding: 16px 10px 40px; gap: 16px; }
    .stat-row[b-eavm4f9koo] { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dash-greeting[b-eavm4f9koo] { font-size: 1.4rem; }

    /* Header: stack greeting and date pill */
    .dash-header[b-eavm4f9koo] { flex-direction: column; align-items: flex-start; gap: 6px; }

    /* Stat cards: tighter padding */
    .stat-card[b-eavm4f9koo] { padding: 14px 12px; gap: 10px; }
    .stat-num[b-eavm4f9koo]  { font-size: 1.6rem; }
    .stat-icon-circle[b-eavm4f9koo] { width: 38px; height: 38px; font-size: 1.1rem; }

    /* Recent items: allow meta to wrap */
    .recent-meta[b-eavm4f9koo] { flex-wrap: wrap; gap: 6px; }
    .recent-title[b-eavm4f9koo] { font-size: 0.85rem; }

    /* Status badge: smaller */
    .status-badge[b-eavm4f9koo] { font-size: 0.7rem; padding: 3px 8px; }

    /* Dashboard card: tighter */
    .dash-card[b-eavm4f9koo] { padding: 16px 14px; }

    /* Modal: bottom sheet */
    .modal-overlay[b-eavm4f9koo] { padding: 0; align-items: flex-end; }
    .modal-content[b-eavm4f9koo] {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 18px 18px 0 0;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
@keyframes shake-b-kbv0ccn5b0 {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-3px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(3px);
    }
}

.login-card.shake[b-kbv0ccn5b0] {
    animation: shake-b-kbv0ccn5b0 0.4s ease-in-out;
}

/* Custom checkbox styling */
.form-check-input[b-kbv0ccn5b0] {
    width: 1.25rem !important;
    height: 1.25rem !important;
    border: 2px solid #0B4A6F !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    flex-shrink: 0;
    appearance: none !important;
    background-color: #fff !important;
    transition: all 0.2s ease;
    margin-top: 0.125rem !important;
    margin-right: 8px !important;
}

.form-check-input:hover[b-kbv0ccn5b0] {
    border-color: #1CA6DD;
    box-shadow: 0 0 0 0.2rem rgba(28, 166, 221, 0.15);
}

.form-check-input:checked[b-kbv0ccn5b0] {
    background-color: #1CA6DD !important;
    border-color: #1CA6DD !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M2 8l4 4 8-8'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.form-check-input:checked:hover[b-kbv0ccn5b0] {
    background-color: #0B4A6F !important;
    border-color: #0B4A6F !important;
}

.form-check-input:focus[b-kbv0ccn5b0] {
    border-color: #1CA6DD;
    box-shadow: 0 0 0 0.2rem rgba(28, 166, 221, 0.25);
    outline: none;
}

.form-check-input:disabled[b-kbv0ccn5b0] {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-check-label[b-kbv0ccn5b0] {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    font-weight: 500;
    color: #0B4A6F;
    gap: 8px;
}
/* /Components/Pages/PlannedInspections.razor.rz.scp.css */
/* ── Page layout ────────────────────────────────────────────────── */
.inspections-container[b-g0pu21b97y] {
    padding: 0 16px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.page-header[b-g0pu21b97y] {
    text-align: center;
    margin-bottom: 28px;
    padding: 0 16px;
}

.page-header h1[b-g0pu21b97y] {
    color: #1CA6DD;
    font-size: 2rem;
    margin: 0 0 8px 0;
}

.page-header p[b-g0pu21b97y] {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* ── Card list ───────────────────────────────────────────────────── */
.inspections-list[b-g0pu21b97y] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.inspection-card[b-g0pu21b97y] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 2px solid #e6f2fa;
    border-radius: 10px;
    padding: 18px 22px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.inspection-card:hover[b-g0pu21b97y] {
    border-color: #1CA6DD;
    box-shadow: 0 4px 16px rgba(28, 166, 221, 0.13);
    transform: translateY(-2px);
}

/* ── Date badge (blue = planned) ────────────────────────────────── */
.inspection-card-left[b-g0pu21b97y] {
    flex-shrink: 0;
}

.inspection-date[b-g0pu21b97y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #dbeeff;
    border: 2px solid #1CA6DD;
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 62px;
}

.date-day[b-g0pu21b97y] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0B4A6F;
    line-height: 1;
}

.date-month[b-g0pu21b97y] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1CA6DD;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.date-year[b-g0pu21b97y] {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}

/* ── Card content ───────────────────────────────────────────────── */
.inspection-card-content[b-g0pu21b97y] {
    flex: 1;
    min-width: 0;
}

.inspection-card-content h3[b-g0pu21b97y] {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0B4A6F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inspection-meta-row[b-g0pu21b97y] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 6px;
}

.meta-chip[b-g0pu21b97y] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f8ff;
    color: #0B4A6F;
    border: 1px solid #cce5f5;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.inspection-time[b-g0pu21b97y] {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inspection-notes[b-g0pu21b97y] {
    margin: 0;
    font-size: 0.88rem;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inspection-badges[b-g0pu21b97y] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.badge-extra[b-g0pu21b97y] {
    background: #e6f7fd;
    color: #0B4A6F;
    border: 1px solid #b3dff5;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Card actions ───────────────────────────────────────────────── */
.inspection-card-actions[b-g0pu21b97y] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.btn-action[b-g0pu21b97y] {
    background: #1CA6DD;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    width: 100%;
    transition: background 0.2s;
}

.btn-action:hover[b-g0pu21b97y] { background: #0B4A6F; }

.btn-action-edit[b-g0pu21b97y] {
    background: #f0f6ff;
    color: #1CA6DD;
    border: 2px solid #1CA6DD;
}

.btn-action-edit:hover[b-g0pu21b97y] { background: #1CA6DD; color: #fff; }

/* ── Plan new button ─────────────────────────────────────────────── */
.button-container[b-g0pu21b97y] {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-plan-inspection[b-g0pu21b97y] {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-plan-inspection:hover[b-g0pu21b97y] {
    background: linear-gradient(135deg, #1e7e34 0%, #165528 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.btn-plan-inspection i[b-g0pu21b97y] { font-size: 1.3rem; }

/* ── Empty state ─────────────────────────────────────────────────── */
.empty-state[b-g0pu21b97y] {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-state p[b-g0pu21b97y] {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* ── Alert / notification ────────────────────────────────────────── */
.alert[b-g0pu21b97y] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideDown-b-g0pu21b97y 0.3s ease-out;
}

.alert-success[b-g0pu21b97y] { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-success i[b-g0pu21b97y] { color: #28a745; font-size: 1.2rem; }
.alert-danger[b-g0pu21b97y]  { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-danger  i[b-g0pu21b97y] { color: #dc3545; font-size: 1.2rem; }

.btn-close-notification[b-g0pu21b97y] {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    font-size: 1.2rem;
    margin-left: auto;
    transition: opacity 0.2s;
}

.btn-close-notification:hover[b-g0pu21b97y] { opacity: 1; }

/* ── Modal overlay ───────────────────────────────────────────────── */
.modal-overlay[b-g0pu21b97y] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content[b-g0pu21b97y] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideIn-b-g0pu21b97y 0.3s ease;
    overflow: hidden;
}

/* ── Modal header ────────────────────────────────────────────────── */
.modal-header[b-g0pu21b97y] {
    padding: 20px 24px;
    border-bottom: 1px solid #e6f2fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2[b-g0pu21b97y] {
    margin: 0;
    color: #1CA6DD;
    font-size: 1.4rem;
    flex: 1;
    padding-right: 16px;
}

.modal-close[b-g0pu21b97y] {
    background: none;
    border: none;
    color: #1CA6DD;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.4rem;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover[b-g0pu21b97y] { background: #f0f0f0; color: #0B4A6F; }

/* ── Modal body ──────────────────────────────────────────────────── */
.modal-body[b-g0pu21b97y] {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.form-group[b-g0pu21b97y] { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-group.mb-3[b-g0pu21b97y] { margin-bottom: 18px; }

.form-label[b-g0pu21b97y] {
    margin-bottom: 8px;
    font-weight: 600;
    color: #0B4A6F;
    font-size: 0.95rem;
}

.form-control[b-g0pu21b97y] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.97rem;
    color: #333;
    background: #f9f9f9;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-control:focus[b-g0pu21b97y] {
    border-color: #1CA6DD;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 166, 221, 0.1);
}

.form-control[b-g0pu21b97y]::placeholder { color: #999; }
textarea.form-control[b-g0pu21b97y] { resize: vertical; min-height: 90px; }

/* ── Detail groups (view modal) ──────────────────────────────────── */
.detail-group[b-g0pu21b97y] { margin-bottom: 16px; }

.detail-group label[b-g0pu21b97y] {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1CA6DD;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.detail-group p[b-g0pu21b97y] {
    margin: 0;
    color: #0B4A6F;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
}

.detail-group-highlight[b-g0pu21b97y] {
    background: #f9fcfe;
    border: 1px solid #e6f2fa;
    border-radius: 8px;
    padding: 10px 14px;
}

.narocilnica-value[b-g0pu21b97y] {
    font-weight: 700 !important;
    color: #0B4A6F !important;
    word-break: break-word;
}

.status-badge[b-g0pu21b97y] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.status-badge.pending[b-g0pu21b97y] {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffe58f;
}

/* ── Modal footer ────────────────────────────────────────────────── */
.modal-footer[b-g0pu21b97y] {
    padding: 16px 24px;
    border-top: 1px solid #e6f2fa;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    background: #fff;
}

.btn-cancel[b-g0pu21b97y] {
    background: #f0f0f0;
    color: #0B4A6F;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-cancel:hover[b-g0pu21b97y] { background: #ddd; }

.btn-save[b-g0pu21b97y] {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-save:hover:not(:disabled)[b-g0pu21b97y] { background: #218838; }
.btn-save:disabled[b-g0pu21b97y] { opacity: 0.7; cursor: not-allowed; }

.btn-complete[b-g0pu21b97y] {
    background: #1CA6DD;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-complete:hover:not(:disabled)[b-g0pu21b97y] { background: #0B4A6F; }
.btn-complete:disabled[b-g0pu21b97y] { opacity: 0.7; cursor: not-allowed; }

.btn-edit-footer[b-g0pu21b97y] {
    background: #f0f6ff;
    color: #1CA6DD;
    border: 2px solid #1CA6DD;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.btn-edit-footer:hover[b-g0pu21b97y] { background: #1CA6DD; color: #fff; }

.btn-download-extra[b-g0pu21b97y] {
    background: #1CA6DD;
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-download-extra:hover[b-g0pu21b97y] { background: #0B4A6F; }

/* ── Form helpers ────────────────────────────────────────────────── */
.section-divider[b-g0pu21b97y] { border: none; border-top: 1px dashed #d0e8f5; margin: 16px 0; }

.optional-tag[b-g0pu21b97y] { font-size: 0.75rem; font-weight: 400; color: #aaa; margin-left: 6px; }

.existing-file-note[b-g0pu21b97y] {
    font-size: 0.88rem;
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-row-2[b-g0pu21b97y] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Spinner / utility ───────────────────────────────────────────── */
.spinner-border[b-g0pu21b97y] {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin-b-g0pu21b97y 0.75s linear infinite;
}

.spinner-border-sm[b-g0pu21b97y] { width: 1rem; height: 1rem; border-width: 0.2em; }
.me-2[b-g0pu21b97y] { margin-right: 0.5rem; }
.mt-2[b-g0pu21b97y] { margin-top: 0.5rem; }

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes slideDown-b-g0pu21b97y {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn-b-g0pu21b97y {
    from { transform: translateY(50px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes spin-b-g0pu21b97y {
    to { transform: rotate(360deg); }
}

/* ── Loading state ───────────────────────────────────────── */

.loading-state[b-g0pu21b97y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0 16px;
}

.loading-spinner[b-g0pu21b97y] {
    margin-bottom: 16px;
}

.spinner-ring[b-g0pu21b97y] {
    width: 48px;
    height: 48px;
    border: 4px solid #e6f2fa;
    border-top-color: #1CA6DD;
    border-radius: 50%;
    animation: spin-b-g0pu21b97y 0.9s linear infinite;
}

.loading-text[b-g0pu21b97y] {
    color: #1CA6DD;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 24px;
    letter-spacing: 0.02em;
}

.skeleton-list[b-g0pu21b97y] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skeleton-card[b-g0pu21b97y] {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid #e6f2fa;
    border-radius: 10px;
    padding: 18px 22px;
    background: linear-gradient(90deg, #f0f6fb 25%, #e6f2fa 50%, #f0f6fb 75%);
    background-size: 200% 100%;
    animation: shimmer-b-g0pu21b97y 1.4s ease-in-out infinite;
}

@keyframes shimmer-b-g0pu21b97y {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-date[b-g0pu21b97y] {
    flex-shrink: 0;
    width: 62px;
    height: 72px;
    background: rgba(28, 166, 221, 0.18);
    border-radius: 8px;
}

.skeleton-content[b-g0pu21b97y] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line[b-g0pu21b97y] {
    border-radius: 6px;
    background: rgba(28, 166, 221, 0.18);
}

.skeleton-title[b-g0pu21b97y] {
    height: 18px;
    width: 52%;
}

.skeleton-note[b-g0pu21b97y] {
    height: 13px;
    width: 30%;
}

.skeleton-chips[b-g0pu21b97y] {
    display: flex;
    gap: 6px;
}

.skeleton-chip[b-g0pu21b97y] {
    height: 22px;
    width: 110px;
    border-radius: 12px;
    background: rgba(28, 166, 221, 0.15);
}

.skeleton-chip-sm[b-g0pu21b97y] {
    width: 80px;
}

.skeleton-actions[b-g0pu21b97y] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.skeleton-btn[b-g0pu21b97y] {
    height: 34px;
    width: 100px;
    border-radius: 6px;
    background: rgba(28, 166, 221, 0.18);
}

.skeleton-btn-sm[b-g0pu21b97y] {
    width: 80px;
    background: rgba(28, 166, 221, 0.12);
}

/* ── Mobile (< 768px) ────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .inspections-container[b-g0pu21b97y] { padding: 0 8px 24px; }

    .page-header h1[b-g0pu21b97y] { font-size: 1.45rem; }
    .page-header p[b-g0pu21b97y]  { font-size: 0.93rem; }

    /* Inspection card: stack vertically */
    .inspection-card[b-g0pu21b97y] {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 14px;
        gap: 10px;
    }

    /* Date badge: horizontal (day + month side-by-side) */
    .inspection-date[b-g0pu21b97y] {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        padding: 7px 12px;
        min-width: unset;
    }
    .date-day[b-g0pu21b97y]   { font-size: 1.4rem; }
    .date-month[b-g0pu21b97y] { font-size: 0.78rem; }
    .date-year[b-g0pu21b97y]  { font-size: 0.72rem; margin-top: 0; margin-left: 2px; }

    /* Card content: allow wrapping */
    .inspection-card-content h3[b-g0pu21b97y] { white-space: normal; }

    /* Actions: full-width row */
    .inspection-card-actions[b-g0pu21b97y] {
        flex-direction: row;
        align-items: stretch;
        width: 100%;
        gap: 8px;
    }
    .btn-action[b-g0pu21b97y] { flex: 1; }

    /* 2-col form row → 1 col */
    .form-row-2[b-g0pu21b97y] { grid-template-columns: 1fr; }

    /* Modal: bottom sheet */
    .modal-overlay[b-g0pu21b97y] {
        padding: 0;
        align-items: flex-end;
    }
    .modal-content[b-g0pu21b97y] {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 18px 18px 0 0;
    }
    .modal-header h2[b-g0pu21b97y] { font-size: 1.15rem; }

    /* Modal footer buttons: fill width */
    .modal-footer[b-g0pu21b97y] {
        flex-wrap: wrap;
        gap: 8px;
    }
    .modal-footer > *[b-g0pu21b97y] {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    /* Plan inspection button: full width */
    .btn-plan-inspection[b-g0pu21b97y] { width: 100%; justify-content: center; }

    /* Skeleton cards */
    .skeleton-card[b-g0pu21b97y] { padding: 14px 14px; gap: 12px; }
    .skeleton-actions[b-g0pu21b97y] { flex-direction: row; }
    .skeleton-btn[b-g0pu21b97y], .skeleton-btn-sm[b-g0pu21b97y] { width: 80px; height: 30px; }
}
/* /Components/Pages/WorkPlanning.razor.rz.scp.css */
/* ── Page container ─────────────────────────────────────────────── */
.wp-container[b-iliab9s3kf] {
    padding: 0 16px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────────── */
.wp-header[b-iliab9s3kf] {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 16px;
}

.wp-header h1[b-iliab9s3kf] {
    color: #1CA6DD;
    font-size: 2rem;
    margin: 0 0 6px 0;
}

.wp-header p[b-iliab9s3kf] {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

/* ── Week navigation ────────────────────────────────────────────── */
.wp-week-nav[b-iliab9s3kf] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.wp-nav-btn[b-iliab9s3kf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f8ff;
    color: #0B4A6F;
    border: 2px solid #cce5f5;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.wp-nav-btn:hover[b-iliab9s3kf] { background: #dbeeff; border-color: #1CA6DD; }

.wp-nav-today[b-iliab9s3kf] {
    background: #1CA6DD;
    color: #fff;
    border-color: #1CA6DD;
}

.wp-nav-today:hover[b-iliab9s3kf] { background: #0B4A6F; border-color: #0B4A6F; }

.wp-week-label[b-iliab9s3kf] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0B4A6F;
    padding: 8px 18px;
    background: #f9fcfe;
    border: 2px solid #e6f2fa;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* ── Worker filter bar ──────────────────────────────────────────── */
.wp-filter-bar[b-iliab9s3kf] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f9fcfe;
    border: 1px solid #e6f2fa;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0B4A6F;
    flex-wrap: wrap;
}

.wp-filter-select[b-iliab9s3kf] {
    padding: 6px 12px;
    border: 2px solid #e6f2fa;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #0B4A6F;
    background: #fff;
    cursor: pointer;
    min-width: 180px;
    transition: border-color 0.2s;
}

.wp-filter-select:focus[b-iliab9s3kf] { outline: none; border-color: #1CA6DD; }

/* ── Loading ─────────────────────────────────────────────────────── */
.wp-loading[b-iliab9s3kf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.wp-spinner-ring[b-iliab9s3kf] {
    width: 48px;
    height: 48px;
    border: 4px solid #e6f2fa;
    border-top-color: #1CA6DD;
    border-radius: 50%;
    animation: wp-spin-b-iliab9s3kf 0.9s linear infinite;
    margin-bottom: 16px;
}

.wp-loading-text[b-iliab9s3kf] {
    color: #1CA6DD;
    font-weight: 600;
    font-size: 1rem;
}

@keyframes wp-spin-b-iliab9s3kf { to { transform: rotate(360deg); } }

/* ── Week grid ───────────────────────────────────────────────────── */
.wp-grid-scroll[b-iliab9s3kf] {
    overflow-x: auto;
    padding-bottom: 8px;
}

.wp-grid[b-iliab9s3kf] {
    display: grid;
    grid-template-columns: repeat(7, minmax(180px, 1fr));
    gap: 10px;
    min-width: 1260px;
}

/* ── Day column ─────────────────────────────────────────────────── */
.wp-day-col[b-iliab9s3kf] {
    background: #fff;
    border: 2px solid #e6f2fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s;
}

.wp-day-col:hover[b-iliab9s3kf] { border-color: #b3dff5; }

.wp-day-today[b-iliab9s3kf] {
    border-color: #1CA6DD;
    box-shadow: 0 0 0 3px rgba(28,166,221,0.10);
}

.wp-day-header[b-iliab9s3kf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px 10px;
    background: #f9fcfe;
    border-bottom: 1px solid #e6f2fa;
}

.wp-day-today .wp-day-header[b-iliab9s3kf] {
    background: linear-gradient(135deg, #1CA6DD 0%, #0B4A6F 100%);
}

.wp-day-name[b-iliab9s3kf] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

.wp-day-today .wp-day-name[b-iliab9s3kf] { color: rgba(255,255,255,0.8); }

.wp-day-date[b-iliab9s3kf] {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0B4A6F;
    line-height: 1.1;
}

.wp-day-date-today[b-iliab9s3kf] { color: #fff; }

.wp-day-month[b-iliab9s3kf] {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
}

.wp-day-today .wp-day-month[b-iliab9s3kf] { color: rgba(255,255,255,0.7); }

/* ── Weekend column ─────────────────────────────────────────────── */
.wp-day-weekend[b-iliab9s3kf] {
    background: #fdf6f0;
    border-color: #f0d9c8;
}

.wp-day-weekend .wp-day-header[b-iliab9s3kf] {
    background: #fdf0e6;
}

.wp-day-weekend .wp-day-name[b-iliab9s3kf],
.wp-day-weekend .wp-day-date[b-iliab9s3kf],
.wp-day-weekend .wp-day-month[b-iliab9s3kf] {
    color: #b05a00;
}

.wp-weekend-badge[b-iliab9s3kf] {
    font-size: 0.75rem;
    color: #e07030;
    margin-top: 2px;
}

/* ── Holiday column ─────────────────────────────────────────────── */
.wp-day-holiday:not(.wp-day-today)[b-iliab9s3kf] {
    border-color: #f5c842;
}

.wp-day-holiday:not(.wp-day-today) .wp-day-header[b-iliab9s3kf] {
    background: linear-gradient(135deg, #fffbea 0%, #fff8d6 100%);
}

.wp-holiday-badge[b-iliab9s3kf] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fff3b0;
    color: #7a5c00;
    border: 1px solid #f5c842;
    border-radius: 8px;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 4px;
    line-height: 1.3;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: default;
}

.wp-holiday-badge i[b-iliab9s3kf] { font-size: 0.6rem; flex-shrink: 0; color: #e0a800; }

.wp-holiday-badge[b-iliab9s3kf]::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    background: #3a2a00;
    color: #fff8d6;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.18s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.22);
}

.wp-holiday-badge[b-iliab9s3kf]::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #3a2a00;
    pointer-events: none;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.wp-holiday-badge:hover[b-iliab9s3kf]::after,
.wp-holiday-badge:hover[b-iliab9s3kf]::before {
    opacity: 1;
}

/* ── All-day badge & checkbox ───────────────────────────────────── */
.wp-allday-badge[b-iliab9s3kf] {
    background: #fff3cd !important;
    color: #7a5c00 !important;
    font-weight: 700;
}

.wp-allday-badge i[b-iliab9s3kf] { color: #e0a800; }

.wp-allday-info[b-iliab9s3kf] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7a5c00;
    background: #fff3cd;
    border: 1px solid #f5c842;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.88rem;
    font-weight: 600;
}

.wp-allday-info i[b-iliab9s3kf] { color: #e0a800; }

.wp-allday-check-row[b-iliab9s3kf] {
    margin-bottom: 16px;
}

.wp-checkbox-label[b-iliab9s3kf] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0B4A6F;
    user-select: none;
    padding: 10px 14px;
    border: 2px solid #e6f2fa;
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}

.wp-checkbox-label:hover[b-iliab9s3kf] {
    border-color: #f5c842;
    background: #fffdf0;
}

.wp-checkbox-label input[type="checkbox"][b-iliab9s3kf] {
    width: 18px;
    height: 18px;
    accent-color: #e0a800;
    cursor: pointer;
    flex-shrink: 0;
}

.wp-checkbox-label i[b-iliab9s3kf] { color: #e0a800; font-size: 1.1em; }
/* ── Task list area ─────────────────────────────────────────────── */
.wp-task-list[b-iliab9s3kf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 8px 6px;
    min-height: 80px;
}

.wp-no-tasks[b-iliab9s3kf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 8px;
    color: #ccc;
    font-size: 0.8rem;
}

.wp-no-tasks i[b-iliab9s3kf] { font-size: 1.4rem; }

/* ── Task card ───────────────────────────────────────────────────── */
.wp-task-card[b-iliab9s3kf] {
    border-radius: 8px;
    padding: 8px 10px;
    border-left: 4px solid transparent;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.15s;
    position: relative;
}

.wp-task-card:hover[b-iliab9s3kf] {
    box-shadow: 0 3px 12px rgba(28,166,221,0.15);
    transform: translateY(-1px);
}

.wp-task-pending[b-iliab9s3kf] { border-left-color: #ffc107; background: #fffdf0; }
.wp-task-done[b-iliab9s3kf]    { border-left-color: #28a745; background: #f6fff8; }

.wp-task-worker[b-iliab9s3kf] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1CA6DD;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wp-task-title[b-iliab9s3kf] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0B4A6F;
    margin-bottom: 5px;
    word-break: break-word;
}

.wp-task-meta[b-iliab9s3kf] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.wp-duration-badge[b-iliab9s3kf] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #e6f2fa;
    color: #0B4A6F;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 0.72rem;
    font-weight: 600;
}

.wp-time-badge[b-iliab9s3kf] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #e8f5ff;
    color: #0B4A6F;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #b3d8f5;
    white-space: nowrap;
}

.wp-time-badge i[b-iliab9s3kf] { color: #1CA6DD; font-size: 0.85em; }

/* ── End-time preview strip ─────────────────────────────────────── */
.wp-endtime-preview[b-iliab9s3kf] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f0faff;
    border: 1px solid #b3d8f5;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.88rem;
    color: #0B4A6F;
    font-weight: 500;
}

.wp-endtime-preview i[b-iliab9s3kf] { color: #1CA6DD; font-size: 1.1em; }
.wp-endtime-preview strong[b-iliab9s3kf] { color: #0B4A6F; }

.wp-status-badge[b-iliab9s3kf] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 600;
}

.wp-status-pending[b-iliab9s3kf] { background: #fff3cd; color: #856404; }
.wp-status-done[b-iliab9s3kf]    { background: #d4edda; color: #155724; }

.wp-task-actions[b-iliab9s3kf] {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    justify-content: flex-end;
}

.wp-btn-edit[b-iliab9s3kf], .wp-btn-delete[b-iliab9s3kf] {
    border: none;
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: background 0.2s;
}

.wp-btn-edit[b-iliab9s3kf]   { background: #e6f2fa; color: #1CA6DD; }
.wp-btn-edit:hover[b-iliab9s3kf] { background: #1CA6DD; color: #fff; }
.wp-btn-delete[b-iliab9s3kf] { background: #fbeaea; color: #dc3545; }
.wp-btn-delete:hover[b-iliab9s3kf] { background: #dc3545; color: #fff; }

/* ── Add task button ────────────────────────────────────────────── */
.wp-btn-add[b-iliab9s3kf] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 8px;
    background: none;
    border: none;
    border-top: 1px dashed #d0e8f5;
    color: #1CA6DD;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}

.wp-btn-add:hover[b-iliab9s3kf] { background: #f0f8ff; }

/* ── Modal overlay ───────────────────────────────────────────────── */
.wp-modal-overlay[b-iliab9s3kf] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.wp-modal[b-iliab9s3kf] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: wp-slide-in-b-iliab9s3kf 0.25s ease;
    overflow: hidden;
}

.wp-modal-sm[b-iliab9s3kf] { max-width: 420px; }

@keyframes wp-slide-in-b-iliab9s3kf {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.wp-modal-header[b-iliab9s3kf] {
    padding: 18px 22px;
    border-bottom: 1px solid #e6f2fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.wp-modal-header h2[b-iliab9s3kf] {
    margin: 0;
    font-size: 1.25rem;
    color: #0B4A6F;
    display: flex;
    align-items: center;
    flex: 1;
    padding-right: 12px;
}

.wp-modal-close[b-iliab9s3kf] {
    background: none;
    border: none;
    color: #1CA6DD;
    font-size: 1.3rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.wp-modal-close:hover[b-iliab9s3kf] { background: #f0f0f0; }

.wp-modal-body[b-iliab9s3kf] {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
}

.wp-modal-footer[b-iliab9s3kf] {
    padding: 14px 22px;
    border-top: 1px solid #e6f2fa;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

/* ── Modal buttons ───────────────────────────────────────────────── */
.wp-btn-cancel[b-iliab9s3kf] {
    background: #f0f0f0;
    color: #0B4A6F;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.wp-btn-cancel:hover[b-iliab9s3kf] { background: #ddd; }

.wp-btn-save[b-iliab9s3kf] {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: background 0.2s;
}

.wp-btn-save:hover:not(:disabled)[b-iliab9s3kf] { background: #218838; }
.wp-btn-save:disabled[b-iliab9s3kf] { opacity: 0.7; cursor: not-allowed; }

.wp-btn-complete[b-iliab9s3kf] {
    background: #1CA6DD;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: background 0.2s;
}

.wp-btn-complete:hover:not(:disabled)[b-iliab9s3kf] { background: #0B4A6F; }
.wp-btn-complete:disabled[b-iliab9s3kf] { opacity: 0.7; cursor: not-allowed; }

.wp-btn-edit-footer[b-iliab9s3kf] {
    background: #f0f6ff;
    color: #1CA6DD;
    border: 2px solid #1CA6DD;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.wp-btn-edit-footer:hover[b-iliab9s3kf] { background: #1CA6DD; color: #fff; }

.wp-btn-delete-confirm[b-iliab9s3kf] {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: background 0.2s;
}

.wp-btn-delete-confirm:hover:not(:disabled)[b-iliab9s3kf] { background: #b02a37; }
.wp-btn-delete-confirm:disabled[b-iliab9s3kf] { opacity: 0.7; cursor: not-allowed; }

/* ── Detail grid (view modal) ────────────────────────────────────── */
.wp-detail-grid[b-iliab9s3kf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    background: #f9fcfe;
    border: 1px solid #e6f2fa;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

@media (max-width: 500px) { .wp-detail-grid[b-iliab9s3kf] { grid-template-columns: 1fr; } }

.wp-detail-item[b-iliab9s3kf] { display: flex; flex-direction: column; gap: 2px; }

.wp-detail-label[b-iliab9s3kf] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1CA6DD;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wp-detail-value[b-iliab9s3kf] { font-size: 0.93rem; color: #0B4A6F; font-weight: 500; }

.wp-detail-box[b-iliab9s3kf] {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.wp-detail-box-instructions[b-iliab9s3kf] {
    background: #f0f8ff;
    border-color: #cce5f5;
}

.wp-detail-box-completed[b-iliab9s3kf] {
    background: #f6fff8;
    border-color: #b8dfc9;
}

.wp-detail-box-label[b-iliab9s3kf] {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #856404;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.wp-detail-box-instructions .wp-detail-box-label[b-iliab9s3kf] { color: #0B4A6F; }
.wp-detail-box-completed .wp-detail-box-label[b-iliab9s3kf]    { color: #155724; }

.wp-detail-box p[b-iliab9s3kf] {
    margin: 0;
    color: #555;
    font-size: 0.93rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* ── Toast notification ──────────────────────────────────────────── */
.wp-toast[b-iliab9s3kf] {
    position: fixed;
    bottom: 28px;
    right: 28px;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    z-index: 2000;
    animation: wp-toast-in-b-iliab9s3kf 0.3s ease;
}

.wp-toast-success[b-iliab9s3kf] { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.wp-toast-danger[b-iliab9s3kf]  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

@keyframes wp-toast-in-b-iliab9s3kf {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Form helpers (re-use global classes) ────────────────────────── */
.form-group[b-iliab9s3kf]       { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-group.mb-3[b-iliab9s3kf]  { margin-bottom: 16px; }
.form-label[b-iliab9s3kf]       { margin-bottom: 6px; font-weight: 600; color: #0B4A6F; font-size: 0.93rem; }

.form-control[b-iliab9s3kf] {
    width: 100%;
    padding: 9px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background: #f9f9f9;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus[b-iliab9s3kf] {
    border-color: #1CA6DD;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(28,166,221,0.1);
}

.form-control[b-iliab9s3kf]::placeholder { color: #aaa; }
textarea.form-control[b-iliab9s3kf] { resize: vertical; min-height: 80px; }

.form-row-2[b-iliab9s3kf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.form-row-3[b-iliab9s3kf] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 520px) {
    .form-row-3[b-iliab9s3kf] { grid-template-columns: 1fr 1fr; }
}

.optional-tag[b-iliab9s3kf] { font-size: 0.74rem; font-weight: 400; color: #aaa; margin-left: 6px; }

.alert[b-iliab9s3kf] { padding: 10px 14px; border-radius: 8px; margin-top: 10px; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.alert-danger[b-iliab9s3kf]  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success[b-iliab9s3kf] { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

.spinner-border[b-iliab9s3kf] {
    display: inline-block;
    width: 1em; height: 1em;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: wp-spin-b-iliab9s3kf 0.75s linear infinite;
    vertical-align: text-bottom;
}

.spinner-border-sm[b-iliab9s3kf] { width: 0.9rem; height: 0.9rem; }
.me-2[b-iliab9s3kf] { margin-right: 0.4rem; }

/* ── Mobile (< 768px) ────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .wp-container[b-iliab9s3kf] { padding: 0 8px 32px; }

    .wp-header h1[b-iliab9s3kf] { font-size: 1.45rem; }
    .wp-header p[b-iliab9s3kf]  { font-size: 0.93rem; }

    /* Week navigation */
    .wp-week-nav[b-iliab9s3kf] { gap: 8px; }
    .wp-nav-btn[b-iliab9s3kf]  { padding: 7px 10px; font-size: 0.82rem; }
    .wp-week-label[b-iliab9s3kf] { font-size: 0.88rem; padding: 6px 10px; }

    /* Filter bar: stack inputs */
    .wp-filter-bar[b-iliab9s3kf] { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
    .wp-filter-select[b-iliab9s3kf] { min-width: 0; width: 100%; }

    /* Modal: bottom sheet */
    .wp-modal-overlay[b-iliab9s3kf] {
        padding: 0;
        align-items: flex-end;
    }
    .wp-modal[b-iliab9s3kf] {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 18px 18px 0 0;
    }
    .wp-modal-sm[b-iliab9s3kf] { max-width: 100%; }

    /* Modal footer buttons */
    .wp-modal-footer[b-iliab9s3kf] { flex-wrap: wrap; gap: 8px; }
    .wp-modal-footer > button[b-iliab9s3kf] { flex: 1; min-width: 0; justify-content: center; }

    /* Form rows */
    .form-row-2[b-iliab9s3kf] { grid-template-columns: 1fr; }
    .form-row-3[b-iliab9s3kf] { grid-template-columns: 1fr 1fr; }

    /* Toast: full width at bottom */
    .wp-toast[b-iliab9s3kf] {
        bottom: 16px;
        right: 12px;
        left: 12px;
        font-size: 0.9rem;
    }
}
