@import '_content/Auxilia.Components/Auxilia.Components.4szmu6la2k.bundle.scp.css';
@import '_content/Auxilia.Security.Blazor/Auxilia.Security.Blazor.dbjz3xv8d9.bundle.scp.css';
@import '_content/CS.SurveyManager.Components/CS.SurveyManager.Components.fny0zcr3y7.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ========== Ensure dropdowns appear above all schedule elements ========== */
.active-project-selector .dropdown-menu[b-xd2kz7i76z] {
    z-index: 1060 !important; /* Bootstrap dropdown default is 1000, increased to be above schedule */
}

/* Ensure the project search combobox dropdown is always on top */
.active-project-selector .dropdown-menu.show[b-xd2kz7i76z] {
    z-index: 1060 !important; /* Above modals (1055) and schedule headers (5) */
}

/* ========== Round Action Buttons (Desktop-style) ========== */
.project-action-buttons[b-xd2kz7i76z] {
    margin-left: 0.25rem;
    gap: 4px;
}

.btn-round-action[b-xd2kz7i76z] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d6d5d5;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

    .btn-round-action:hover:not(:disabled)[b-xd2kz7i76z] {
        background-color: #e9ecef;
        border-color: #adb5bd;
        transform: scale(1.05);
    }

    .btn-round-action:active:not(:disabled)[b-xd2kz7i76z] {
        transform: scale(0.95);
    }

    .btn-round-action:disabled[b-xd2kz7i76z] {
        opacity: 0.4;
        cursor: not-allowed;
        background-color: #f8f9fa;
    }

    .btn-round-action span[b-xd2kz7i76z] {
        line-height: 1;
    }

    .btn-round-action i[b-xd2kz7i76z] {
        font-size: 0.85rem;
    }

/* Clear button styling */
.btn-round-clear[b-xd2kz7i76z] {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
}

    .btn-round-clear:hover:not(:disabled)[b-xd2kz7i76z] {
        background-color: #dc3545;
        border-color: #dc3545;
        color: #fff;
    }

/* Dark theme support for round buttons */
:root[data-bs-theme="dark"] .btn-round-action[b-xd2kz7i76z] {
    background-color: #2d2d2d;
    border-color: #444;
    color: #e0e0e0;
}

    :root[data-bs-theme="dark"] .btn-round-action:hover:not(:disabled)[b-xd2kz7i76z] {
        background-color: #3d3d3d;
        border-color: #666;
    }

    :root[data-bs-theme="dark"] .btn-round-action:disabled[b-xd2kz7i76z] {
        background-color: #1a1a1a;
        opacity: 0.4;
    }

:root[data-bs-theme="dark"] .btn-round-clear:hover:not(:disabled)[b-xd2kz7i76z] {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.project-selector-box[b-xd2kz7i76z] {
    width: 350px;
    min-width: 0;
}

@media (max-width: 640.98px) {
    /* Only the selector itself fits beside the top bar's own buttons on small screens */
    .project-action-buttons[b-xd2kz7i76z],
    .signalr-status-slot[b-xd2kz7i76z],
    .active-project-selector > .text-muted[b-xd2kz7i76z] {
        display: none !important;
    }

    .project-selector-box[b-xd2kz7i76z] {
        width: 10rem;
    }
}

#blazor-error-ui[b-xd2kz7i76z] {
    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-xd2kz7i76z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ikyp7ipr08] {
    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-ikyp7ipr08] {
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-scrollable[b-ikyp7ipr08] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
}

.nav-scrollable[b-ikyp7ipr08]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-ikyp7ipr08]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

:root[data-bs-theme="dark"] .nav-scrollable[b-ikyp7ipr08]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.nav-scrollable[b-ikyp7ipr08]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

:root[data-bs-theme="dark"] .nav-scrollable[b-ikyp7ipr08]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.nav-scrollable[b-ikyp7ipr08]::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

:root[data-bs-theme="dark"] .nav-scrollable[b-ikyp7ipr08]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* === Navigation Items === */
.nav[b-ikyp7ipr08] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0 0.75rem;
}

.nav-item[b-ikyp7ipr08] {
    margin: 0;
    padding-bottom: 0;
    font-size: 0.9375rem;
}

.nav-link[b-ikyp7ipr08] {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    color: #1e293b;  /* Dark text for light background */
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 150ms ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    height: auto;
    line-height: 1.5;
}

:root[data-bs-theme="dark"] .nav-link[b-ikyp7ipr08] {
    color: #f1f5f9;
}

.nav-link[b-ikyp7ipr08]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #1e293b;  /* Dark indicator for light background */
    transform: translateX(-100%);
    transition: transform 150ms ease;
}

:root[data-bs-theme="dark"] .nav-link[b-ikyp7ipr08]::before {
    background: #f1f5f9;
}

.nav-link:hover[b-ikyp7ipr08] {
    background-color: rgba(30, 41, 59, 0.1);  /* Dark tint on hover */
    color: #1e293b;  /* Dark on hover */
    transform: translateX(2px);
}

:root[data-bs-theme="dark"] .nav-link:hover[b-ikyp7ipr08] {
    background-color: rgba(241, 245, 249, 0.1);
    color: #ffffff;
}

.nav-link.active[b-ikyp7ipr08] {
    background-color: rgba(30, 41, 59, 0.15);  /* Dark tint when active */
    color: #0f172a;  /* Very dark when active */
    font-weight: 600;
}

:root[data-bs-theme="dark"] .nav-link.active[b-ikyp7ipr08] {
    background-color: rgba(241, 245, 249, 0.15);
    color: #ffffff;
}

/* === Icons === */
.nav-link .bi[b-ikyp7ipr08],
.nav-link .oi[b-ikyp7ipr08] {
    font-size: 1.125rem;
    margin-right: 0.75rem;
    min-width: 1.125rem;
    opacity: 0.7;
    transition: opacity 150ms ease;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    position: relative;
    top: 0;
    background-size: cover;
}

.nav-link:hover .bi[b-ikyp7ipr08],
.nav-link:hover .oi[b-ikyp7ipr08],
.nav-link.active .bi[b-ikyp7ipr08],
.nav-link.active .oi[b-ikyp7ipr08] {
    opacity: 1;
}

/* Bootstrap Icons - Dark colors for light background */
.bi-house-door-fill-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' 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");
}

:root[data-bs-theme="dark"] .bi-house-door-fill-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23cbd5e1' 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-person-fill-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

:root[data-bs-theme="dark"] .bi-person-fill-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23cbd5e1' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

:root[data-bs-theme="dark"] .bi-arrow-bar-left-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23cbd5e1' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

:root[data-bs-theme="dark"] .bi-person-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23cbd5e1' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

:root[data-bs-theme="dark"] .bi-person-badge-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23cbd5e1' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' 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");
}

:root[data-bs-theme="dark"] .bi-list-nested-nav-menu[b-ikyp7ipr08] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23cbd5e1' 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");
}

/* === Section Headers === */
.nav-item .text-muted[b-ikyp7ipr08] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;  /* Medium dark gray for light background */
    padding: 1rem 1rem 0.375rem;
    margin-top: 0.25rem;
}

:root[data-bs-theme="dark"] .nav-item .text-muted[b-ikyp7ipr08] {
    color: rgba(255, 255, 255, 0.5);
}

/* === Expandable Config Menu === */
.nav-link .bi-chevron-down[b-ikyp7ipr08],
.nav-link .bi-chevron-right[b-ikyp7ipr08] {
    font-size: 0.875rem;
    margin-left: auto;
    margin-right: 0;
    transition: transform 150ms ease;
}

.nav-item.ps-5 .nav-link[b-ikyp7ipr08] {
    padding-left: 2.75rem;
    font-size: 0.875rem;
    height: auto;
    line-height: 1.5;
}

/* === Logout Form === */
/* === Mobile Navigation Toggle === */
.navbar-toggler[b-ikyp7ipr08] {
    display: none;
}

@media (max-width: 640.98px) {
    .navbar-toggler[b-ikyp7ipr08] {
        display: block;
        position: fixed;
        top: 0.5rem;
        right: 1rem;
        left: auto;
        z-index: 1100;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border: none;
        background: #f8fafc;
        border-radius: 0.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        appearance: none;
        cursor: pointer;
    }

    :root[data-bs-theme="dark"] .navbar-toggler[b-ikyp7ipr08] {
        background: #000000;
    }

    .navbar-toggler[b-ikyp7ipr08]::before {
        content: "☰";
        font-size: 1.5rem;
        color: #1e293b;
    }

    :root[data-bs-theme="dark"] .navbar-toggler[b-ikyp7ipr08]::before {
        color: white;
    }

    .navbar-toggler:checked[b-ikyp7ipr08]::before {
        content: "✕";
    }

    .navbar-toggler:checked ~ .nav-scrollable[b-ikyp7ipr08] {
        display: block;
    }

    .nav-scrollable[b-ikyp7ipr08] {
        display: none;
    }
}

@media (min-width: 641px) {
    .nav-scrollable[b-ikyp7ipr08] {
        display: block;
        height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Planner/ScheduleMonthView.razor.rz.scp.css */
.schedule-header[b-jxmt81x7hc] {
    display: grid;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.schedule-header.week-view[b-jxmt81x7hc] {
    grid-template-columns: repeat(7, 1fr);
}

.schedule-header.month-view[b-jxmt81x7hc] {
    grid-template-columns: repeat(7, 1fr);
}

.schedule-header-cell[b-jxmt81x7hc] {
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid #dee2e6;
}

.schedule-header-cell:last-child[b-jxmt81x7hc] {
    border-right: none;
}

/* Today highlight for week view header */
.schedule-header-cell.today[b-jxmt81x7hc] {
    background-color: #3b82f6;
    color: white;
}

.schedule-header-cell.today small[b-jxmt81x7hc] {
    color: rgba(255, 255, 255, 0.9);
}


/* ================================
   MONTH VIEW - Spanning Task Bars
   ================================ */

.month-view-container[b-jxmt81x7hc] {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.month-week-row[b-jxmt81x7hc] {
    position: relative;
    min-height: 100px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
}

.month-week-row:last-child[b-jxmt81x7hc] {
    border-bottom: none;
}

/* Background columns for month view week rows */
.month-columns-background[b-jxmt81x7hc] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    z-index: 0;
}

.month-column[b-jxmt81x7hc] {
    border-right: 1px solid #dee2e6;
}

.month-column:last-child[b-jxmt81x7hc] {
    border-right: none;
}

.month-column.today[b-jxmt81x7hc] {
    background-color: rgba(59, 130, 246, 0.05);
}

.month-column.other-month[b-jxmt81x7hc] {
    background-color: #f9fafb;
}

.month-column.drag-over[b-jxmt81x7hc] {
    background-color: rgba(59, 130, 246, 0.15);
}

/* Day numbers row in month view */
.month-day-numbers[b-jxmt81x7hc] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 0;
    pointer-events: none;
}

.month-day-number[b-jxmt81x7hc] {
    padding: 2px 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.month-day-number.other-month[b-jxmt81x7hc] {
    color: #9ca3af;
}

.month-day-number.today[b-jxmt81x7hc] {
    color: #3b82f6;
    font-weight: 700;
}

/* Task bars area in month view */
.month-tasks-area[b-jxmt81x7hc] {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2px 0;
    min-height: 60px;
    pointer-events: none;
}

.month-task-row[b-jxmt81x7hc] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 22px;
    margin-bottom: 2px;
    pointer-events: auto;
}

/* Row for per-day "+n more" indicators */
.month-more-row[b-jxmt81x7hc] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 18px;
    pointer-events: auto;
}

.month-more-cell[b-jxmt81x7hc] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 4px;
}

.month-more-cell-empty[b-jxmt81x7hc] {
    /* Empty placeholder cell */
}

.month-more-tasks[b-jxmt81x7hc] {
    font-size: 0.7rem;
    color: #6b7280;
    padding: 2px 4px;
    text-align: left;
    cursor: pointer;
    transition: color 0.15s;
    white-space: nowrap;
}

.month-more-tasks:hover[b-jxmt81x7hc] {
    color: #3b82f6;
    text-decoration: underline;
}

/* Wrapper for more tasks with hover popup */
.month-more-tasks-wrapper[b-jxmt81x7hc] {
    position: relative;
    pointer-events: auto;
}

/* Hidden tasks popup - shown on hover */
.month-hidden-tasks-popup[b-jxmt81x7hc] {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    min-width: 280px;
    max-width: 320px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    pointer-events: none;
    overflow: visible; /* Allow summary card to overflow */
}

/* Bridge element to prevent hover gap issues */
.month-hidden-tasks-popup[b-jxmt81x7hc]::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.month-more-tasks-wrapper:hover .month-hidden-tasks-popup[b-jxmt81x7hc] {
    display: block;
    pointer-events: auto;
}

.month-hidden-tasks-popup:hover[b-jxmt81x7hc] {
    display: block;
    pointer-events: auto;
}

.popup-header[b-jxmt81x7hc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.popup-header strong[b-jxmt81x7hc] {
    font-size: 0.85rem;
    color: #1f2937;
}

.popup-count[b-jxmt81x7hc] {
    font-size: 0.75rem;
    color: #6b7280;
}

.popup-tasks-list[b-jxmt81x7hc] {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: visible;
    padding: 8px;
}
/* /Components/Pages/Planner/ScheduleWeekView.razor.rz.scp.css */
.schedule-header[b-8r3jei0sut] {
    display: grid;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.schedule-header.week-view[b-8r3jei0sut] {
    grid-template-columns: repeat(7, 1fr);
}

.schedule-header.month-view[b-8r3jei0sut] {
    grid-template-columns: repeat(7, 1fr);
}

.schedule-header-cell[b-8r3jei0sut] {
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid #dee2e6;
}

.schedule-header-cell:last-child[b-8r3jei0sut] {
    border-right: none;
}

/* Today highlight for week view header */
.schedule-header-cell.today[b-8r3jei0sut] {
    background-color: #3b82f6;
    color: white;
}

.schedule-header-cell.today small[b-8r3jei0sut] {
    color: rgba(255, 255, 255, 0.9);
}


/* Week view container - increased height since day row removed */
.schedule-week-container[b-8r3jei0sut] {
    position: relative;
    min-height: 640px; /* Added ~40px from removed day row */
    display: flex;
    flex-direction: column;
}

/* Background columns that extend full height */
.schedule-columns-background[b-8r3jei0sut] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    z-index: 0;
}

.schedule-column[b-8r3jei0sut] {
    border-right: 1px solid #dee2e6;
}

.schedule-column:last-child[b-8r3jei0sut] {
    border-right: none;
}

.schedule-column.today[b-8r3jei0sut] {
    background-color: rgba(59, 130, 246, 0.05);
}

.schedule-column.drag-over[b-8r3jei0sut] {
    background-color: rgba(59, 130, 246, 0.15);
}

/* Task rows overlaid on columns */
.schedule-tasks-container[b-8r3jei0sut] {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: min-content;
    grid-auto-flow: row dense;
    gap: 4px;
    padding: 6px 0;
    pointer-events: none;
    align-content: start;
}

.schedule-task-row[b-8r3jei0sut] {
    pointer-events: auto;
    min-height: 48px;
    display: contents; /* Makes children direct grid items */
}

/* Empty state message */
.schedule-empty-state[b-8r3jei0sut] {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}
/* /Components/Pages/Planner/TaskScheduleView.razor.rz.scp.css */
.schedule-grid[b-7nc7kaetu4] {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: visible;
}

/* ================================
   CLASSIFICATION LEGEND
   ================================ */

.classification-legend .card-header[b-7nc7kaetu4] {
    font-size: 0.85rem;
}

.classification-legend .card-header h6[b-7nc7kaetu4] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.classification-legend .card-body[b-7nc7kaetu4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legend-bar[b-7nc7kaetu4] {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid #64748b;
    min-height: 28px;
}

.legend-bar-text[b-7nc7kaetu4] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Pages/SurveyClients/SurveyClientIndex.razor.rz.scp.css */
table[b-g673od8qbw] {
    vertical-align: middle;
}

tr[b-g673od8qbw], td[b-g673od8qbw] {   
    overflow: hidden;
    width: 600px;
    height: 30px;
}

/* Higher specificity to override Bootstrap's .table-hover */
/* Light Theme (Default and data-bs-theme="light") */
:root table tbody tr:nth-child(odd) td[b-g673od8qbw],
:root[data-bs-theme="light"] table tbody tr:nth-child(odd) td[b-g673od8qbw] {
    background-color: #f8f9fa !important; /* Light gray */
    color: #212529 !important; /* Dark text */
}

:root table tbody tr:nth-child(odd):hover td[b-g673od8qbw],
:root[data-bs-theme="light"] table tbody tr:nth-child(odd):hover td[b-g673od8qbw] {
    background-color: #e9ecef !important; /* Slightly darker on hover */
    color: #212529 !important; /* Dark text */
}

:root table tbody tr:nth-child(even) td[b-g673od8qbw],
:root[data-bs-theme="light"] table tbody tr:nth-child(even) td[b-g673od8qbw] {
    background-color: #ffffff !important; /* White */
    color: #212529 !important; /* Dark text */
}

:root table tbody tr:nth-child(even):hover td[b-g673od8qbw],
:root[data-bs-theme="light"] table tbody tr:nth-child(even):hover td[b-g673od8qbw] {
    background-color: #e9ecef !important; /* Light gray on hover */
    color: #212529 !important; /* Dark text */
}

/* Dark Theme - data-bs-theme="dark" */
:root[data-bs-theme="dark"] table tbody tr:nth-child(odd) td[b-g673od8qbw] {
    background-color: #222222 !important; /* Dark gray */
    color: #e0e0e0 !important; /* Very light grey text */
}

:root[data-bs-theme="dark"] table tbody tr:nth-child(odd):hover td[b-g673od8qbw] {
    background-color: #000000 !important; /* Black on hover */
    color: #e0e0e0 !important; /* Very light grey text */
}

:root[data-bs-theme="dark"] table tbody tr:nth-child(even) td[b-g673od8qbw] {
    background-color: #333333 !important; /* Slightly lighter dark gray */
    color: #e0e0e0 !important; /* Very light grey text */
}

:root[data-bs-theme="dark"] table tbody tr:nth-child(even):hover td[b-g673od8qbw] {
    background-color: #000000 !important; /* Black on hover */
    color: #e0e0e0 !important; /* Very light grey text */
}

/* Fallback: Media query for browsers without JS or data-bs-theme */
@media (prefers-color-scheme: dark) {
    :root:not([data-bs-theme]) table tbody tr:nth-child(odd) td[b-g673od8qbw] {
        background-color: #222222 !important;
        color: #e0e0e0 !important;
    }

    :root:not([data-bs-theme]) table tbody tr:nth-child(odd):hover td[b-g673od8qbw] {
        background-color: #000000 !important;
        color: #e0e0e0 !important;
    }

    :root:not([data-bs-theme]) table tbody tr:nth-child(even) td[b-g673od8qbw] {
        background-color: #333333 !important;
        color: #e0e0e0 !important;
    }

    :root:not([data-bs-theme]) table tbody tr:nth-child(even):hover td[b-g673od8qbw] {
        background-color: #000000 !important;
        color: #e0e0e0 !important;
    }
}

/* /Components/Shared/AssetReminderBell.razor.rz.scp.css */
.reminder-bell[b-58x69624r5] {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d6d5d5;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.15s ease;
}

    .reminder-bell:hover[b-58x69624r5] {
        background-color: #e9ecef;
        border-color: #adb5bd;
        transform: scale(1.05);
    }

    .reminder-bell.has-due[b-58x69624r5] {
        color: #b78103;
    }

    .reminder-bell.has-overdue[b-58x69624r5] {
        color: #dc3545;
    }

    .reminder-bell i[b-58x69624r5] {
        font-size: 1rem;
        line-height: 1;
    }

.reminder-bell-badge[b-58x69624r5] {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #fff;
    border: 2px solid #fff;
}
/* /Components/Shared/Planner/ChecklistItemRow.razor.rz.scp.css */
/* ========================================
   Checklist Item Row Component Styles
   Reusable checklist item styling
   ======================================== */

.checklist-item[b-ktn1qycdbe] {
    display: flex;
    align-items: center;
    padding: 6px 4px 6px 0;
    border-bottom: 1px solid #e9ecef;
    gap: 6px;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    cursor: default;
    background-color: #ffffff;
}

.checklist-item:last-child[b-ktn1qycdbe] {
    border-bottom: none;
}

.checklist-item:hover[b-ktn1qycdbe] {
    background-color: #f8f9fa;
}

.checklist-item:hover .checklist-actions[b-ktn1qycdbe],
.checklist-item:hover .checklist-drag-handle[b-ktn1qycdbe] {
    opacity: 1;
}

.checklist-item.dragging[b-ktn1qycdbe] {
    opacity: 0.5;
    background-color: #e9ecef;
}

.checklist-item.completed[b-ktn1qycdbe] {
    background-color: #f8f9fa;
}

/* Drag Handle */
.checklist-drag-handle[b-ktn1qycdbe] {
    flex-shrink: 0;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.15s ease;
    padding-left: 2px;
    font-size: 0.85rem;
}

.checklist-drag-handle:hover[b-ktn1qycdbe] {
    color: #6c757d;
}

.checklist-drag-handle:active[b-ktn1qycdbe] {
    cursor: grabbing;
}

/* Checkbox Area */
.checklist-checkbox[b-ktn1qycdbe] {
    flex-shrink: 0;
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.checklist-number[b-ktn1qycdbe] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Content Area */
.checklist-content[b-ktn1qycdbe] {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.checklist-title[b-ktn1qycdbe] {
    color: #212529;
    font-size: 0.85rem;
    line-height: 1.3;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checklist-title.completed-text[b-ktn1qycdbe] {
    color: #6c757d;
    text-decoration: line-through;
}

.checklist-input[b-ktn1qycdbe] {
    width: 100%;
    border: none;
    background: transparent;
    color: #212529;
    font-size: 0.85rem;
    padding: 0;
    margin: 0;
    outline: none;
}

.checklist-input[b-ktn1qycdbe]::placeholder {
    color: #adb5bd;
}

.checklist-input:focus[b-ktn1qycdbe] {
    color: #212529;
    background: transparent;
    box-shadow: none;
}

/* Completed Date */
.checklist-date[b-ktn1qycdbe] {
    flex-shrink: 0;
    min-width: 50px;
    text-align: right;
    font-size: 0.75rem;
}

/* Actions (Delete Button) */
.checklist-actions[b-ktn1qycdbe] {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
    padding-right: 4px;
}

.checklist-delete-btn[b-ktn1qycdbe] {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: #adb5bd;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.checklist-delete-btn:hover[b-ktn1qycdbe] {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Compact mode for modals */
:host-context(.checklist-compact) .checklist-item[b-ktn1qycdbe],
.checklist-compact .checklist-item[b-ktn1qycdbe] {
    padding: 4px 4px 4px 0;
}

:host-context(.checklist-compact) .checklist-title[b-ktn1qycdbe],
:host-context(.checklist-compact) .checklist-input[b-ktn1qycdbe],
.checklist-compact .checklist-title[b-ktn1qycdbe],
.checklist-compact .checklist-input[b-ktn1qycdbe] {
    font-size: 0.8rem;
}

:host-context(.checklist-compact) .checklist-drag-handle[b-ktn1qycdbe],
.checklist-compact .checklist-drag-handle[b-ktn1qycdbe] {
    width: 16px;
}

:host-context(.checklist-compact) .checklist-checkbox[b-ktn1qycdbe],
.checklist-compact .checklist-checkbox[b-ktn1qycdbe] {
    width: 20px;
}
/* /Components/Shared/Planner/CreateTaskModal.razor.rz.scp.css */
.checklist-container[b-9j5g6xdw1b] {
    max-height: 200px;
    overflow-y: auto;
}

.checklist-container[b-9j5g6xdw1b]::-webkit-scrollbar {
    width: 6px;
}

.checklist-container[b-9j5g6xdw1b]::-webkit-scrollbar-thumb {
    background-color: #e9ecef;
    border-radius: 3px;
}

.checklist-container[b-9j5g6xdw1b]::-webkit-scrollbar-thumb:hover {
    background-color: #ced4da;
}

/* Checklist item layout */
.checklist-item[b-9j5g6xdw1b] {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
}

.checklist-grip[b-9j5g6xdw1b] {
    width: 16px;
    flex-shrink: 0;
}

.checklist-checkbox-container[b-9j5g6xdw1b] {
    width: 24px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.checklist-number[b-9j5g6xdw1b] {
    width: 24px;
    flex-shrink: 0;
    text-align: center;
    font-weight: 500;
    color: #6c757d;
}

.checklist-input[b-9j5g6xdw1b] {
    flex-grow: 1;
    margin-left: 0.5rem;
}

.checklist-delete-btn[b-9j5g6xdw1b] {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    padding: 0;
}

/* Add item input group */
.checklist-add-icon[b-9j5g6xdw1b] {
    width: 40px;
    justify-content: center;
}

/* Template icon */
.template-icon[b-9j5g6xdw1b] {
    font-size: 1.5rem;
}

/* Tag and user close buttons */
.tag-close-btn[b-9j5g6xdw1b] {
    font-size: 0.5rem;
}

.user-close-btn[b-9j5g6xdw1b] {
    font-size: 0.6rem;
}
/* /Components/Shared/Planner/ScheduleTaskCard.razor.rz.scp.css */
/* ========================================
   Schedule Task Card Component Styles
   Single point of styling for task cards
   ======================================== */

.schedule-task-card-wrapper[b-d484mf4kj9] {
    position: relative;
}

.schedule-task-card[b-d484mf4kj9] {
    background: white;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #3b82f6;
    border-radius: 0.25rem;
    padding: 0.375rem 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    cursor: grab;
    transition: box-shadow 0.2s, transform 0.1s, opacity 0.2s;
    position: relative;
    overflow: hidden;
}

.schedule-task-card:hover[b-d484mf4kj9] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.schedule-task-card:active[b-d484mf4kj9] {
    cursor: grabbing;
}

/* Dragging state */
.schedule-task-card:active[b-d484mf4kj9],
.schedule-task-card[draggable="true"]:active[b-d484mf4kj9] {
    opacity: 0.7;
    cursor: grabbing;
}

/* Show hover summary on card hover */
.schedule-task-card-wrapper:hover .task-hover-summary[b-d484mf4kj9] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Compact mode for month view */
.schedule-task-card.compact[b-d484mf4kj9] {
    padding: 0.25rem 0.375rem;
    font-size: 0.7rem;
}

.schedule-task-card.compact .task-checklist[b-d484mf4kj9] {
    display: none;
}

/* Status styles */
.schedule-task-card.overdue[b-d484mf4kj9] {
    border-left-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.schedule-task-card.due-today[b-d484mf4kj9] {
    background-color: rgba(245, 158, 11, 0.05);
}

.schedule-task-card.completed[b-d484mf4kj9] {
    opacity: 0.6;
    background-color: rgba(34, 197, 94, 0.05);
}

.schedule-task-card.completed .task-project-number[b-d484mf4kj9] {
    text-decoration: line-through;
}

/* Header with project number and tag */
.task-card-header[b-d484mf4kj9] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.25rem;
}

.task-project-number[b-d484mf4kj9] {
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-tag-badge[b-d484mf4kj9] {
    font-size: 0.55rem;
    padding: 1px 4px;
    border-radius: 3px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.task-priority[b-d484mf4kj9] {
    font-size: 0.6rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* Checklist progress */
.task-checklist[b-d484mf4kj9] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    color: #6b7280;
}

.task-checklist i[b-d484mf4kj9] {
    font-size: 0.7rem;
}

/* Status indicator */
.task-status-indicator[b-d484mf4kj9] {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    font-size: 0.6rem;
}

.task-status-indicator.overdue[b-d484mf4kj9] {
    color: #ef4444;
}

.task-status-indicator.due-today[b-d484mf4kj9] {
    color: #f59e0b;
}

/* Priority colors */
.priority-urgent[b-d484mf4kj9] {
    color: #ef4444;
}

.priority-important[b-d484mf4kj9] {
    color: #f97316;
}

.priority-medium[b-d484mf4kj9] {
    color: #3b82f6;
}

.priority-low[b-d484mf4kj9] {
    color: #9ca3af;
}

/* Hover Summary Card */
.task-hover-summary[b-d484mf4kj9] {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* Position adjustment for cards near right edge */
.schedule-day:nth-child(7n) .task-hover-summary[b-d484mf4kj9],
.schedule-day:nth-child(7n-1) .task-hover-summary[b-d484mf4kj9] {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 8px;
}
/* /Components/Shared/Planner/SpanningTaskBar.razor.rz.scp.css */
/* ========================================
   Spanning Task Bar Component Styles
   Simple single-line bar with hover summary
   ======================================== */

/* Wrapper for positioning hover card */
.spanning-task-bar-wrapper[b-v1rrbsxkdg] {
    position: relative;
    z-index: 1;
    width: calc(100% - 8px);
    margin-left: 4px;
    min-width: 0;
    max-width: 100%;
}

.spanning-task-bar-wrapper:hover[b-v1rrbsxkdg] {
    z-index: 100;
}

.spanning-task-bar-wrapper.resizing[b-v1rrbsxkdg] {
    z-index: 150;
}

.spanning-task-bar[b-v1rrbsxkdg] {
    border: 1px solid #d1d5db;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: grab;
    transition: box-shadow 0.2s, transform 0.1s;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.spanning-task-bar:hover[b-v1rrbsxkdg] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.spanning-task-bar:active:not(:has(.resize-handle:hover))[b-v1rrbsxkdg] {
    cursor: grabbing;
    opacity: 0.85;
    transform: translateY(0);
}

/* Resize Handles */
.resize-handle[b-v1rrbsxkdg] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    cursor: ew-resize;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.2s, background-color 0.2s;
    background-color: transparent;
}

.resize-handle-left[b-v1rrbsxkdg] {
    left: -2px;
    border-left: 3px solid transparent;
    border-radius: 4px 0 0 4px;
}

.resize-handle-right[b-v1rrbsxkdg] {
    right: -2px;
    border-right: 3px solid transparent;
    border-radius: 0 4px 4px 0;
}

.spanning-task-bar:not(.compact):hover .resize-handle[b-v1rrbsxkdg] {
    opacity: 1;
}

.resize-handle:hover[b-v1rrbsxkdg] {
    background-color: rgba(59, 130, 246, 0.15);
}

.resize-handle-left:hover[b-v1rrbsxkdg] {
    border-left-color: #3b82f6;
}

.resize-handle-right:hover[b-v1rrbsxkdg] {
    border-right-color: #3b82f6;
}

/* Active resizing state */
.resizing .resize-handle[b-v1rrbsxkdg] {
    opacity: 1;
    background-color: rgba(59, 130, 246, 0.2);
}

.resizing .resize-handle-left[b-v1rrbsxkdg] {
    border-left-color: #3b82f6;
}

.resizing .resize-handle-right[b-v1rrbsxkdg] {
    border-right-color: #3b82f6;
}

/* Disable drag and change cursor when resizing */
.resizing .spanning-task-bar[b-v1rrbsxkdg] {
    cursor: ew-resize !important;
    user-select: none;
    pointer-events: auto;
}

/* Force resize cursor on entire body during resize */
body.resizing-task-bar[b-v1rrbsxkdg] {
    cursor: ew-resize !important;
    user-select: none !important;
}

body.resizing-task-bar *[b-v1rrbsxkdg] {
    cursor: ew-resize !important;
}

/* Ensure handles are on top during resize */
.resizing .resize-handle[b-v1rrbsxkdg] {
    z-index: 20;
    pointer-events: auto;
}

/* Line 1: Project Number - Description */
.spanning-task-bar .task-line-1[b-v1rrbsxkdg] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
    min-width: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.spanning-task-bar .task-project-number[b-v1rrbsxkdg] {
    font-weight: 700;
    color: #1f2937;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.spanning-task-bar .task-description[b-v1rrbsxkdg] {
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    font-size: 0.8rem;
    min-width: 0;
}

.spanning-task-bar .task-actions[b-v1rrbsxkdg] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.spanning-task-bar .task-priority[b-v1rrbsxkdg] {
    font-size: 0.7rem;
    flex-shrink: 0;
}

.spanning-task-bar .task-time-btn[b-v1rrbsxkdg] {
    display: none;
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: #6b7280;
    font-size: 0.75rem;
    border-radius: 3px;
    transition: color 0.15s, background-color 0.15s;
    position: relative;
    z-index: 10;
}

.spanning-task-bar .task-time-btn:hover[b-v1rrbsxkdg] {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

.spanning-task-bar:hover .task-time-btn[b-v1rrbsxkdg] {
    display: inline-flex;
}

.spanning-task-bar.compact .task-time-btn[b-v1rrbsxkdg] {
    display: none !important;
}

/* Line 2: Tags - constrained to single line with truncation */
.spanning-task-bar .task-line-2[b-v1rrbsxkdg] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.spanning-task-bar .task-tag-badge[b-v1rrbsxkdg] {
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 3px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spanning-task-bar .task-tag-more[b-v1rrbsxkdg] {
    font-size: 0.6rem;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
}

/* Set Active Project Button */
.spanning-task-bar .task-set-project-btn[b-v1rrbsxkdg] {
    display: none;
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: #6b7280;
    font-size: 0.7rem;
    border-radius: 3px;
    transition: color 0.15s, background-color 0.15s;
    position: relative;
    z-index: 10;
    margin-left: auto;
    flex-shrink: 0;
}

.spanning-task-bar .task-set-project-btn:hover[b-v1rrbsxkdg] {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

.spanning-task-bar:hover .task-set-project-btn[b-v1rrbsxkdg] {
    display: inline-flex;
}

.spanning-task-bar.compact .task-set-project-btn[b-v1rrbsxkdg] {
    display: none !important;
}

/* Compact mode for month view - hide tags and resize handles */
.spanning-task-bar.compact[b-v1rrbsxkdg] {
    padding: 4px 8px;
    gap: 0;
    overflow: hidden;
}

.spanning-task-bar.compact .task-line-1[b-v1rrbsxkdg] {
    min-height: 16px;
}

.spanning-task-bar.compact .task-project-number[b-v1rrbsxkdg] {
    font-size: 0.75rem;
}

.spanning-task-bar.compact .task-description[b-v1rrbsxkdg] {
    font-size: 0.7rem;
}

.spanning-task-bar.compact .task-line-2[b-v1rrbsxkdg],
.spanning-task-bar.compact .resize-handle[b-v1rrbsxkdg] {
    display: none;
}

/* Status styles - Completed */
.spanning-task-bar.completed[b-v1rrbsxkdg] {
    opacity: 0.65;
    border-color: #86efac;
    background-color: #f3f4f6 !important;
}

.spanning-task-bar.completed .task-project-number[b-v1rrbsxkdg] {
    text-decoration: line-through;
    color: #6b7280;
}

.spanning-task-bar.completed .task-description[b-v1rrbsxkdg] {
    text-decoration: line-through;
    color: #9ca3af;
}

/* Status styles - Overdue */
.spanning-task-bar.overdue[b-v1rrbsxkdg] {
    border-left-color: #ef4444 !important;
    border-color: #fca5a5;
}

.spanning-task-bar.overdue .task-project-number[b-v1rrbsxkdg] {
    color: #b91c1c;
}

/* Status styles - Due Today */
.spanning-task-bar.due-today[b-v1rrbsxkdg] {
    border-left-color: #f59e0b !important;
    border-color: #fcd34d;
}

/* ========================================
   Hover Summary Card - Rich detail popup
   ======================================== */

.task-hover-summary[b-v1rrbsxkdg] {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* Add an invisible bridge element to prevent hover gap issues */
.task-hover-summary[b-v1rrbsxkdg]::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.spanning-task-bar-wrapper:hover:not(.resizing) .task-hover-summary[b-v1rrbsxkdg] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Keep hover card visible when hovering over it */
.task-hover-summary:hover[b-v1rrbsxkdg] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
/* /Components/Shared/Planner/TaskSummaryCard.razor.rz.scp.css */
/* Task Summary Card - Elegant floating hover card */

.task-summary-card[b-eh3m0m4xg5] {
    min-width: 280px;
    max-width: 320px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 12px;
    font-size: 0.8rem;
}

/* Header - single line with checkbox, project number, and priority */
.summary-header[b-eh3m0m4xg5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
    gap: 8px;
}

.summary-project-info[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.summary-project[b-eh3m0m4xg5] {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
}

.summary-priority[b-eh3m0m4xg5] {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f3f4f6;
    flex-shrink: 0;
    white-space: nowrap;
}

.summary-priority.priority-urgent[b-eh3m0m4xg5] {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.summary-priority.priority-important[b-eh3m0m4xg5] {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.summary-priority.priority-medium[b-eh3m0m4xg5] {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.summary-priority.priority-low[b-eh3m0m4xg5] {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}

/* Task Description */
.summary-task-description[b-eh3m0m4xg5] {
    margin-bottom: 6px;
    color: #1f2937;
    font-size: 0.85rem;
}

/* Project Description */
.summary-project-description[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #4b5563;
    margin-bottom: 8px;
    padding: 4px 6px;
    background: #f9fafb;
    border-radius: 4px;
}

.summary-project-description i[b-eh3m0m4xg5] {
    color: #6b7280;
    font-size: 0.7rem;
}

/* Client */
.summary-client[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.summary-client i[b-eh3m0m4xg5] {
    color: #9ca3af;
}

/* Bucket and Tags Row */
.summary-bucket-tags-row[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

/* Bucket */
.summary-bucket[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #374151;
    flex-shrink: 0;
}

.bucket-dot[b-eh3m0m4xg5] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Tags (in bucket-tags row) */
.summary-bucket-tags-row .summary-tags[b-eh3m0m4xg5] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    margin-bottom: 0;
}

.tag-badge[b-eh3m0m4xg5] {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
}

/* Dates */
.summary-dates[b-eh3m0m4xg5] {
    margin-bottom: 10px;
}

.summary-date[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #374151;
    margin-bottom: 4px;
}

.summary-date i[b-eh3m0m4xg5] {
    color: #9ca3af;
    font-size: 0.7rem;
}

.summary-date.overdue[b-eh3m0m4xg5] {
    color: #dc2626;
}

.summary-date.overdue i[b-eh3m0m4xg5] {
    color: #dc2626;
}

.summary-date.due-today[b-eh3m0m4xg5] {
    color: #d97706;
}

.summary-date.due-today i[b-eh3m0m4xg5] {
    color: #d97706;
}

/* Sections */
.summary-section[b-eh3m0m4xg5] {
    margin-bottom: 10px;
}

.summary-section-header[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-section-header i[b-eh3m0m4xg5] {
    font-size: 0.75rem;
}

/* Checklist */
.summary-checklist[b-eh3m0m4xg5] {
    background: #f9fafb;
    border-radius: 6px;
    padding: 8px;
}

.summary-checklist .checklist-item[b-eh3m0m4xg5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #374151;
    padding: 3px 0;
}

.summary-checklist .checklist-item i[b-eh3m0m4xg5] {
    font-size: 0.7rem;
    flex-shrink: 0;
}

.summary-checklist .checklist-item-title[b-eh3m0m4xg5] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-checklist .checklist-item-title.completed[b-eh3m0m4xg5] {
    color: #9ca3af;
    text-decoration: line-through;
}

.summary-checklist .checklist-more[b-eh3m0m4xg5] {
    font-size: 0.7rem;
    color: #6b7280;
    font-style: italic;
    padding-top: 4px;
}

/* Assignees */
.summary-assignees[b-eh3m0m4xg5] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.assignee-badge[b-eh3m0m4xg5] {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 12px;
}

.assignee-more[b-eh3m0m4xg5] {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 12px;
}

/* Tags */
.summary-tags[b-eh3m0m4xg5] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.tag-badge[b-eh3m0m4xg5] {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
}

/* Notes */
.summary-notes[b-eh3m0m4xg5] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.7rem;
    color: #6b7280;
    font-style: italic;
    background: #fefce8;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.summary-notes i[b-eh3m0m4xg5] {
    color: #ca8a04;
    flex-shrink: 0;
}

/* Footer */
.summary-footer[b-eh3m0m4xg5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
}

.summary-status[b-eh3m0m4xg5] {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.summary-status.status-completed[b-eh3m0m4xg5] {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.summary-status.status-inprogress[b-eh3m0m4xg5] {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.summary-status.status-notstarted[b-eh3m0m4xg5] {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}

.summary-time[b-eh3m0m4xg5] {
    font-size: 0.7rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.summary-time i[b-eh3m0m4xg5] {
    font-size: 0.65rem;
}
