:root {
    --bs-success-rgb: 25, 135, 84;
    --bs-success: #3a5a94;
    --primary-very-light: #f0f4fc;
    --bs-primary: #27AE60;
}

body {
    background-color: #f8f9fa;
    font-size: 14px;
    font-family: 'Poppins', sans-serif !important;
}

[data-bs-theme="dark"] body {
    background-color: var(--dark-bg);
}
.light-logo {
    display: block;
}

.dark-logo {
    display: none;
}

html[data-bs-theme='dark'] .light-logo {
    display: none;
}

html[data-bs-theme='dark'] .dark-logo {
    display: block;
}


/* Round button look */
.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: 0.2s;
}

    .theme-toggle-btn:hover {
        background: var(--bs-light);
        transform: scale(1.05);
    }

/* Dropdown */
.theme-menu .theme-option {
    border-radius: 10px;
    padding: 10px 12px;
    transition: background 0.2s, transform 0.1s;
}

    .theme-menu .theme-option:hover {
        background: var(--bs-light);
        transform: scale(1.02);
    }

    .theme-menu .theme-option.active {
        background: rgba(0, 123, 255, 0.18);
        font-weight: 600;
    }

/* Hide check mark by default */
.check-icon {
    opacity: 0;
    transition: 0.2s;
}

/* Show check on selected */
.theme-option.active .check-icon {
    opacity: 1;
}

/* Icons styling */
.theme-icon {
    font-size: 22px;
}

.material-icons {
    font-size: 18px;
}

.sidebar {
    width: 284px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--bs-body-bg);
    border-right: 1px solid var(--bs-border-color);
    padding-top: 1rem;
    transition: transform 0.3s ease-in-out;
    z-index: 1030;
}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.open {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0 !important;
    }
}

.sidebar .nav-link {
    color: var(--bs-body-color);
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
}

    .sidebar .nav-link.active,
    .sidebar .nav-link:hover {
        background-color: var(--primary-very-light);
        color: var(--bs-success);
    }

    .sidebar .nav-link.active {
        font-weight: 500;
    }

    .sidebar .nav-link:not(.active):hover {
        background-color: var(--primary-very-light);
        color: var(--bs-success);
    }

    .sidebar .nav-link .material-icons {
        margin-right: 1rem;
    }

.sidebar .submenu {
    padding-left: 1.5rem;
}

    .sidebar .submenu .nav-link {
        padding-left: 0rem;
    }

    .sidebar .submenu .submenu .nav-link {
        padding-left: 0rem;
    }

.main-content {
    margin-left: 270px;
    padding: 2rem;
    transition: margin-left 0.3s ease-in-out;
}
.content-container {
    max-width: 100%;
}

.header-section {
    background-color: var(--bs-body-bg);
    padding: 0.8rem 0.5rem;
    margin: -2rem -2rem 2rem -2rem;
    border-bottom: 1px solid var(--bs-border-color);
}


.card {
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background-color: var(--bs-body-bg);
}

.kpi-card .card-body {
    display: flex;
    align-items: center;
}

.kpi-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.bg-success-light {
    background-color: #d1e7dd;
}

.text-success {
    color: white !important;
}

.bg-success {
    background-color: var(--bs-primary) !important;
}

.btn-success {
    background-color: var(--bs-primary) !important;
}
.btn-primary {
    background-color: var(--bs-primary) !important;
}

    .btn-success:hover {
        background-color: var(--bs-success) !important;
    }

.btn-outline-success {
    color: #25B34B;
    border-color: #25B34B;
}
.steps {
    width: 100%;
}

.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* vertical */
.steps-vertical .steps-list {
    position: relative;
    padding-left: 2.75rem;
}

    .steps-vertical .steps-list::before {
        content: "";
        position: absolute;
        left: .64rem;
        top: .25rem;
        bottom: .25rem;
        width: 2px;
        background: #d1d5db; /* gray-300 */
    }

.steps-vertical .steps-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0.6rem 0.4rem 0.6rem 1rem;
    cursor: pointer;
    border-radius: .5rem;
}

    .steps-vertical .steps-item .bullet {
        position: absolute;
        left: -1.05rem;
        height: 1.25rem;
        width: 1.25rem;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: #e5e7eb; /* gray-200 */
        border: 2px solid #fff;
        box-shadow: 0 0 0 2px #d1d5db;
        font-size: .7rem;
    }

    .steps-vertical .steps-item .label {
        font-weight: 600;
    }

    /* states */
    .steps-vertical .steps-item.is-active .bullet {
        background: #10b981;
        box-shadow: 0 0 0 2px #10b98133;
    }

    .steps-vertical .steps-item.is-active .label {
        color: #0f766e;
    }

    .steps-vertical .steps-item.is-done .bullet {
        background: #10b981;
        color: #fff;
    }

    .steps-vertical .steps-item.is-done .label {
        color: #065f46;
    }

    .steps-vertical .steps-item.is-next:hover {
        background: #f9fafb;
    }
/* subtle hover */

/* Optional: horizontal fallback if you ever toggle */
.steps-horizontal .steps-list {
    display: grid;
    grid-auto-flow: column;
    gap: .75rem;
}

.steps-horizontal .steps-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-dialog.modal-sm {
    max-width: 90%; /* responsive */
    width: 420px; /* base width */
}
/* Icon bubble + small check badge */
.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: var(--danger-100);
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    position: relative;
}

.confirm-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    background: var(--danger);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid #fff;
}

/* Danger button */
.btn-danger-accent {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    padding: .7rem 1rem;
    transition: background-color .2s ease, filter .2s ease;
}

    .btn-danger-accent:disabled {
        opacity: .85;
    }

    .btn-danger-accent:hover {
        background: #b91c1c; /* darker red for hover */
        border-color: #b91c1c;
        color: #fff; /* keep white text */
    }

/* Cancel button */
.btn-secondary-soft {
    background: var(--soft-200);
    color: var(--text-600);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: .7rem 1rem;
    transition: background-color .2s ease, filter .2s ease;
}

    .btn-secondary-soft:hover {
        background: #d1d5db; /* slightly darker grey */
        color: var(--text-600); /* keep text visible */
    }
/* Remove default header spacing since design is headerless */
.modal-content {
    overflow: hidden;
}
/* Make it nice on very small screens */
@@media (max-width: 576px) {
    .steps-vertical .steps-list {
        padding-left: 1.5rem;
    }

    .steps-vertical .steps-item .label {
        font-size: .95rem;
    }
}

    .btn-outline-success:hover {
        background-color: #25B34B;
        border-color: #25B34B;
        color: #fff;
    }

.calendar .day {
    text-align: center;
    padding: 0.5rem;
}

    .calendar .day.today {
        background-color: #25B34B;
        color: #fff;
        border-radius: 50%;
    }

.dropdown-item.active .material-icons {
    display: inline-block;
}

.dropdown-item .material-icons {
    display: none;
}

.sidebar .nav-link[data-bs-toggle="collapse"] .material-icons:last-child {
    transition: transform .2s ease-in-out;
}

.sidebar .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .material-icons:last-child {
    transform: rotate(180deg);
}
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* Soft Secondary Button */
.btn-secondary-soft {
    background-color: rgba(108, 117, 125, 0.15);
    color: #6c757d;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

    .btn-secondary-soft:hover {
        background-color: rgba(108, 117, 125, 0.25);
        color: #495057;
    }

/* Accent Button */
.btn-accent {
    background-color: #27AE60; /* Bootstrap primary color */
    color: #fff;
    border: 1px solid #0d6efd;
    transition: all 0.2s ease;
}

    .btn-accent:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Flex-Fill Spacing (Optional improvement) */
.modal-footer .btn {
    margin: 0 4px;
}



.card {
    border: none;
    border-radius: 12px;
}

.table th {
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.table td {
    border-top: 1px solid #f8f9fa;
    vertical-align: middle;
}

.btn {
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

.page-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    border-radius: 8px;
    margin: 0 2px;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-radius: 8px;
}

.page-item.disabled .page-link {
    color: #6c757d;
    opacity: 0.6;
}

tr {
    transition: background-color 0.15s ease-in-out;
}

    tr:hover {
        background-color: #f8f9fa;
    }
.hours-grid {
    display: grid;
    gap: 10px;
    background: #f8faff;
    border: 2px solid #2455ff;
    border-radius: 10px;
    padding: 14px
}

    .hours-grid .header, .hours-grid .row {
        display: grid;
        grid-template-columns: 110px repeat(7,1fr);
        gap: 10px
    }

    .hours-grid .day {
        font-weight: 600;
        color: #174099;
        text-align: center
    }

    .hours-grid .label {
        font-weight: 600;
        color: #174099;
        align-self: center
    }

    .hours-grid .cell {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px
    }

    .hours-grid .time {
        width: 100%;
        border: 0;
        outline: 0;
        text-align: center;
        padding: 6px;
        border-radius: 6px
    }



.modal-backdrop {
    opacity: .2 !important;
}

.indent {
    white-space: pre;
}

.ft-card {
    border: 1px solid #e5e8ed;
    border-radius: .6rem;
    box-shadow: 0 1px 0 rgba(16,24,40,.02);
    background: #fff;
}

    .ft-card .card-header {
        background: #fff;
        border-bottom: 1px solid #edf1f5;
        padding: .9rem 1rem;
    }

.section-h {
    font-weight: 600;
}

.sec-blue {
    background: #e9f4ff;
}

.drag {
    cursor: grab;
    color: #6c757d;
}

.qty {
    max-width: 110px;
}

.money {
    max-width: 130px;
}

.scan {
    max-width: 160px;
}

/* variant pills */
.v-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .25rem .75rem;
}

@@media (min-width: 992px) {
    .v-wrap {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

.v-check .form-check-input {
    margin-top: .25rem;
}

.v-check .form-check-label {
    font-size: .85rem;
}

.muted-link {
    font-size: .8rem;
    color: #6c757d;
    text-decoration: none;
}

    .muted-link:hover {
        text-decoration: underline;
    }


.modal-backdrop {
    opacity: .2 !important;
}

.modal-backdrop {
    opacity: .2 !important;
}

.badge-suggest {
    cursor: pointer;
}


.report-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.5rem;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

.amount-card {
    border: none;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .amount-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.detail-row {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

    .detail-row:hover {
        background-color: #f8f9fa;
    }

.account-type-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.action-btn {
    transition: all 0.2s ease;
}

    .action-btn:hover {
        transform: translateY(-1px);
    }

.notes-section {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
}

.attachment-card {
    border: 2px dashed #dee2e6;
    transition: border-color 0.2s ease;
}

    .attachment-card:hover {
        border-color: #0d6efd;
    }


.report-header {
    border-radius: 0.5rem;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

.amount-card {
    border: none;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .amount-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.detail-row {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

    .detail-row:hover {
        background-color: #f8f9fa;
    }

.account-type-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.action-btn {
    transition: all 0.2s ease;
}

    .action-btn:hover {
        transform: translateY(-1px);
    }

.notes-section {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
}

.attachment-card {
    border: 2px dashed #dee2e6;
    transition: border-color 0.2s ease;
}

    .attachment-card:hover {
        border-color: #0d6efd;
    }

.tab-content {
    min-height: 500px;
}

.input-group-sm {
    max-width: 200px;
}

.table-borderless td {
    padding: 0.5rem 0.25rem;
}

.report-preview {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    background: white;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

.positive-amount {
    color: #198754;
    font-weight: 600;
}

.negative-amount {
    color: #dc3545;
    font-weight: 600;
}

/* Fix for tab content display */
.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

/* Fix for input binding */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #80bdff;
}

/* Calendar Styles */
.calendar-container {
}

.calendar-grid {
    display: flex;
    flex-direction: column;
    border-radius: 0 0 0.375rem 0.375rem;
    overflow: hidden;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
    padding: 12px 8px;
    text-align: center;
    font-size: 0.875rem;
    border-right: 1px solid #dee2e6;
}

    .calendar-day-header:last-child {
        border-right: none;
    }

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 140px;
    transition: all 0.2s ease;
    position: relative;
}

    .calendar-day:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1;
    }

    .calendar-day:nth-child(7n) {
        border-right: none !important;
    }

    .calendar-day.other-month {
        color: #6c757d;
    }

        .calendar-day.other-month .day-content {
            opacity: 0.5;
        }

    .calendar-day.today {
        border-left: 3px solid #0d6efd;
    }

    .calendar-day.has-report {
    }

.day-header {
}

.day-content {
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
}

.sales-data {
    flex: 1;
}

.sales-total {
    font-size: 0.8rem;
    line-height: 1.2;
}

.sales-breakdown {
    font-size: 0.75rem;
}

.breakdown-item {
    line-height: 1.3;
}

.day-actions {
    margin-top: auto;
}

.empty-day {
    height: 100%;
    min-height: 80px;
}

    .empty-day .btn {
        font-size: 0.8rem;
    }

/* Status indicators */
.status-indicator.bg-success {
    background-color: #198754 !important;
}

.status-indicator.bg-primary {
    background-color: #27AE60 !important;
}

.status-indicator.bg-secondary {
    background-color: #6c757d !important;
}

.status-indicator.bg-danger {
    background-color: #dc3545 !important;
}

/* Responsive adjustments */
@@media (max-width: 768px) {
    .calendar-day {
        min-height: 120px;
    }

    .sales-total {
        font-size: 0.7rem;
    }

    .sales-breakdown {
        font-size: 0.65rem;
    }

    .day-actions .btn {
        padding: 0.15rem 0.3rem;
        font-size: 0.7rem;
    }

    .calendar-day-header {
        padding: 8px 4px;
        font-size: 0.8rem;
    }

    .day-number {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
    }
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    }

/* Table improvements */
.table-hover tbody tr:hover {
}

/* Button improvements */
.btn {
    transition: all 0.2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.ds-card {
    border: 1px solid #e5e8ed;
    border-radius: .6rem;
    box-shadow: 0 1px 0 rgba(16,24,40,.02);
    background: #fff;
}

    .ds-card .card-header {
        background: #fff;
        border-bottom: 1px solid #edf1f5;
        padding: .9rem 1rem;
    }

    .ds-card .card-body {
        padding: 1rem 1.25rem;
    }

.title-main {
    font-weight: 700;
    letter-spacing: .04em;
    color: #0b5ed7;
    text-transform: uppercase;
}

.section-title {
    font-weight: 700;
    font-size: .9rem;
    color: #3a6ea5;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .35rem;
}

.form-label {
    font-weight: 600;
    color: #5b6b7b;
    font-size: .85rem;
    margin-bottom: .25rem;
}
    .form-control:focus, .form-select:focus {
        border-color: #b9d6ff;
        box-shadow: 0 0 0 .15rem rgba(13,110,253,.08);
    }

.total-field {
    background: #e9f2ff !important;
    border-color: #d7e7ff !important;
    color: #194b8f;
    font-weight: 600;
}

#overShortWrapper .alert {
    padding: .4rem .6rem;
    border: 1px dashed #dfdfdf;
    background: #f8f9fb;
    color: #1f2a37;
}

.table-fuel {
    width: 100%;
    border: 1px solid #e5e8ed !important;
}

    .table-fuel thead th {
        background: #f4f6f9;
        font-weight: 700;
        color: #334155;
        font-size: .8rem;
        border-color: #e5e8ed !important;
        text-align: center;
    }

    .table-fuel td, .table-fuel th {
        border-color: #e5e8ed !important;
        padding: .4rem .5rem !important;
    }

    .table-fuel input {
        text-align: center;
        height: 30px;
        padding: .2rem .35rem;
        font-size: .85rem;
    }

.badge-zero {
    background: #e7f3ff;
    color: #124f9c;
}

.badge-pos {
    background: #e9f9ef;
    color: #137a2a;
}

.badge-neg {
    background: #fdeaea;
    color: #b42318;
}

.manager-block {
    background: #eef6ff;
    border: 1px solid #d9e9ff;
}

.modal-backdrop {
    opacity: .2 !important;
}

.table-sm td, .table-sm th {
    vertical-align: middle;
}

.modal-backdrop {
    opacity: .2 !important;
}

.search-box {
    max-width: 300px;
}

.btn-action {
    padding: 0.25rem 0.5rem;
}

.table > :not(caption) > * > * {
    padding: 0.75rem 0.5rem;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #dee2e6;
}

.btn-action {
    padding: 0.25rem 0.5rem;
}

.cs-card {
    border-radius: 14px
}

.cs-sidebar .list-group-item-action {
    padding: .75rem .9rem;
    border-left: 3px solid transparent !important;
    transition: all .15s ease-in-out;
    border-radius: .75rem !important;
    margin-bottom: .25rem;
}

    .cs-sidebar .list-group-item-action:hover {
        background: var(--cs-soft);
        border-left-color: var(--cs-primary) !important;
        transform: translateX(2px);
    }

.cs-sidebar .active {
    background: #ecfdf5;
    color: #065f46;
    border-left-color: var(--cs-primary) !important;
    font-weight: 600;
}

.cs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--cs-border)
}

.cs-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    font-weight: 700;
    color: #0f172a;
}

    .cs-title i {
        font-size: 1.1rem;
        color: var(--cs-primary)
    }

.cs-sub {
    color: var(--cs-muted);
    font-size: .9rem;
    margin: 0
}



.shift-time-badge {
    min-width: 60px;
    line-height: 1.2;
}

.info-item {
    padding-left: 10px;
}

.accordion-button:not(.collapsed) {
}

.accordion-button:focus {
    box-shadow: none;
}

.date-header {
}

.weekly-calendar-view {
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.week-header-row {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
    border: 1px solid #e0e0e0;
}

.week-day-header {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.day-name {
    margin-bottom: 4px;
}

.day-date {
    opacity: 0.9;
}

/* Week Content */
.week-content {
    overflow-y: auto;
}

/* Section Labels */
.section-label,
.row-label {
    width: 100px;
    padding: 12px 8px;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Time Off Section */
.time-off-section {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
    border-bottom: 2px solid #e0e0e0;
}

.day-time-off {
    padding: 8px;
    border-right: 1px solid #e0e0e0;
    min-height: 60px;
}

.time-off-list {
    min-height: 44px;
}

.time-off-item {
    border: 1px solid #ffcccc;
    border-radius: 4px;
    padding: 6px 8px;
    margin-bottom: 4px;
}

/* Shift Rows */
.shift-row {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
    border-bottom: 1px solid #e0e0e0;
    min-height: 80px;
}

.day-shifts {
    padding: 8px;
    border-right: 1px solid #e0e0e0;
    min-height: 80px;
}

/* Shift Items */
.shift-item {
    border: 1px solid #b8d9f3;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .shift-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.shift-employee {
}

.shift-time {
}

.shift-type {
    font-weight: 500;
}

/* Day View Container */
.day-view-container {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Day Header Section */
.day-header-section {
    padding: 16px;
    text-align: center;
}

.day-title .day-name {
    font-weight: 700;
}

.day-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0.9;
}

.total-shifts,
.total-hours {
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Shifts List Container */
.shifts-list-container {
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
}

/* Shift Card */
.shift-card {
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .shift-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

.shift-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 8px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 12px 12px 0 0;
}

.shift-type {
    display: flex;
    align-items: center;
}

.shift-duration {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.shift-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.employee-info {
    flex: 1;
}

.employee-name {
    font-weight: 700;
    margin-bottom: 6px;
}

.shift-time {
}

.shift-actions {
    display: flex;
    gap: 8px;
}

    .shift-actions .btn {
        border-radius: 8px;
        transition: all 0.2s ease;
    }

        .shift-actions .btn:hover {
            transform: scale(1.05);
        }

.shift-notes {
    padding: 12px 20px;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
}

/* No Shifts Message */
.no-shifts-message {
    text-align: center;
    padding: 60px 20px;
}

    .no-shifts-message i {
        opacity: 0.5;
    }

/* Add Shift Section */
.add-shift-section {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.btn-add-shift {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

    .btn-add-shift:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }

/* Scrollbar Styling */
.shifts-list-container::-webkit-scrollbar {
    width: 6px;
}

.shifts-list-container::-webkit-scrollbar-track {
    border-radius: 3px;
}

.shifts-list-container::-webkit-scrollbar-thumb {
    border-radius: 3px;
}

/* Enhanced Tooltip Styles */
.custom-tooltip {
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    position: fixed;
    z-index: 9999;
    background: white;
    max-width: 380px;
    max-height: 450px;
    overflow-y: auto;
    pointer-events: auto;
}

/* Time Off Styles */
.time-off-day-summary .alert {
    border-left: 4px solid #dc3545;
}

.time-off-day-item {
    border-left: 3px solid #dc3545 !important;
}

/* Weekly View Time Off */
.weekly-day-header .leave-indicator {
    margin-top: 4px;
}

.weekly-day-header .badge {
    padding: 2px 6px;
}

/* Day View Time Off */
.time-off-day-items {
    border-left: 3px solid #dc3545;
    padding-left: 10px;
}

/* Calendar Grid Styles */
.calendar-grid {
    width: 100%;
}

.calendar-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 2px solid #e0e0e0;
}

.calendar-header-cell {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
}

.calendar-week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #e0e0e0;
}

.calendar-day-cell {
    min-height: 120px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

    .calendar-day-cell:hover {
        background-color: #f8f9fa;
    }

    .calendar-day-cell.today {
        background-color: #e7f3ff;
    }

    .calendar-day-cell.selected {
        background-color: #d1ecff;
    }

    .calendar-day-cell.empty {
        background-color: #f8f9fa;
        cursor: default;
    }

.day-number {
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    padding: 4px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
}

.day-stats {
    font-size: 0.75rem;
}

.shift-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 4px 0;
}

.shift-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.leave-indicator {
    text-align: center;
}

/* Responsive adjustments */
@@media (max-width: 768px) {
    .custom-tooltip {
        max-width: 300px !important;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@@media (max-width: 1200px) {
    .week-header-row, .time-off-section, .shift-row {
        grid-template-columns: 80px repeat(7, 1fr);
    }

    .section-label,
    .row-label {
        width: 80px;
        padding: 8px 4px;
    }

    .week-day-header {
        padding: 8px 4px;
    }

    .calendar-day-cell {
        min-height: 100px;
        padding: 4px;
    }
}

@@media (max-width: 768px) {
    .week-header-row,
    .time-off-section,
    .shift-row {
        grid-template-columns: 60px repeat(7, 1fr);
    }

    .section-label,
    .row-label {
        width: 60px;
        padding: 8px 4px;
    }

    .shift-item {
        padding: 6px;
    }

    .day-header-section {
        padding: 20px 16px;
    }

    .day-stats {
        flex-direction: column;
        gap: 8px;
    }

    .shift-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .shift-actions {
        align-self: flex-end;
    }

    .calendar-day-cell {
        min-height: 80px;
        padding: 2px;
    }

    .day-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .day-stats {
        font-size: 0.7rem;
    }
}

/* Scrollbar Styling */
.week-content::-webkit-scrollbar {
    width: 8px;
}

.week-content::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

/* Animation */
@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shift-card {
    animation: fadeInUp 0.4s ease-out;
}

.table th, .table td {
    vertical-align: top !important;
}

.bg-info.bg-opacity-25 {
    color: #0c5460;
    background-color: rgba(23,162,184,.25) !important;
}

.bg-success.bg-opacity-75 {
    background-color: rgba(40,167,69,.85) !important;
}




