/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Select Component Styling - Pure CSS + Livewire */
.select-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.select-wrapper.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.select-container {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.select-container.disabled {
    background-color: #f9fafb;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.select-container.disabled:hover {
    border-color: #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.select-display {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: var(--input-bg);
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.select-container:hover .select-display {
    border-color: #c81c3c;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.select-container.open .select-display {
    border-color: #c81c3c;
    box-shadow: 0 0 0 3px rgba(200, 28, 60, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    transition: all 0.2s ease;
    pointer-events: none;
}

.select-container:hover .select-arrow {
    color: #c81c3c;
}

.select-container.open .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #c81c3c;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #c81c3c;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    margin-top: -2px;
    animation: slideDown 0.2s ease-out;
}

.select-search {
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.select-search-input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
    color: #374151;
    outline: none;
    transition: border-color 0.15s ease;
}

.select-search-input:focus {
    border-color: #c81c3c;
    box-shadow: 0 0 0 1px #c81c3c;
}

.select-search-input::-moz-placeholder {
    color: #9ca3af;
}

.select-search-input::placeholder {
    color: #9ca3af;
}

.select-options {
    max-height: 200px;
    overflow-y: auto;
}

.select-option {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
    background-color: white;
    line-height: 1.5;
    display: flex;
    align-items: center;
    min-height: 44px;
    font-weight: 500;
}

.select-option:last-child {
    border-bottom: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.select-option:hover {
    background-color: #fef2f2;
    color: #c81c3c;
    transform: translateX(2px);
}

.select-option.selected {
    background-color: #c81c3c;
    color: white;
    font-weight: 600;
}

.select-option.selected:hover {
    background-color: #b91c1c;
    transform: translateX(0);
}

.select-option.no-results {
    color: #9ca3af;
    font-style: italic;
    cursor: default;
    background-color: #f9fafb;
    font-weight: 400;
}

.select-option.no-results:hover {
    background-color: #f9fafb;
    color: #9ca3af;
    transform: translateX(0);
}

/* Enhanced scrollbar styling */
.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb {
    background: #c81c3c;
    border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Ensure dropdown appears above other elements */
.select-wrapper:has(.select-container.open) {
    z-index: 9999;
}

/* Alternative for browsers that don't support :has() */
.select-container.open {
    z-index: 9999;
}

/* Enhanced animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error state */
.select-wrapper.error .select-display {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.select-wrapper.error .select-container.open .select-display {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Ensure proper stacking context */
.input-group {
    position: relative;
    z-index: 1;
}

.input-group:has(.select-container.open) {
    z-index: 9999;
}

/* Alternative for browsers that don't support :has() */
.input-group .select-container.open {
    z-index: 9999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .select-display {
        height: 44px;
    }

    .select-search-input {
        height: 32px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .select-options {
        max-height: 150px;
    }

    .select-option {
        padding: 10px 12px;
        min-height: 40px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .select-display {
        border-width: 3px;
    }

    .select-dropdown {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .select-display,
    .select-arrow,
    .select-option,
    .select-dropdown {
        transition: none;
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .select-display {
        background-color: #1f2937;
        border-color: #374151;
    }

    .select-text {
        color: #f9fafb;
    }

    .select-dropdown {
        background-color: #1f2937;
        border-color: #c81c3c;
    }

    .select-search {
        background-color: #374151;
        border-bottom-color: #4b5563;
    }

    .select-search-input {
        background-color: #1f2937;
        border-color: #4b5563;
        color: #f9fafb;
    }

    .select-option {
        color: #f9fafb;
        border-bottom-color: #374151;
    }

    .select-option:hover {
        background-color: #374151;
        color: #fca5a5;
    }

    .select-arrow {
        color: #9ca3af;
    }
}

/* Keep existing searchable-select styles for district (quarter) field */
.searchable-select-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.searchable-select-wrapper.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.searchable-select {
    position: relative;
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: white;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.searchable-select:hover {
    border-color: #c81c3c;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.searchable-select.open {
    border-color: #c81c3c;
    box-shadow: 0 0 0 3px rgba(200, 28, 60, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 9999;
}

.searchable-select.disabled {
    background-color: #f9fafb;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.searchable-select.disabled:hover {
    border-color: #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.searchable-input {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #374151;
    outline: none;
    cursor: pointer;
    font-weight: 500;
}

.searchable-input:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.searchable-input::-moz-placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.searchable-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.searchable-input:focus {
    cursor: text;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    transition: all 0.2s ease;
}

.searchable-select.open .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #c81c3c;
}

.searchable-select:hover .select-arrow {
    color: #c81c3c;
}

.searchable-select.disabled .select-arrow {
    color: #9ca3af;
}

.searchable-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #c81c3c;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    max-height: 240px;
    overflow-y: auto;
    margin-top: -2px;
    animation: slideDown 0.2s ease-out;
}

.searchable-option {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
    background-color: white;
    line-height: 1.5;
    display: flex;
    align-items: center;
    min-height: 44px;
    font-weight: 500;
}

.searchable-option:last-child {
    border-bottom: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.searchable-option:hover {
    background-color: #fef2f2;
    color: #c81c3c;
    transform: translateX(2px);
}

.searchable-option.selected {
    background-color: #c81c3c;
    color: white;
    font-weight: 600;
}

.searchable-option.selected:hover {
    background-color: #b91c1c;
    transform: translateX(0);
}

.searchable-option.no-results {
    color: #9ca3af;
    font-style: italic;
    cursor: default;
    background-color: #f9fafb;
    font-weight: 400;
}

.searchable-option.no-results:hover {
    background-color: #f9fafb;
    color: #9ca3af;
    transform: translateX(0);
}

.searchable-options::-webkit-scrollbar {
    width: 6px;
}

.searchable-options::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

.searchable-options::-webkit-scrollbar-thumb {
    background: #c81c3c;
    border-radius: 3px;
}

.searchable-options::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Order Trash Management Styles */
.action-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.trash-history-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.trash-history-btn:hover {
    background-color: var(--secondary-foreground);
    border-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trash-history-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.trash-history-btn.active:hover {
    background-color: color-mix(in srgb, var(--accent-color) 90%, black);
    border-color: color-mix(in srgb, var(--accent-color) 90%, black);
}

.trash-confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: var(--secondary-foreground);
    border: 2px solid var(--fieldset-border-color);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: var(--shadow);
}

.trash-confirmation p {
    margin: 0;
    font-size: 12px;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
}

.trash-confirmation .btn {
    font-size: 12px;
    padding: 6px 12px;
    margin: 0 4px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.trash-confirmation .btn-success {
    background-color: #22c55e;
    color: white;
}

.trash-confirmation .btn-success:hover {
    background-color: #16a34a;
    transform: translateY(-1px);
}

.trash-confirmation .btn-secondary {
    background-color: var(--button-bg);
    color: var(--text-color);
    border: 1px solid var(--border);
}

.trash-confirmation .btn-secondary:hover {
    background-color: var(--secondary-foreground);
    transform: translateY(-1px);
}

.order-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.order-actions button {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.order-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-actions .btn-info {
    background-color: #3b82f6;
    color: white;
}

.order-actions .btn-info:hover {
    background-color: #2563eb;
}

.order-actions .btn-warning {
    background-color: #f59e0b;
    color: white;
}

.order-actions .btn-warning:hover {
    background-color: #d97706;
}

/* Modal Styles for Trash Confirmation */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--border);
    overflow: hidden;
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    background-color: var(--secondary-foreground);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.modal-body {
    padding: 20px 24px;
}

.modal-body p {
    margin: 0 0 12px 0;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
}

.modal-body .text-muted {
    color: var(--secondary-text);
    font-size: 0.875rem;
}

.modal-footer {
    padding: 16px 24px 20px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    background-color: var(--secondary-foreground);
}

.modal-footer .btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.modal-footer .btn-secondary {
    background-color: var(--button-bg);
    color: var(--text-color);
    border: 1px solid var(--border);
}

.modal-footer .btn-secondary:hover {
    background-color: var(--secondary-foreground);
    transform: translateY(-1px);
}

.modal-footer .btn-warning {
    background-color: #f59e0b;
    color: white;
}

.modal-footer .btn-warning:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-controls {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .trash-history-btn {
        justify-content: center;
    }

    .order-actions {
        justify-content: center;
    }

    .modal-dialog {
        width: 95%;
        margin: 20px auto;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Loading States */
.order-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.order-actions button:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trash-confirmation {
    animation: fadeIn 0.2s ease-out;
}

.modal.fade.show {
    animation: fadeIn 0.3s ease-out;
}
/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}
table {
    border-collapse: collapse;
}
/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    -webkit-text-decoration-skip: ink;
            text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* Theme variables */
:root {
    /* Light theme variables (default) */
    --bg-color: #f8fafc;
    --text-color: #1a1f2c;
    --card-bg: rgba(255, 255, 255, 0.8);
    --secondary-bg: #ffffff;
    --secondary-foreground: hsl(210 40% 96.1%);
    --button-bg: #64748b;
    --accent-color: #c81c3c;
    --sidebar-bg: rgb(255, 255, 255);
    --fieldset-border-color: #e5173f33;
    --fieldet-pesudeos-color: #e5173f66;
    --input-bg: rgb(248, 250, 252);
    --border: #e2e8f0;
    --input-border: #cbd5e1;
    --input-placeholder: #334155;
    --shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    --secondary-text: rgb(100, 116, 139);
    --icon-color: #94a3b8;
    --hover-color: #1a1f2c;
    --active-color: hsl(349, 75%, 45%, 0.1);
    --table-border: #e2e8f0;
    --local-row: #e8f6d4;
    --sidebar-hover: rgb(249 250 251);
}

.lihgt {
    --background-color: #f8fafc;
}

/* Dark mode variables */
.dark-mode {
    --bg-color: hsl(222, 47%, 9%);
    --text-color: hsl(210, 40%, 98%);
    --card-bg: hsl(222, 47%, 14%);
    --secondary-bg: hsl(222, 47%, 17%);
    --secondary-foreground: rgba(31, 41, 55, 0.4);
    --button-bg: hsl(223, 47%, 15%);
    --accent-color: hsl(346, 80%, 48%);
    --sidebar-bg: rgb(26, 31, 44);
    --fieldset-border-color: hsla(346, 80%, 48%, 0.2);
    --fieldet-pesudeos-color: hsla(346, 80%, 48%, 0.4);
    --input-bg: hsl(217, 19%, 20%);
    --input-border: hsl(217, 19%, 20%);
    --input-placeholder: hsl(215, 20%, 75%);
    --shadow: rgba(0, 0, 0, 0.5) 0px 10px 15px, rgba(0, 0, 0, 0.3) 0px 4px 6px;
    --secondary-text: hsl(215, 20%, 75%);
    --icon-color: hsl(215, 20%, 75%);
    --hover-color: hsl(210, 40%, 98%);
    --active-color: hsl(346, 80%, 48%, 0.1);
    --table-border: var(--input-placeholder);
    --border: hsl(222, 30%, 22%);
    --local-row: hsl(96, 40%, 70%);
    --sidebar-hover: rgb(55 65 81);
}

/* Dark mode specific back button styling */
.dark-mode .exxpress-theme .header .nav-link-item.back-button {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode .exxpress-theme .header .nav-link-item.back-button:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* New theme container */
.exxpress-theme {
    /* Global styles */
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: start;

    /* Layout components */
    & #body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }

    & .site-logo {
        background-color: var(--sidebar-bg);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-block-start: 24px;
    }
    & p {
        margin-bottom: 0px;
    }
    & .side-bar {
        background-color: var(--sidebar-bg);
        padding-inline: 16px;
        width: 300px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        color: var(--text-color);
        transition: transform 0.3s ease-in-out;
        transform: translateX(0);
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        height: 100vh;
        z-index: 99;
        overflow-y: auto;
    }
    & .add-order {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background-color: #c81c3c;
        color: #ffffff;
        padding-inline: 16px;
        padding-block: 8px;
        border-radius: 10px;
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: medium;
        cursor: pointer;
        border: none;
    }
    & .add-order:hover {
        background-color: #d4193c;
    }
    & .content-wrapper {
        padding-inline: 32px;
        margin-top: 24px;
        padding-bottom: 1rem;

        & h3 {
            font-size: 1.25rem;
            line-height: 30px;
            color: var(--secondary-text);
            margin-bottom: 8px;
            font-weight: medium;
        }
    }

    /* UI Components */
    & .card-container {
        display: grid;
        /* flex-wrap: wrap; */
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 32px;
    }

    & .card-child {
        background-color: var(--card-bg);
        padding-inline: 24px;
        padding-block: 24px;
        border-radius: 12px;
        box-shadow: var(--shadow);

        & div {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        & .lucide {
            color: var(--accent-color);
        }

        & span {
            font-size: 2rem;
            line-height: 30px;
            font-weight: bold;
        }
    }

    /* Animation for dropdown */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    & .header {
        display: flex;
        justify-content: space-between;
        align-items: center;

        /* CSS-only Click-based Dropdown Menu */
        & .profile-dropdown {
            position: relative;

            /* Hide the checkbox */
            & .dropdown-toggle {
                display: none;
            }

            & .nav-link {
                cursor: pointer;
            }

            /* Hide the dropdown menu by default */
            & .dropdown-menu {
                display: none;
                position: absolute;
                top: 100%;
                inset-inline-end: 0px;
                min-width: 200px;
                background-color: var(--card-bg);
                border-radius: 8px;
                box-shadow: var(--shadow);
                z-index: 1000;
                padding: 0.5rem 0;
                margin-top: 0.5rem;
                animation: fadeIn 0.2s ease-in-out;
            }
            & .nav-link {
                margin-bottom: 0px;
            }

            /* Show the dropdown menu when checkbox is checked */
            & .dropdown-toggle:checked ~ .dropdown-menu {
                display: block;
            }

            /* Add a small triangle/arrow pointing up */
            & .dropdown-menu::before {
                content: "";
                position: absolute;
                top: -8px;
                right: 20px;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-bottom: 8px solid var(--card-bg);
            }

            /* Style dropdown items */
            & .dropdown-menu .dropdown-item {
                display: block;
                padding: 0.5rem 1rem;
                color: var(--text-color);
                text-decoration: none;
                transition: background-color 0.2s;
            }

            & .dropdown-menu .dropdown-item:hover {
                background-color: rgba(0, 0, 0, 0.05);
            }

            & .dropdown-menu .text-center {
                padding: 0.5rem 1rem;
            }

            & .dropdown-menu .dropdown-divider {
                height: 1px;
                background-color: var(--input-border);
                margin: 0.5rem 0;
            }

            /* Overlay to close dropdown when clicking outside */
            & .dropdown-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 999;
            }

            & .dropdown-toggle:checked ~ .dropdown-overlay {
                display: block;
            }
        }

        /* For the language dropdown */
        & .header-notify {
            position: relative;

            /* Hide the checkbox */
            & .dropdown-toggle {
                display: none;
            }

            & .nav-link {
                cursor: pointer;
                color: var(--text-color);
            }

            /* Hide the dropdown menu by default */
            & .dropdown-menu {
                display: none;
                position: absolute;
                top: 100%;
                right: 0;
                min-width: 150px;
                background-color: var(--card-bg);
                color: var(--text-color);
                border-radius: 8px;
                box-shadow: var(--shadow);
                z-index: 1000;
                padding: 0.5rem 0;
                margin-top: 0.5rem;
                animation: fadeIn 0.2s ease-in-out;
            }

            /* Show the dropdown menu when checkbox is checked */
            & .dropdown-toggle:checked ~ .dropdown-menu {
                display: block;
            }

            & .dropdown-menu::before {
                content: "";
                position: absolute;
                top: -8px;
                right: 20px;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-bottom: 8px solid var(--card-bg);
            }

            /* Overlay to close dropdown when clicking outside */
            & .dropdown-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 999;
            }

            & .dropdown-toggle:checked ~ .dropdown-overlay {
                display: block;
            }
        }

        & .add-order {
            display: flex;
            align-items: center;
            background-color: var(--accent-color);
            color: #ffffff;
            padding-inline: 16px;
            padding-block: 8px;
            border-radius: 10px;
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: medium;
            cursor: pointer;
            border: none;
        }

        & .add-order:hover {
            background-color: color-mix(
                in srgb,
                var(--accent-color) 90%,
                white
            );
        }

        & .header-nav-links {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 0.5rem 1rem;
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
        }

        & .nav-link-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            color: var(--text-color);
            text-decoration: none;
            border-radius: 8px;
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 500;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        & .nav-link-item:hover {
            background-color: var(--accent-color);
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        & .nav-link-item svg {
            transition: all 0.2s ease;
        }

        & .nav-link-item:hover svg {
            stroke: white;
        }
        & .nav-link-item.isVisible {
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
        }
        /* Back button specific styling */
        & .nav-link-item.back-button {
            background-color: var(--card-bg);
            padding: 8px 14px;
            border-radius: 8px;
            transition: all 0.3s ease;
            -webkit-backdrop-filter: blur(10px);
                    backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        & .nav-link-item.back-button:hover {
            background-color: var(--secondary-foreground);
            border-color: var(--accent-color);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            color: var(--accent-color);
        }

        & .nav-link-item.back-button:hover svg {
            stroke: var(--accent-color);
        }

        /* Responsive design for header nav */
        @media (max-width: 1200px) {
            & .header-nav-links {
                gap: 1rem;
            }

            & .nav-link-item {
                padding: 0.5rem 0.75rem;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 992px) {
            & .header-nav-links {
                flex-wrap: wrap;
                gap: 0.5rem;
            }

            & .nav-link-item {
                padding: 0.5rem;
                font-size: 0.75rem;
            }
        }

        @media (max-width: 768px) {
            & .header-nav-links {
                display: none;
            }
        }
    }
    & .header-one-child {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }
    & .footer {
        margin-top: 30px;
        background-color: var(--bg-color);
        color: var(--text-color);
        border: none;
    }
    .search-bar {
        position: relative;
        width: 500px;
        /* margin-bottom: 1rem; */

        & svg {
            position: absolute;
            top: 18%;
            inset-block-start: 10px;
            width: 20px;
            height: 20px;
            color: var(--icon-color);
        }

        & input {
            width: 100%;
            padding-inline-start: 36px;
            padding-block: 8px;
            padding-inline-end: 12px;
            font-size: 0.875rem;
            line-height: 1.25rem;
            border-radius: 10px;
            color: var(--text-color);
            border: 2px solid var(--input-border);
            background-color: var(--input-bg);
        }
    }
    .side-bar {
        /* Default state - sidebar is closed */
        position: absolute;
        inset-inline-start: -100%;
    }

    .hamburger-menu:checked ~ .side-bar {
        /* When checked - sidebar is open */
        position: absolute;
        inset-inline-start: 0;
    }
    /* Navigation */
    & .side-nav {
        padding-inline: 30px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        height: 100%;

        & li:not(ul li li) {
            & .side-navlabel-wrapper {
                display: flex;
                align-items: center;
                gap: 12px;
                padding: 8px 12px;
                border-radius: 10px;
                cursor: pointer;
                transition: background-color 0.2s ease-out;
                &:hover {
                    background-color: var(--sidebar-hover);
                }
            }

            & .side-navlink {
                font-size: 1.075rem;
                line-height: 30px;
                color: var(--secondary-text);
                font-weight: medium;
                cursor: pointer;
            }

            & .side-navlink:hover {
                color: var(--hover-color);
            }

            & .side-navlabel-wrapper.active .side-navicon {
                color: var(--accent-color);
            }

            & .side-navlabel-wrapper.active .side-navlink {
                color: var(--accent-color);
            }

            & .side-navicon {
                color: var(--icon-color);
            }
            & .expanel-toggle {
                display: none;
            }
            & .expanel-toggle-label {
                margin-bottom: 0px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex: 1;
                cursor: pointer;
            }
            &
                .expanel-toggle:checked
                ~ .side-navlabel-wrapper
                .expanel-toggle-label
                .chevron-icon {
                transform: rotate(180deg);
                transition: transform 0.2s ease-out;
            }
            & .sublist {
                max-height: 0;
                overflow-y: hidden;
                transition: max-height 0.3s ease-out;
                margin-inline-start: 18px;
                margin-block-start: 4px;

                & li {
                    padding: 8px 12px;
                    color: var(--secondary-text);

                    &:hover {
                        border: 1px solid transparent;
                        border-radius: 10px;
                        cursor: pointer;
                        color: var(--text-color);
                        background-color: var(--sidebar-hover);
                    }
                    & a {
                        display: flex;
                        align-items: center;
                        gap: 12px;
                        color: inherit;
                        font-size: 0.875rem;
                        line-height: 1.25rem;
                        border: 2px solid transparent;
                        border-radius: 10px;
                        cursor: pointer;
                    }
                }

                & .cash-title {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    color: var(--secondary-text);
                }

                & #cash-toggle {
                    display: none;
                }

                & .cash-toggle-label {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    flex: 1;
                    cursor: pointer;
                    margin-bottom: 0px;
                    color: var(--secondary-text);
                }

                &
                    #cash-toggle:checked
                    ~ .cash-title
                    .cash-toggle-label
                    .chevron-icon {
                    transform: rotate(180deg);
                    transition: transform 0.2s ease-out;
                }

                & .cash-list {
                    max-height: 0;
                    overflow-y: hidden;
                    transition: max-height 0.3s ease-out;
                    padding-inline-start: 30px;
                    margin-block-start: 0.5rem;
                    display: flex;
                    flex-direction: column;
                }

                & #cash-toggle:checked ~ .cash-list {
                    max-height: 300px;
                }
            }

            & .expanel-toggle:checked ~ .sublist {
                max-height: 600px;
            }

            &
                .expanel-toggle:checked
                ~ .sublist
                #cash-toggle:checked
                ~ .cash-list {
                z-index: 5;
            }
        }
    }
    .add-order,
    .add-user {
        display: flex;
        align-items: center;
        background-color: #c81c3c;
        color: #ffffff;
        padding-inline: 16px;
        padding-block: 8px;
        border-radius: 10px;
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: medium;
        cursor: pointer;
        border: none;
    }
    & .add-order:hover,
    & .add-user {
        background-color: #d4193c;
    }
    /* User panel */
    & .user-panel {
        padding-block-start: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* margin-inline-start: 30px; */
        align-items: center;
        margin-bottom: 32px;

        & .user-img {
            width: 50px;
            height: 50px;
            margin-bottom: 6px;
            /* margin-inline-start: 12px; */
            border-radius: 100px;
            background-color: var(--bg-color);
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid var(--text-color);
        }
    }

    & .user-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        & h5 {
            font-size: 1rem;
            line-height: 24px;
            font-weight: medium;
            margin-bottom: 0px;
        }

        & .user-job {
            font-size: 0.875rem;
            line-height: 21px;
            color: var(--icon-color);
        }

        & span {
            display: block;
        }
    }

    /* Form elements */
    & .checkbox-wrapper-19 {
        box-sizing: border-box;
        --background-color: #fff;
        --checkbox-height: 25px;
    }

    @keyframes dothabottomcheck-19 {
        0% {
            height: 0;
        }

        100% {
            height: calc(var(--checkbox-height) / 2);
        }
    }

    @keyframes dothatopcheck-19 {
        0% {
            height: 0;
        }

        50% {
            height: 0;
        }

        100% {
            height: calc(var(--checkbox-height) * 1.2);
        }
    }

    & .checkbox-wrapper-19 input[type="checkbox"] {
        display: none;
    }

    & .checkbox-wrapper-19 .check-box {
        height: var(--checkbox-height);
        width: var(--checkbox-height);
        background-color: transparent;
        border: calc(var(--checkbox-height) * 0.1) solid var(--text-color);
        border-radius: 5px;
        position: relative;
        display: inline-block;
        box-sizing: border-box;
        transition: border-color ease 0.2s;
        cursor: pointer;
    }

    & .checkbox-wrapper-19 .check-box::before,
    .checkbox-wrapper-19 .check-box::after {
        box-sizing: border-box;
        position: absolute;
        height: 0;
        width: calc(var(--checkbox-height) * 0.2);
        background-color: #34b93d;
        display: inline-block;
        transform-origin: left top;
        border-radius: 5px;
        content: " ";
        transition: opacity ease 0.5;
    }

    & .checkbox-wrapper-19 .check-box::before {
        top: calc(var(--checkbox-height) * 0.72);
        left: calc(var(--checkbox-height) * 0.41);
        box-shadow: 0 0 0 calc(var(--checkbox-height) * 0.05)
            var(--background-color);
        transform: rotate(-135deg);
    }

    & .checkbox-wrapper-19 .check-box::after {
        top: calc(var(--checkbox-height) * 0.37);
        left: calc(var(--checkbox-height) * 0.05);
        transform: rotate(-45deg);
    }

    & .checkbox-wrapper-19 input[type="checkbox"]:checked + .check-box,
    .checkbox-wrapper-19 .check-box.checked {
        border-color: #34b93d;
    }

    & .checkbox-wrapper-19 input[type="checkbox"]:checked + .check-box::after,
    .checkbox-wrapper-19 .check-box.checked::after {
        height: calc(var(--checkbox-height) / 2);
        animation: dothabottomcheck-19 0.2s ease 0s forwards;
    }

    & .checkbox-wrapper-19 input[type="checkbox"]:checked + .check-box::before,
    .checkbox-wrapper-19 .check-box.checked::before {
        height: calc(var(--checkbox-height) * 1.2);
        animation: dothatopcheck-19 0.4s ease 0s forwards;
    }
    & .input-group {
        position: relative;
        --size: 60px;
        & label {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-color);
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        & input[type="text"],
        & input[type="number"],
        & input[type="password"],
        & input[type="email"],
        & input[type="tel"],
        & select,
        & textarea {
            width: 100%;
            padding: 8px 12px;
            font-size: 0.875rem;
            line-height: 1.25rem;
            border-radius: 10px;
            outline: none;
            border: 2px solid var(--input-border);
            background-color: var(--input-bg);
            color: var(--text-color);
            box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
        }
        & input::-moz-placeholder {
            color: var(--input-placeholder);
            /* opacity: 0.7; */
            font-size: 0.875rem;
        }
        & input::placeholder {
            color: var(--input-placeholder);
            /* opacity: 0.7; */
            font-size: 0.875rem;
        }

        & .input-error {
            color: red;
        }
    }
    & legend {
        font-size: 1.25rem;
        line-height: 1.75rem;
        font-weight: 600;
        color: var(--text-color);
    }
    & fieldset {
        padding: 24px;
        border: 2px solid var(--fieldset-border-color);
        border-radius: 12px;
        background-color: var(--card-bg);
        position: relative;

        & .field-header {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            align-items: center;
        }

        & .form-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto;
            gap: 2rem;
        }
    }
    & fieldset:not(:nth-of-type(1)) {
        margin-top: 30px;
    }
    & .form-actions,
    & .depot-setup,
    & .reply-buttons {
        display: flex;
        justify-content: end;
        gap: 1rem;
        margin-block: 30px;
        & button {
            padding: 8px 16px;
            border: 1px solid transparent;
            border-radius: 0.875rem;
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 600;
            cursor: pointer;
        }
        & button {
            color: var(--bg-color);
            background-color: var(--accent-color);
            order: 1;
            transition: all 0.3s ease;
            &:hover {
                background-color: #aa1833;
                transform: translateY(-2px);
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            }
        }
        & button[type="reset"] {
            color: var(--text-color);
            background-color: var(--card-bg);
            border: 2px solid var(--border);
        }
        & button[type="reset"]:hover {
            background-color: var(--bg-color);
            color: var(--accent-color);
            border-color: var(--accent-color);
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
    }
    & .orderForm,
    & .radio-group {
        width: 50%;

        & fieldset::before,
        & fieldset::after {
            content: "";
            display: block;
            position: absolute;
            width: 33.333333%;
            height: 33.333333%;
            border-color: var(--fieldet-pesudeos-color);
            border-style: solid;
            border-width: 0;
        }
        & fieldset::before {
            border-top-width: 2px;
            border-inline-start-width: 2px;
            border-start-start-radius: 0.75rem;
            top: 0;
            inset-inline-start: 0;
        }
        & fieldset::after {
            border-bottom-width: 2px;
            border-inline-end-width: 2px;
            border-end-end-radius: 0.75rem;
            bottom: 0;
            inset-inline-end: 0;
        }

        & fieldset:nth-of-type(1) {
            & .suggest-group {
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 1rem;
                margin-bottom: 0px;
            }
            & .suggest-element-wrapper {
                padding: 1rem;
                border: 2px solid var(--border);
                border-radius: 12px;
                cursor: pointer;
                position: relative;
                & .suggest-element {
                    display: flex;
                    gap: 0.75rem;
                    align-items: center;
                    & div {
                        padding: 8px;
                    }
                    & h3 {
                        font-weight: 500;
                        font-size: 1rem;
                        color: var(--text-color);
                        margin-bottom: 0px;
                    }
                    & h3::after {
                        content: attr(data-depot-quarter);
                        display: block;
                        font-size: 0.75rem;
                        line-height: 1rem;
                        color: var(--secondary-text);
                    }
                }
                & .select-icon {
                    position: absolute;
                    top: 4px;
                    inset-inline-end: 5px;
                    opacity: 0;
                    & svg {
                        width: 20px;
                        height: 20px;
                        fill: var(--accent-color);
                    }
                }
            }
            & .suggest-element-wrapper:hover {
                border-color: var(--accent-color);
            }
            & .suggest-element-wrapper[data-active="true"] {
                border-color: var(--accent-color);
                & .select-icon {
                    opacity: 1;
                    transition: opacity 0.2s ease-out;
                }
            }
        }
        & fieldset#reciever,
        fieldset#package-fieldset {
            & .field-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                & .title-header {
                    display: flex;
                    gap: 0.5rem;
                    align-items: center;
                }
                & button {
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    font-weight: 500;
                    padding: 8px 16px;
                    color: var(--text-color);
                    background-color: var(--bg-color);
                    border: 1.5px solid var(--fieldset-border-color);
                    cursor: pointer;
                    border-radius: 12px;
                }
                & button:hover {
                    background-color: rgba(0, 0, 0, 0.05);
                    border-color: var(--text-color);
                    transform: translateY(-2px);
                }

                & button:active {
                    transform: translateY(0);
                    opacity: 0.9;
                }
            }
        }
        & input[type="radio"] {
            width: 20px;
            height: 20px;
            -webkit-appearance: none;
               -moz-appearance: none;
                    appearance: none;
            background-color: white;
            border: 1px solid var(--accent-color);
            border-radius: 50%;
            display: inline-block;
            position: relative;
            cursor: pointer;
        }
        & input[type="radio"]::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: red;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            transition: translate 0.2s ease-in-out;
        }
        & input[type="radio"]:checked::before {
            transform: translate(-50%, -50%) scale(1);
        }
        & fieldset#reciever {
            /* max-height: ; */
            .form-group {
                max-height: 300px;
                overflow: scroll;
                padding-inline-end: 1rem;
                & .recievers-list {
                    grid-column: 1 /3;
                    display: grid;
                    width: 100%;
                    gap: 0.75rem;
                    grid-template-columns: repeat(3, 1fr);
                    & li {
                        padding: 24px;
                        border: 1px solid var(--border);
                        border-radius: 0.75rem;
                        display: flex;
                        gap: 0.5rem;
                        & p::after {
                            content: attr(data-phone);
                            display: block;
                            margin-top: 4px;
                            padding-inline-start: 6px;
                            color: var(--secondary-text);
                            font-size: 0.75rem;
                            line-height: 1rem;
                            font-weight: 500;
                        }
                    }
                }
            }
        }
        & fieldset#package-fieldset {
            & .field-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                & .title-header {
                    display: flex;
                    gap: 0.5rem;
                    align-items: center;
                }
                & button {
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    font-weight: 500;
                    padding: 8px 16px;
                    color: var(--text-color);
                    background-color: var(--bg-color);
                    border: 1.5px solid var(--fieldset-border-color);
                    cursor: pointer;
                    border-radius: 12px;
                }
                & button:hover {
                    background-color: rgba(0, 0, 0, 0.05);
                    border-color: var(--text-color);
                    transform: translateY(-2px);
                }

                & button:active {
                    transform: translateY(0);
                    opacity: 0.9;
                }
            }
            & .form-group {
                grid-template-columns: repeat(4, 1fr);
                padding: 1rem;
                border: 3px var(--fieldset-border-color);
                border-radius: 12px;
                row-gap: 1.5rem;
                border-style: dotted;
                & .input-group:nth-of-type(2) {
                    grid-column: 1 / 5;
                }
                & .input-group:nth-of-type(3) {
                    grid-column: -5 / -4;
                }
                /* & .input-group:last-of-type{
          grid-column: 4 / 5;
        } */
                & .sub-field-header {
                    grid-column: 1 / 5;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    & h4 {
                        color: var(--accent-color);
                        font-weight: 500;
                        font-size: 1.125rem;
                        line-height: 1.75rem;
                        margin-bottom: 0px;
                    }
                    & button {
                        width: 32px;
                        height: 32px;
                        border-radius: 100px;
                        border: none;
                        cursor: pointer;
                        background-color: transparent;
                    }
                    & button:hover {
                        transform: translateY(-2px);
                        & svg {
                            stroke: var(--text-color);
                        }
                    }
                }
            }
            & .form-group:not(:nth-of-type(1)) {
                margin-top: 30px;
            }
        }
        & fieldset.extra-service {
            & .input-group input[type="checkbox"] {
                display: none;
                visibility: hidden;
            }

            & .input-group .label-wrapper {
                display: flex;
                align-items: center;
                gap: 20px;
            }
            & .input-group .label-text {
                font-size: 0.875rem;
                font-weight: 500;
                display: flex;
                gap: 0.5rem;
                align-items: center;
            }
            & .input-group .label-wrapper label {
                width: var(--size);
                height: calc(var(--size) / 2);
                box-sizing: border-box;
                border: 3px solid;
                float: inline-start;
                border-radius: 100px;
                position: relative;
                cursor: pointer;
                transition: 0.3s ease;
                color: var(--text-color);
                margin-bottom: 0;
            }

            &
                .input-group
                input[type="checkbox"]:checked
                ~ .label-wrapper
                label {
                background: var(--accent-color);
                border: 3px solid var(--bg-color);
            }

            &
                .input-group
                input[type="checkbox"]:checked
                ~ .label-wrapper
                label::before {
                inset-inline-start: calc(var(--size) / 2);
                color: var(--bg-color);
            }

            & .input-group .label-wrapper label:before {
                transition: 0.3s ease;
                content: "";
                width: calc((var(--size) / 2) - 10px);
                height: calc((var(--size) / 2) - 10px);
                position: absolute;
                background: white;
                inset-inline-start: 2px;
                top: 2px;
                box-sizing: border-box;
                border: 3px solid;
                color: var(--text-color);
                border-radius: 100px;
            }
            & .input-group .amount-wrapper {
                max-height: 0px;
                margin-inline-start: 24px;
                overflow: hidden;

                transition: max-height 0.2s ease-in-out;
            }
            & .input-group input[type="checkbox"]:checked ~ .amount-wrapper {
                max-height: 100px;
                margin-block-start: 16px;
            }
        }
        & fieldset#payment-method {
            & .form-group {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(2, 1fr);
                row-gap: 0.5rem;
                align-content: center;
            }
            & .input-group:nth-child(2) {
                grid-row: 2 / 3;
            }
            & .input-group {
                display: flex;
                gap: 8px;
                align-items: center;
            }

            & label {
                margin-bottom: 0px;
            }
            & label::after {
                content: attr(data-payment);
                font-size: 0.875rem;
                line-height: 1.25rem;
                font-weight: 500;
                color: var(--accent-color);
                margin-inline-start: 0.5rem;
            }
            & .input-group:nth-child(3) {
                display: flex;
                align-items: center;
                position: relative;
                gap: 12px;
                & label {
                    margin-bottom: 0px;
                }
                & .choiceWrapper {
                    display: flex;
                    gap: 12px;
                    align-items: center;
                    --switch-bg: rgb(131, 131, 131);
                    --switch-bg-checked: rgb(0, 218, 80);
                    & label {
                        width: var(--size);
                        height: calc(var(--size) / 2);
                        box-sizing: border-box;
                        /* border: 3px solid; */
                        float: inline-start;
                        background-color: var(--switch-bg);
                        border-radius: 100px;
                        position: relative;
                        cursor: pointer;
                        transition: 0.3s ease;
                        color: var(--text-color);
                        margin-bottom: 0;
                    }
                    & label::before {
                        transition: 0.3s ease;
                        content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="rgb(131, 131, 131)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>');
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: calc((var(--size) / 2) - 10px);
                        height: calc((var(--size) / 2) - 10px);
                        position: absolute;
                        background: white;
                        inset-inline-start: 2px;
                        /* top: 2px; */
                        box-sizing: border-box;
                        /* border: 3px solid; */
                        color: var(--text-color);
                        border-radius: 100px;
                    }
                    & input {
                        display: none;
                    }
                    & input:checked ~ label {
                        background-color: var(--switch-bg-checked);
                    }
                    & input:checked ~ label::before {
                        inset-inline-start: calc((var(--size) / 2) + 5px);
                        content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="rgb(0, 218, 80)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check"><path d="M20 6 9 17l-5-5"/></svg>');
                    }
                }
            }
        }
        & fieldset#comment-fieldset {
            & label {
                color: var(--secondary-text);
            }
            & .form-group {
                grid-template-columns: 1fr;
            }
            & textarea {
                width: 100%;
                padding: 8px 12px;
                border: 2px solid transparent;
                border-radius: 10px;
            }
        }
    }

    /* List container */
    & .list-container {
        margin-top: 16px;
        margin-bottom: 50px;
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;

        & li {
            padding: 24px;
            padding-block: 16px;
            flex: 1;
            border-radius: 0.75rem;
            border-width: 1px;
            border-inline-start-width: 4px;
            border-style: solid;
            background-color: var(--card-bg);

            & p {
                font-size: 2.25rem;
                line-height: 2.5rem;
                font-weight: bold;
                margin-bottom: 0px;
            }

            & span {
                color: var(--secondary-text);
                font-size: 1rem;
                line-height: 1rem;
                margin-top: 8px;
                display: flex;
                align-items: center;
                font-weight: bold;
            }

            & span::after {
                content: "of total orders";
                margin-inline-start: 0.25rem;
            }

            & span::before {
                content: "";
                height: 0.375rem;
                width: 0.375rem;
                border-radius: 50%;
                display: inline-block;
                margin-inline-end: 0.5rem;
            }

            & div {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

            & .custom-progress {
                width: 100%;
                background-color: #ffcccb;
                border-radius: 4px;
                overflow: hidden;
            }

            & .custom-progress-bar {
                height: 100%;
                background-color: #eb2930;
                transition: width 0.6s ease;
                position: relative;
            }

            & .custom-progress-bar::after {
                content: "";
                position: absolute;
                top: 0;
                inset-inline-start: 0;
                inset-inline-end: 0;
                bottom: 0;
                background-image: linear-gradient(
                    45deg,
                    rgba(255, 255, 255, 0.15) 25%,
                    transparent 25%,
                    transparent 50%,
                    rgba(255, 255, 255, 0.15) 50%,
                    rgba(255, 255, 255, 0.15) 75%,
                    transparent 75%,
                    transparent
                );
                background-size: 1rem 1rem;
                animation: progress-bar-stripes 1s linear infinite;
            }
        }

        & li:nth-child(1) {
            border-color: #3b82f6;

            & span::before {
                background-color: #3b82f6;
            }

            & .lucide {
                color: #3b82f6;
            }
        }

        & li:nth-child(2) {
            border-color: #f59e0b;

            & span::before {
                background-color: #f59e0b;
            }

            & .lucide {
                color: #f59e0b;
            }
        }

        & li:nth-child(3) {
            border-color: #ef4444;

            & span::before {
                background-color: #ef4444;
            }

            & .lucide {
                color: #ef4444;
            }
        }

        & li:nth-child(4) {
            border-color: #22c55e;

            & span::before {
                background-color: #22c55e;
            }

            & .lucide {
                color: #22c55e;
            }
        }
    }

    /* Analysis chart */
    & .analysisChart {
        & .analysisChart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;

            & .h2 {
                margin-bottom: 0px;
                font-size: 1.75rem;
                line-height: 2rem;
                font-weight: 500;
            }

            & div {
                display: flex;
                gap: 16px;
            }

            & .analysisChart-btn {
                padding-inline: 12px;
                padding-block: 8px;
                color: var(--text-color);
                background-color: var(--button-bg);
                border: none;
                font-size: 14px;
                line-height: 20px;
                font-weight: 500;
                border-radius: 10px;
                cursor: pointer;
            }

            & .analysisChart-btn:hover {
                background-color: var(--accent-color);
                color: white;
            }

            & .analysisChart-btn:focus,
            & .weekButton[data-focused="true"] {
                background-color: var(--accent-color);
                color: white;
            }
        }

        & ul {
            display: flex;
            gap: 16px;

            & li {
                padding: 16px;
                display: flex;
                align-items: center;
                gap: 0.75rem;
                background-color: var(--card-bg);
                border-radius: 8px;

                & p {
                    font-size: 1.75rem;
                    line-height: 2rem;
                    font-weight: bold;
                    margin-bottom: 0px;
                }
            }
        }

        & #analysisChart {
            width: 100%;
            height: 256px;
        }
    }

    /* Main header */
    & .main-header {
        margin-block: 32px;

        & h1 {
            font-size: 2rem;
            line-height: 2.25rem;
            font-weight: bold;
            margin-bottom: 0;
            color: var(--text-color);
        }

        & p {
            color: var(--secondary-text);
            margin-bottom: 0;
            font-size: 1.25rem;
        }
    }
    & .sub-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    & .actions-button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        & #action {
            padding: 8px 16px;
            border: none;
            font-size: 0.875rem;
            line-height: 1.25rem;
            cursor: pointer;
        }
        & #action > .selection-count {
            content: attr(data-selected);
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 500;
            color: var(--accent-color);
        }
    }

    /* Chart wrapper */
    & .chart-wrapper {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        margin: 20px 0;
    }

    & .delivery-chart {
        flex: 1;
        min-width: 300px;
    }

    & .analysisChart {
        flex: 1;
        min-width: 300px;
    }

    /* Chart containers */
    & .chart-container {
        background-color: var(--card-bg);
        padding: 20px;
        border-radius: 8px;
        box-shadow: var(--shadow);
        margin-bottom: 30px;
        border: 2px solid var(--border);
        transition: all 0.2s ease;
    }

    /* Responsive behavior for smaller screens */
    @media (max-width: 768px) {
        & .chart-wrapper {
            flex-direction: column;
        }
    }

    & canvas#citiesChart {
        width: 730px;
        height: 250px;
        align-self: center;
    }
    /* Order Table */
    /* #order-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    & button {
      background-color: var(--bg-color);
      display: flex;
      align-items: center;
      color: var(--text-color);
      gap: 0.25rem;
      border: none;
      padding: 8px 16px;
      font-size: 1rem;
      line-height: 1.25rem;
      font-weight: 500;
      cursor: pointer;
      
    }
    & button:hover {
      background-color: #d4d4d4; 
    }
  } */
    & .table-container {
        padding: 24px;
        background-color: var(--secondary-bg);
        border: 2px solid var(--border);
        border-radius: 0.75rem;
        & .orders-table,
        & .customer-table,
        & .cash-table,
        & .users-table,
        & .support-table,
        & .notification-table,
        & .request-container {
            width: 100%;
            font-size: 0.875rem;
            line-height: 1.25rem;
            padding: 24px;
            & th,
            & td {
                text-align: start;
                font-weight: 500;
                padding-inline: 1rem;
                vertical-align: middle;
            }
            /* & .local-order {
        background-color:  var(--local-row);
      } */
            & th {
                color: var(--secondary-text);
                padding-block: 1rem;
            }
            & td {
                white-space: nowrap;
                color: var(--text-color);
                padding-block: 1rem;
                border-top: 1px solid var(--table-border);
            }

            & td {
                & p[data-type="Off"] {
                    color: #7f1d1d;
                    padding: 1rem 1rem;
                    border-radius: 0.25rem;
                    font-weight: 600;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                }
                & p[data-type="Off"]::before {
                    content: "";
                    width: 10px;
                    height: 10px;
                    border-radius: 50%;
                    background-color: #7f1d1d;
                    margin-inline-end: 0.5rem;
                }
                & p[data-type="On"] {
                    /* background-color: #D1FAE5; */
                    color: #065f46;
                    padding: 1rem 1rem;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 0.25rem;
                    font-weight: 600;
                }
                & p[data-type="On"]::before {
                    content: "";
                    width: 10px;
                    height: 10px;
                    border-radius: 50%;
                    background-color: #065f46;
                    margin-inline-end: 0.5rem;
                }
            }
            & td > input {
                display: none;
            }
            & td > label {
                padding: 1rem;
                border-radius: 50%;
                border: 1px solid var(--accent-color);
                cursor: pointer;
                height: 10px;
                width: 10px;
                margin-bottom: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
                & svg {
                    position: absolute;
                    display: none;
                    width: 24px;
                    height: 24px;
                    fill: var(--accent-color);
                    & circle {
                        stroke: transparent;
                    }
                    & path {
                        stroke: var(--bg-color);
                    }
                }
            }
            & td > input:checked ~ label {
                background-color: var(--accent-color);
                border: 1px solid var(--bg-color);
            }
            & td > input:checked ~ label svg {
                display: block;
            }

            & .status,
            & .standard,
            & .express {
                padding: 6px 14px;
                border-radius: 10px;
                border: 1px solid transparent;
            }
            & .status[data-status="To Verify"],
            & .QUESTION {
                background-color: #d1e7ff;
                color: #1e40af;
            }
            & .status[data-status="Verified"] {
                background-color: #d1fae5;
                color: #047857;
            }
            & .status[data-status="Assigned"] {
                background-color: #ede9fe;
                color: #6d28d9;
            }
            & .status[data-status="Declined"],
            & .ISSUE {
                background-color: #ffedd5;
                color: #c2410c;
            }
            & .status[data-status="active"] {
                background-color: #fef3c7;
                color: #b45309;
            }
            & .status[data-status="pickedUp"],
            & .ORDER {
                background-color: #e0e7ff;
                color: #3730a3;
            }
            & .status[data-status="delivered"],
            & .express {
                background-color: #dcfce7;
                color: #15803d;
            }
            & .status[data-status="deliveredToDepot"] {
                background-color: #cffafe;
                color: #0e7490;
            }
            & .status[data-status="returnedOrder"],
            & .standard {
                background-color: #fef3c7;
                color: #b45309;
            }
            & .status[data-status="missedPackage"] {
                background-color: #ffe4e6;
                color: #be123c;
            }
            & .status[data-status="canceled"],
            & .BUG {
                background-color: #fee2e2;
                color: #b91c1c;
            }
        }
        & .enabled {
            background-color: #67ae6e;
        }
        & .enabled:hover {
            background-color: #5c9b62;
        }
        & .disabled {
            background-color: #d84040;
        }
        & .disabled:hover {
            background-color: #c13737;
        }
        & .customer-table {
            & td:nth-last-of-type(1) {
                & button {
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    font-weight: 600;
                    gap: 0.5rem;
                    border: none;
                    cursor: pointer;
                    padding: 12px;
                    color: #fff;
                }
            }
        }
        & .users-table {
            & td:nth-last-of-type(2) {
                & button {
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    font-weight: 600;
                    gap: 0.5rem;
                    border: none;
                    cursor: pointer;
                    padding: 12px;
                    color: #fff;
                }
            }
            & .user-label {
                color: #1f2937;
                background-color: #f3f4f6;
            }
            & .admin {
                color: #1e40af;
                background-color: #dbeafe;
            }
            & .user-label,
            & .admin {
                padding: 4px 20px;
                font-weight: 600;
                font-size: 0.75rem;
                line-height: 1rem;
                border: 1px solid transparent;
                border-radius: 9999px;
            }
        }
        & .orders-table,
        & .notification-table {
            & td:nth-last-of-type(1) {
                & button {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    font-weight: 600;
                    gap: 0.5rem;
                    color: var(--accent-color);
                    border: none;
                    cursor: pointer;
                    padding: 12px;
                }

                button {
                    background-color: var(--bg-color);
                    border-radius: 10px;
                }
                & button:hover {
                    background-color: #f3f4f6;
                }
            }
        }
        & .orders-table {
            & td:nth-of-type(3) {
                color: var(--accent-color);
                font-weight: 600;
            }
        }
    }
    & .container-fluid,
    & .customer-form-container {
        & .main-header {
            display: flex;
            gap: 1rem;
            align-items: center;
            & button {
                display: inline-flex;
                justify-content: center;
                align-items: center;
                gap: 0.5rem;
                background-color: var(--bg-color);
                color: var(--text-color);
                padding-inline: 16px;
                padding-block: 8px;
                border-radius: 10px;
                font-size: 0.875rem;
                line-height: 1.25rem;
                font-weight: 500;
                cursor: pointer;
                border: none;
            }
            & button:hover {
                background-color: var(--accent-color);
            }
        }
    }

    & h2 {
        font-weight: 600;
        font-size: 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }
    & .details-container {
        display: grid;
        grid-template-columns: 65% 35%;
        grid-template-rows: repeat(4, auto);
        -moz-column-gap: 1.5rem;
             column-gap: 1.5rem;
        row-gap: 1.5rem;

        & ul {
            display: flex;
            gap: 1.5rem;
            width: 100%;
            & li {
                flex: 1;
                & .label-info:not(:nth-of-type(1)) {
                    margin-top: 8px;
                }
            }
        }
        & .tracking-info {
            grid-column: 1 / 2;
            grid-row: 1 / 2;
            padding-top: 24px;
            position: relative;
        }
        & .tracking-info > span {
            color: var(--accent-color);
            position: absolute;
            inset-inline-end: 15px;
            font-weight: 700;
        }
        & .receiver-info {
            grid-column: 1 / 2;
            grid-row: 2 / 3;
        }
        & .package-info {
            grid-column: 1 / 2;
            grid-row: 3 / 4;
            display: flex;
            flex-direction: column;
            & h4 {
                color: var(--accent-color);
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }
            & .total {
                font-size: 0.875rem;
                line-height: 1rem;
                color: var(--secondary-text);
                font-weight: 500;
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                align-self: flex-end;
            }
            & .total::after {
                content: attr(data-total);
                margin-inline-start: 0.5rem;
                font-size: 1rem;
                line-height: 1.75rem;
                font-weight: 600;
                color: var(--text-color);
                margin-inline-start: auto;
            }
            & .package-detail {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 1.75rem;
                & li:only-child {
                    grid-column: span 3;
                }
            }
        }
        & .depot-info {
            grid-column: 2 / 3;
            grid-row: 1 / 3;
            padding: 24px;
            & .depot-detail {
                flex-direction: column;

                & h3 {
                    font-size: 1.125rem;
                    line-height: 1.75rem;
                    font-weight: 600;
                    color: var(--text-color);
                    margin-bottom: 0px;
                }
                & .label-info {
                    display: block;
                    & span {
                        display: flex;
                        gap: 0.5rem;
                        align-items: center;
                    }
                    & p {
                        padding-inline-start: 1.5rem;
                    }
                }
                & .label-info:not(:nth-of-type(1)) {
                    margin-top: 12px;
                }
                & li {
                    padding-inline-start: 14px;
                }
            }
        }

        & span {
            font-size: 0.875rem;
            line-height: 1rem;
            color: var(--secondary-text);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        & h4 {
            font-size: 0.875rem;
            line-height: 1rem;
            color: var(--secondary-text);
            font-weight: 600;
            margin-bottom: 12px;
        }
        & .label-info {
            display: flex;
            align-items: center;
            justify-content: space-between;

            & p {
                font-size: 0.875rem;
                line-height: 1rem;
            }
        }
        & p {
            font-weight: 500;
            margin-bottom: 0px;
        }
        & .payment-info {
            grid-column: 2 / 3;
            grid-row: 3 / 4;

            padding-inline: 24px;
            padding-top: 24px;
            border-radius: 0.75rem;

            & .label-info:not(:nth-of-type(1)) {
                margin-top: 1rem;
            }

            & span {
                font-size: 1rem;
            }
        }
        & .order-notes {
            & p {
                padding-inline-start: 12px;
            }
        }
        & .CTAs {
            grid-column: 2 / 3;
            grid-row: 4 / 5;
            padding-inline: 40px;
            margin-top: 24px;
            & a button:nth-of-type(1) {
                display: inline-flex;
                justify-content: center;
                align-items: center;
                gap: 0.5rem;
                background-color: var(--accent-color);
                color: rgb(248, 250, 252);
                padding-inline: 16px;
                padding-block: 8px;
                border-radius: 10px;
                font-size: 0.875rem;
                line-height: 1.25rem;
                width: 100%;
                font-weight: 500;
                cursor: pointer;
                border: none;
            }
            & a button:nth-of-type(1):hover {
                background-color: #e5173fe6;
            }

            & .local-button {
                display: flex;
                gap: 0.5rem;
                & a {
                    flex: 1;
                    & button {
                        margin-top: 16px;
                        background-color: var(--bg-color);
                        color: var(--text-color);
                        padding-inline: 16px;
                        padding-block: 8px;
                        border-radius: 10px;
                        font-size: 0.875rem;
                        line-height: 1.25rem;
                        width: 100%;
                        font-weight: 500;
                        cursor: pointer;
                        border: none;
                    }
                    & button:hover {
                        background-color: #93c5fd;
                    }
                }
                & button {
                    margin-top: 16px;
                    flex: 1;
                    background-color: #16a34a;
                    color: var(--bg-color);
                    padding-inline: 16px;
                    padding-block: 8px;
                    border-radius: 10px;
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    width: 100%;
                    font-weight: 500;
                    cursor: pointer;
                    border: none;
                }
                & button:hover {
                    background-color: #15803d;
                }
            }
        }
    }
    & .details-container > div {
        padding: 20px;
        border: 2px solid var(--border);
        border-radius: 0.75rem;
        background-color: var(--card-bg);
    }
    & .tracking-package {
        padding-inline-start: 30px;
        .tracking-list::before {
            content: "";
            position: absolute;
            top: 0;
            inset-inline-start: 1%;
            width: 4px;
            height: 100%;
            background-color: var(--accent-color);
        }
        .tracking-list {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            & .icon {
                width: -moz-fit-content;
                width: fit-content;
                padding-inline-start: 10px;
                background-color: var(--accent-color);
                display: flex;
                border-radius: 9999px;
                height: -moz-fit-content;
                height: fit-content;
                padding: 6px;
                align-items: center;
                position: relative;
                z-index: 1;
            }
            & .content {
                margin-inline-start: 1rem;
                flex: 1;
            }
            & .tracking-item {
                margin-inline-start: 1.5rem;
                padding-top: 2px;
                padding-bottom: 32px;
                position: relative;
                display: flex;
                align-items: flex-start;
                & .status {
                    font-size: 1rem;
                    line-height: 1.25rem;
                    font-weight: 500;
                    color: var(--text-color);
                    margin-bottom: 4px;
                }
                & .location {
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    color: var(--secondary-text);
                }
                & .description {
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    color: var(--text-color);
                    opacity: 80%;
                    margin-top: 4px;
                    padding-inline-start: 4px;
                }
            }
        }
    }
    & .tabs {
        display: flex;
        align-items: center;
        margin-bottom: 24px;
        & button {
            padding: 12px 16px;
            border: none;
            font-size: 0.875rem;
            line-height: 1.25rem;
            cursor: pointer;
            background-color: var(--bg-color);
            color: var(--secondary-text);
            font-weight: 500;
            opacity: 80%;
        }
        & button:hover {
            /* background-color: var(--accent-color); */
            color: var(--hover-color);
        }
        & button:nth-of-type(2) {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }
        & button.active {
            color: var(--accent-color);
            opacity: 100%;
            border-bottom: 2px solid var(--accent-color);
        }
    }
    & .allow-alert {
        font-size: 0.875rem;
        line-height: 1.25rem;
        color: #b45309;
        /* background-color: #FEFCE8; */
        border-inline-start: 4px solid #fbbf24;
        padding: 16px;
        margin-bottom: 1rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-start-end-radius: 0.75rem;
        border-end-end-radius: 0.75rem;
    }
    & .customers-page,
    & .orders-page,
    & .user {
        & .custom-select {
            min-width: 200px !important;
            padding: 8px 12px !important;
            border-radius: 10px !important;
            border: 2px solid var(--input-border) !important;
            background-color: var(--input-bg) !important;
            color: var(--text-color) !important;
            font-size: 0.875rem !important;
            transition: all 0.3s ease !important;
        }

        & .custom-select:focus {
            border-color: var(--accent-color) !important;
            box-shadow: 0 0 0 2px rgba(200, 28, 60, 0.2) !important;
            outline: none !important;
        }

        & .choices {
            width: auto !important;
            min-width: 200px !important;
        }

        & .choices__inner {
            background-color: var(--input-bg) !important;
            border: 2px solid var(--input-border) !important;
            border-radius: 10px !important;
            min-height: 40px !important;
            padding: 4px 8px !important;
            color: var(--text-color) !important;
        }

        & .choices__inner:hover {
            border-color: var(--accent-color) !important;
        }

        & .choices.is-focused .choices__inner {
            border-color: var(--accent-color) !important;
            box-shadow: 0 0 0 2px rgba(200, 28, 60, 0.2) !important;
        }

        & .choices__list--dropdown {
            border-radius: 10px !important;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
            border: 1px solid var(--input-border) !important;
            background-color: var(--card-bg) !important;
            color: var(--text-color) !important;
        }

        & .choices__list--dropdown .choices__item--selectable.is-highlighted {
            background-color: rgba(200, 28, 60, 0.1) !important;
            color: var(--text-color) !important;
        }

        & .choices__list--dropdown .choices__item--selectable {
            padding: 10px 12px !important;
            color: var(--text-color) !important;
        }

        &
            .choices__list--dropdown
            .choices__item[data-value="enabled"]::before {
            content: "•" !important;
            color: #22c55e !important;
            margin-right: 8px !important;
            font-size: 1.5em !important;
            vertical-align: middle !important;
        }

        &
            .choices__list--dropdown
            .choices__item[data-value="disabled"]::before {
            content: "•" !important;
            color: #ef4444 !important;
            margin-right: 8px !important;
            font-size: 1.5em !important;
            vertical-align: middle !important;
        }

        & .choices__list--single .choices__item {
            display: flex !important;
            align-items: center !important;
            color: var(--text-color) !important;
        }

        & .choices__list--single .choices__item[data-value="enabled"]::before {
            content: "•" !important;
            color: #22c55e !important;
            margin-right: 8px !important;
            font-size: 1.5em !important;
            vertical-align: middle !important;
        }

        & .choices__list--single .choices__item[data-value="disabled"]::before {
            content: "•" !important;
            color: #ef4444 !important;
            margin-right: 8px !important;
            font-size: 1.5em !important;
            vertical-align: middle !important;
        }

        & .choices__placeholder {
            color: var(--input-placeholder) !important;
            opacity: 0.7 !important;
        }

        & .choices__input {
            background-color: transparent !important;
            color: var(--text-color) !important;
        }
    }
    & .customer-form {
        padding: 24px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* align-items: center; */

        width: 100%;
        & fieldset {
            margin-top: 0px;
            width: 100%;
        }
        -moz-column-gap: 60px;
             column-gap: 60px;
        & .input-group {
            margin-top: 24px;
            & label::after {
                content: "*";
                color: RED;
            }
        }
        & legend {
            font-weight: 500;
            font-size: 2rem;
            line-height: 1.75rem;
        }
        & .form-actions {
            grid-column: 1/3;
        }
    }
    & .profile-container {
        width: 100%;
        display: grid;
        grid-template-columns: 25% 70%;
        grid-template-rows: 3fr auto auto;
        gap: 1.5rem;
        & .child {
            padding: 24px;
            background-color: var(--card-bg);
            border: 2px solid var(--border);
            border-radius: 0.75rem;
            box-sizing: border-box;

            & h2 {
                padding: 24px 24px 8px 24px;
                margin-bottom: 0px;

                display: block;
            }
        }
        & .profile-info {
            text-align: center;
            & div {
                display: flex;
                align-items: center;
                flex-direction: column;
                padding: 8px 24px 24px 24px;

                & img {
                    width: 90px;
                    height: 90px;
                    border: 1px solid var(--accent-color);
                    border-radius: 9999px;
                    margin-bottom: 1rem;
                }
            }
        }
        & .profile-activity {
            grid-column: 1 /2;
            grid-row: 2 /3;
            text-align: center;
            & ul {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 8px 24px 24px 24px;
                margin-bottom: 0px;
                gap: 1rem;
                & li {
                    padding: 12px;
                    font-size: 1.5rem;
                    line-height: 2rem;
                    font-weight: 600;
                    display: flex;
                    align-items: center;
                    flex-direction: column;
                    & svg {
                        margin-bottom: 6px;
                    }
                    & span {
                        font-size: 0.75rem;
                        line-height: 1rem;
                        font-weight: normal;
                        color: var(--secondary-text);
                    }
                }
            }
        }
        & .profile-details {
            & .detail-wrapper {
                padding: 8px 24px 24px 24px;
                display: grid;
                grid-template-columns: repeat(3, auto);
                grid-template-rows: repeat(2, 1fr);
                row-gap: 1rem;
                & h3 {
                    display: inline-flex;
                    gap: 0.5rem;
                    margin-bottom: 4px;
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                }
                & p {
                    font-weight: 500;
                    padding-left: 1.5rem;
                }
            }
        }
        & .profile-edits {
            grid-row: 2 / 4;
            & h2 {
                display: inline-flex;
                gap: 0.5rem;
                align-items: center;
            }
            & .wrapper {
                padding: 8px 24px 24px 24px;
                display: flex;
                flex-direction: column;

                & .input-group:not(:nth-of-type(1)) {
                    margin-top: 1rem;
                }
                & button {
                    padding: 8px 16px;
                    border: 1px solid transparent;
                    border-radius: 0.875rem;
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    font-weight: 600;
                    cursor: pointer;
                    color: var(--bg-color);
                    background-color: var(--accent-color);
                    margin-top: 1rem;
                    align-self: flex-end;
                    transition: all 0.2s ease;
                    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
                }

                & button:hover {
                    background-color: var(--accent-color);
                    filter: brightness(0.9);
                    transform: translateY(-1px);
                    box-shadow: 0 4px 8px rgba(200, 28, 60, 0.3);
                }

                & button:active {
                    transform: translateY(0);
                    box-shadow: 0 2px 4px rgba(200, 28, 60, 0.2);
                }
            }
        }
    }
    & .depot-container,
    & .notification-table {
        & ul {
            display: flex;
            gap: 1.5rem;

            & li {
                flex: 1;
                background-color: var(--card-bg);
                border: 2px solid var(--border);
                border-radius: 0.75rem;
                & .depot-info {
                    padding: 24px;
                }
                & h2 {
                    display: flex;
                    justify-content: space-between;
                    & span {
                        display: block;
                        font-size: 1rem;
                        line-height: 1.5rem;
                        font-weight: 600;
                        padding: 4px 20px;
                        border-radius: 9999px;
                    }
                }

                & .address {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 10px;
                    & li {
                        display: flex;
                        align-items: center;
                        flex-direction: column;

                        border: none;
                        gap: 6px;
                        & span {
                            color: var(--secondary-text);
                            font-size: 14px;
                        }
                    }
                }
                & .flex-wrapper {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    background-color: rgba(241, 245, 249, 0.2);
                    border-top: 1px solid rgb(226, 232, 240);
                    padding: 24px;
                    & p.date {
                        display: flex;
                        gap: 0.5rem;
                        align-items: center;
                        /* margin-top: 8px; */
                        color: var(--secondary-text);
                        font-size: 14px;
                        font-weight: 400;
                    }
                    & .depot-edits {
                        display: flex;
                        gap: 0.5rem;
                        align-items: center;
                        justify-content: end;
                        & .edit {
                            display: flex;
                            align-items: center;
                            color: rgb(37, 99, 235);
                            background-color: rgb(239, 246, 255);
                            border: 1px solid rgb(191, 219, 254);
                            border-radius: 0.5rem;
                            padding: 8px;
                            cursor: pointer;
                        }
                    }
                }
            }
        }
        & .active,
        & .readed-notification {
            border: 2px solid rgb(134, 239, 172);
            color: rgb(22, 101, 52);
            background-color: rgb(220, 252, 231);
        }
        & .inactive,
        & .unreaded-notification {
            border: 2px solid rgb(254, 202, 202);
            color: rgb(185, 28, 28);
            background-color: rgb(254, 242, 242);
        }
    }
    & .user-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        & button {
            display: flex;
            gap: 0.5rem;
        }
    }
    & .add-userContainer {
        & #generate {
            color: var(--text-color);
            background-color: var(--card-bg);
            border: 2px solid var(--border);
            padding: 8px 16px;
            border-radius: 0.875rem;
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 600;
            display: flex;
            gap: 0.5rem;
            align-items: center;
            cursor: pointer;
        }
        & #generate:hover {
            background-color: rgba(226, 232, 240, 0.4);
            border-color: #cbd5e1;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
    }
    & .depot-content {
        & .depot-form {
            & .radio-group {
                display: flex;
                align-items: center;
                gap: 1rem;
            }
        }
        & .depot-location {
            margin-top: 24px;
        }
        & .field-header {
            padding: 24px;
            background-color: var(--bg-color);
            border: 2px solid transparent;
            border-radius: 0.75rem;
            & legend {
                text-align: center;
            }
        }
    }
    & .support-wrapper {
        margin-inline: 120px;
    }
    & .support {
        display: flex;
        gap: 1.5rem;
        & section:nth-of-type(1) {
            align-self: flex-start;
            width: 25%;
            background-color: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            padding: 24px;
            /* display: flex;
      align-items: center; */
            & .new-request {
                padding: 8px 16px;
                border: 2px solid transparent;
                color: var(--bg-color);
                border-radius: 0.75rem;
                background-color: var(--accent-color);
                margin-bottom: 24px;
                width: 100%;
                cursor: pointer;
                &:hover {
                    background-color: #a11731;
                }
            }
            & ul {
                display: flex;
                align-items: center;
                flex-direction: column;
                gap: 8px;
                margin-bottom: 0px;
                & li {
                    width: 100%;
                    padding: 12px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border: 1px solid transparent;
                    border-radius: 0.75rem;
                    cursor: pointer;
                    &:hover {
                        background-color: var(--secondary-foreground);
                        color: var(--text-color);
                    }

                    & div {
                        display: flex;
                        gap: 0.5rem;
                        align-items: center;
                    }
                    & span {
                        padding: 2px 10px;
                        border-radius: 9999px;
                        font-size: 0.875rem;
                        line-height: 1.25rem;
                        font-weight: 600;
                        color: var(--text-color);
                        background-color: var(--bg-color);
                        border: 1px solid var(--border);
                    }
                }
                & li.active {
                    background-color: var(--active-color);
                    color: var(--accent-color);
                    & span {
                        background-color: var(--accent-color);
                        color: var(--bg-color);
                        border: none;
                    }
                }
            }
        }
        & .table-container {
            width: 70%;
            & .support-table {
                border: 1px solid var(--border);
                border-radius: 0.75rem;
                & thead {
                    background-color: var(--secondary-foreground);
                    & th {
                        font-size: 0.875rem;
                        line-height: 1.25rem;
                        font-weight: 600;
                        color: var(--background-color);
                    }
                }
                & tbody {
                    & tr {
                        cursor: pointer;
                    }
                    & tr:hover {
                        background-color: var(--secondary-foreground);
                        color: var(--text-color);
                        transform: scale(1.01);
                        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                        animation: transition 0.3s ease-in-out;
                    }
                }
                & td:nth-of-type(2) {
                    & div {
                        padding: 4px 20px;
                        border-radius: 9999px;
                        font-size: 0.875rem;
                        line-height: 1.25rem;
                        font-weight: 600;
                        display: inline;
                    }
                }
                & td:last-child {
                    color: var(--secondary-text);
                }
            }
            & .empty-state {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                align-items: center;
                justify-content: center;

                & svg {
                    width: 48px;
                    height: 48px;
                    color: var(--secondary-text);
                }
                & h2 {
                    margin-bottom: 0px;
                    font-size: 1.5rem;
                    line-height: 1.75rem;
                    font-weight: 600;
                    color: var(--text-color);
                }
                & p {
                    font-size: 1rem;
                    line-height: 1.25rem;
                    color: var(--secondary-text);
                    font-weight: 500;
                }
            }
        }
        & .form-support {
            width: 60%;
            & .form-group {
                display: block;
                & div:not(:nth-child(1)) {
                    margin-top: 1rem;
                }
                & .form-actions {
                    margin-block: 0px;
                }
            }
            & legend {
                font-size: 1.5rem;
                line-height: 1.75rem;
                font-weight: 600;
                color: var(--text-color);
                margin-bottom: 0px;
            }
        }
    }
    & .notification-table {
        & div.td_wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        span {
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 600;
            padding: 4px 20px;
            border-radius: 9999px;
        }
        .notification-important {
            background-color: var(--accent-color);
            color: var(--bg-color);
        }
        .notification-not-important {
            background-color: transparent;
            color: var(--secondary-text);
            border: 1px solid var(--border);
        }
    }
    & .notification-details {
        background-color: var(--card-bg);
        border: 2px solid var(--border);
        border-radius: 0.75rem;
        padding: 24px;
        .details-header {
            display: flex;
            gap: 1rem;
            align-items: center;
            margin-bottom: 1.5rem;
            & div {
                padding: 12px;
                border-radius: 9999px;
                color: var(--accent-color);
                background-color: var(--secondary-foreground);
                display: flex;
                align-items: center;
            }
            & h2 {
                display: block;
                margin-bottom: 0px;
                &::after {
                    content: attr(data-ticket);
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    font-weight: 500;
                    color: var(--secondary-text);
                    margin-top: 0.25rem;
                    display: block;
                }
            }
        }
        & h3 {
            font-size: 1.25rem;
            line-height: 1.75rem;
            font-weight: 600;

            color: var(--text-color);
        }

        & ul {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 20px;
            & li {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                font-size: 0.875rem;
                line-height: 1.25rem;
                color: var(--secondary-text);
            }
        }
        & p {
            font-size: 1rem;
            line-height: 1.5rem;
            font-weight: 500;
            color: var(--text-color);
            background-color: var(--secondary-foreground);
            padding: 24px;
            border-radius: 0.75rem;
            border: 1px solid var(--border);
            margin-bottom: 1rem;
        }
    }
    & .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
        & button {
            padding: 12px 12px;
            border: 2px solid var(--border);
            border-radius: 0.75rem;
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 600;
            cursor: pointer;
            color: var(--text-color);
            background-color: transparent;
            align-self: flex-end;
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        button:hover {
            background-color: var(--secondary-foreground);
        }
    }
    & .verification-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        min-height: 80vh;
        & .verification-card {
            display: flex;
            flex-direction: column;

            align-items: center;
            background-color: var(--card-bg);
            padding: 24px;
            box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px,
                rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px,
                rgba(0, 0, 0, 0.07) 0px 8px 16px,
                rgba(0, 0, 0, 0.07) 0px 16px 32px,
                rgba(0, 0, 0, 0.07) 0px 32px 64px;
            border-radius: 0.75rem;
            border: 2px solid transparent;
            & h1 {
                font-size: 1.875rem;
                line-height: 2.25rem;
                font-weight: 700;
                color: var(--text-color);
                margin-bottom: 1rem;

                & span {
                    color: var(--accent-color);
                }
            }
            & h2 {
                font-size: 1.25rem;
                line-height: 1.75rem;
                font-weight: 400;

                margin-bottom: 10px;
            }
            & p {
                padding: 1rem;
                background-color: var(--secondary-foreground);
                border-radius: 0.75rem;
            }
            & a {
                cursor: pointer;
            }
            & button {
                padding: 24px 32px;
                background-color: var(--accent-color);
                color: #ffff;
                margin-block: 24px;
                font-weight: 500;
                font-size: 1.125rem;
                line-height: 1.75rem;
                border-radius: 0.75rem;
                border: none;
                cursor: pointer;
                &:hover {
                    background-color: #a11731;
                }
            }
            & .contact {
                display: flex;
                align-items: center;
                gap: 1rem;
                width: 100%;
                & .contact-item {
                    padding: 1rem;
                    flex: 1;
                    background-color: var(--secondary-foreground);
                    border-radius: 0.75rem;
                    border: 2px solid var(--border);
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    & div {
                        padding: 0.5rem;
                        border-radius: 9999px;
                        background-color: var(--accent-color);
                        display: flex;
                        align-items: center;

                        & svg {
                            stroke: #fff;
                        }
                    }
                    & p {
                        font-weight: 500;
                        &::before {
                            content: attr(data-label);
                            font-size: 0.875rem;
                            line-height: 1.25rem;
                            color: var(--secondary-text);
                            margin-bottom: 0.25rem;
                            display: block;
                        }
                    }
                }
            }
        }
        & .image-container {
            width: 96px;
            height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;
            & svg {
                stroke: #ffff;
                fill: var(--accent-color);
                width: 100%;
                height: 100%;
                -o-object-fit: cover;
                   object-fit: cover;
            }
        }
    }
    & .register-page {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }
    & .register-container {
        width: 100%;
        padding: 24px;
        background-color: var(--card-bg);
        border-radius: 0.75rem;
        border: 2px solid transparent;
        max-width: 48rem;
        box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px,
            rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
            rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
        .main-header {
            margin-block: 0px;
            padding-bottom: 24px;
            text-align: center;
            & p {
                margin-top: 0.5rem;
            }
        }
        & fieldset {
            border: none;
            padding: 0;
            & legend {
                margin-bottom: 0px;
                padding-bottom: 0.5rem;
                border: 1px solid transparent;
                border-block-end-color: rgb(226, 232, 240);
            }
            & .form-group {
                gap: 1.5rem;
                margin-bottom: 0px;
                margin-top: 1rem;
            }
        }
        & .radio-group {
            display: flex;
            margin-block: 24px;
            align-items: center;
            gap: 12px;
            & label {
                color: var(--accent-color);
                margin-bottom: 0px;
                &::before {
                    content: attr(data-label);
                    color: var(--secondary-text);
                }
            }
        }
        & .form-actions {
            display: block;
            & button {
                width: 100%;
                padding: 16px 24px;
                font-size: 1.125rem;
                line-height: 1.75rem;
                font-weight: 500;
            }
        }
    }
    & .container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        & .verification-request {
            max-width: 56rem;
            background-color: var(--card-bg);
            padding: 24px;
            border: 1px solid rgba(226, 232, 240, 0.5);
            border-radius: 0.75rem;
            & .main-header {
                margin-top: 0px;
            }
            & fieldset {
                padding: 20px;
                border-color: var(--border);
                background-color: var(--secondary-foreground);
                & .field-header {
                    margin-bottom: 1rem;
                    & legend {
                        font-weight: 500;
                    }
                    & .number {
                        font-weight: 500;
                        color: var(--card-bg);
                        background-color: var(--accent-color);
                        padding: 1rem;
                        border-radius: 9999px;
                        display: flex;
                        width: 24px;
                        height: 24px;
                        align-items: center;
                        justify-content: center;
                    }
                }
                & .cin-wrapper {
                    padding: 24px;
                    display: flex;
                    align-items: center;
                    flex-direction: column;
                    cursor: pointer;
                    border: 2px dashed var(--secondary-text);
                    border-radius: 0.75rem;
                    & p:nth-of-type(1) {
                        font-size: 0.875rem;
                        line-height: 1.25rem;
                        color: var(--text-color);
                        margin-block: 0.5rem 0.25rem;
                        font-weight: 500;
                    }
                    & p:nth-of-type(2) {
                        font-size: 0.75rem;
                        line-height: 1rem;
                        color: var(--secondary-text);
                        margin-bottom: 0px;
                    }
                    & input {
                        display: none;
                    }
                    &:hover {
                        background-color: var(--secondary-foreground);
                        opacity: 80%;
                    }
                }
            }
            & fieldset:nth-of-type(2) {
                & .form-group {
                    display: block;
                    & > *:not(:first-child) {
                        margin-top: 1rem;
                    }
                    & p {
                        font-size: 0.875rem;
                        line-height: 1.25rem;
                        color: var(--secondary-text);
                    }
                    & .file-input {
                        width: -moz-fit-content;
                        width: fit-content;
                        margin-top: 0.5rem;
                        & input {
                            display: none;
                        }
                        & label {
                            display: flex;
                            align-items: center;
                            gap: 0.5rem;
                            padding: 8px 16px;
                            border-radius: 0.75rem;
                            background-color: var(--secondary-foreground);
                            border: 2px solid var(--border);
                            color: var(--text-color);
                            cursor: pointer;
                            & svg {
                                color: var(--text-color);
                                width: 20px;
                                height: 20px;
                            }
                        }
                    }
                }
            }
            & fieldset:nth-of-type(3) {
                & .note {
                    font-size: 0.875rem;
                    line-height: 1.25rem;
                    color: #b45309;
                    background-color: #fefce8;

                    padding: 16px;
                    margin-bottom: 1rem;
                    font-weight: 500;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    border-radius: 0.75rem;
                }
                & .form-group {
                    grid-template-columns: 1fr;
                    gap: 1rem;
                    & .input-group {
                        background-color: var(--card-bg);
                        border: 1px solid var(--border);
                        border-radius: 0.75rem;
                        padding: 1rem;
                        & .flex-wrapper {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            margin-bottom: 12px;
                            & label {
                                font-size: 1.125rem;
                                line-height: 1.75rem;
                                font-weight: 500;
                                color: var(--text-color);
                                margin-bottom: 0px;
                                & .icon-wrap {
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    padding: 0.5rem;
                                    border-radius: 0.25rem;
                                }
                                & .icon-wrap[data-type="prepayment"] {
                                    background-color: rgb(224, 231, 255);
                                    color: rgb(79, 70, 229);
                                }
                                & .icon-wrap[data-type="cod"] {
                                    background-color: rgb(220, 252, 231);
                                    color: rgb(22, 163, 74);
                                }
                            }
                            /* From Uiverse.io by arghyaBiswasDev */
                            /* The switch - the box around the slider */
                            .switch {
                                font-size: 17px;
                                position: relative;
                                display: inline-block;
                                width: 3.5em;
                                height: 2em;
                            }

                            /* Hide default HTML checkbox */
                            .switch input {
                                display: none;
                            }

                            /* The slider */
                            .slider {
                                position: absolute;
                                cursor: pointer;
                                top: 0;
                                left: 0;
                                right: 0;
                                bottom: 0;
                                background-color: #fff;
                                border: 1px solid #adb5bd;
                                transition: 0.4s;
                                border-radius: 30px;
                            }

                            .slider:before {
                                position: absolute;
                                content: "";
                                height: 1.4em;
                                width: 1.4em;
                                border-radius: 20px;
                                left: 0.27em;
                                bottom: 0.25em;
                                background-color: #adb5bd;
                                transition: 0.4s;
                            }

                            .slider-checked {
                                background-color: var(--accent-color);
                                border: 1px solid var(--accent-color);
                            }

                            /* input:focus ~ .slider {
                                box-shadow: 0 0 1px var(--accent-color);
                            } */

                            .slider-checked:before {
                                transform: translateX(1.4em);
                                background-color: #fff;
                            }
                        }
                        & p {
                            color: var(--secondary-text);
                            font-size: 0.875rem;
                            line-height: 1.25rem;
                            padding-inline-start: 2.25rem;
                        }
                    }
                    & .radio-group {
                        display: flex;
                        margin-block: 24px;
                        align-items: center;
                        gap: 12px;
                        & label {
                            color: var(--accent-color);
                            margin-bottom: 0px;
                            & span {
                                color: var(--secondary-text);
                            }
                            & a:nth-of-type(1) {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }
    & .confirm-location {
        height: 60%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        & .depot-setup {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            background-color: var(--card-bg);
            border: 2px solid transparent;
            border-radius: 0.75rem;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
                rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
            padding: 80px;
            & div {
                & svg {
                    width: 4rem;
                    height: 4rem;
                    color: var(--secondary-text);
                }
            }
            & h1 {
                font-size: 1.875rem;
                line-height: 2.25rem;
                font-weight: 700;
                color: var(--text-color);
            }
        }
    }
    & .request-container {
        padding: 24px;
        background-color: var(--card-bg);
        border: 2px solid var(--border);
        border-radius: 0.75rem;
        flex: 1;
        & .mini-header {
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border);

            & h2 {
                margin-bottom: 12px;
                display: flex;
                align-items: center;
                gap: 1.5rem;
            }
            & button {
                border: none;
                background-color: transparent;
                padding: 0;
                cursor: pointer;
            }
        }
        & p {
            font-size: 0.875rem;
            line-height: 1.25rem;
            color: var(--secondary-text);
            display: flex;
            align-items: center;
            gap: 0.75rem;

            & span {
                font-weight: 500;
            }
        }

        & h3 {
            color: var(--text-color);
            margin-top: 24px;
            font-weight: 600;
        }
        & .request-message {
            padding: 24px;
            background-color: var(--secondary-foreground);
            border: 2px solid transparent;
            border-radius: 0.75rem;
            margin-top: 24px;
            & p {
                font-size: 0.875rem;
                line-height: 1.25rem;
                color: var(--text-color);
                margin-bottom: 0px;
            }

            &::before {
                content: "Message :";
                display: block;
                font-weight: 500;

                margin-bottom: 0.5rem;
            }
        }
        & .reply-buttons {
            justify-content: space-between;
            flex-direction: row-reverse;
        }
    }
    & .verification-form {
        & button:nth-of-type(1):hover,
        & button:nth-of-type(2):hover {
            transform: translate(0, -2px);
            box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
                rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
            background-color: #a11731;
        }
    }
}
.exxpress-theme .input-group input:focus {
    border-color: var(--accent-color) !important;
}
.exxpress-theme .input-group textarea:focus {
    border-color: var(--accent-color) !important;
}

#wrapper {
    display: flex;
}
.page-wrapper {
    display: flex;
}

.body {
    background-color: #f8fafc;
    color: rgb(26, 31, 44);
}
.site-logo {
    background-color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block-start: 24px;
}

.hamburger-menu {
    display: none;
}

.label-hamburger {
    cursor: pointer;
    display: block;
}

.content-wrapper {
    margin-inline-start: 0;
    transition: margin-inline-start 0.3s ease-in-out, width 0.3s ease-in-out;
    width: 100%;
}

.hamburger-menu:checked ~ .content-wrapper {
    margin-inline-start: 300px;
    width: calc(100% - 250px);
}

.fixed-hamburger-label {
    z-index: 10000;
    cursor: pointer;
    padding-inline: 24px;
    display: block;
    /* position: absolute; */
    /* top: 24px; */
    /* left: 24px;
     */
    margin-top: 40px;
}

.fixed-hamburger-label div {
    position: static;
}

.hamburger-menu:checked ~ .fixed-hamburger-label {
    display: none;
}

.fixed-hamburger-label .hamburger-icon span {
    background: #1a1f2c;
}

.dark-mode .fixed-hamburger-label .hamburger-icon span {
    background: hsl(210, 40%, 98%);
}

.hamburger-menu:checked
    ~ .fixed-hamburger-label
    .hamburger-icon
    span:nth-child(1) {
    top: 0px;
    width: 100%;
    inset-inline-start: 0;
    transform: rotate(0deg);
}

.hamburger-menu:checked
    ~ .fixed-hamburger-label
    .hamburger-icon
    span:nth-child(2) {
    top: 8px;
    transform: rotate(0deg);
}

.hamburger-menu:checked
    ~ .fixed-hamburger-label
    .hamburger-icon
    span:nth-child(3) {
    top: 8px;
    transform: rotate(0deg);
}

.hamburger-menu:checked
    ~ .fixed-hamburger-label
    .hamburger-icon
    span:nth-child(4) {
    top: 16px;
    width: 100%;
    inset-inline-start: 0;
    transform: rotate(0deg);
}

@media (max-width: 768px) {
    .side-bar {
        transform: translateX(-100%);
    }

    .content-wrapper {
        margin-inline-start: 0;
        width: 100%;
        padding-inline: 16px;
    }

    .hamburger-menu:checked ~ .side-bar {
        transform: translateX(0);
    }

    .hamburger-menu:checked ~ .page-main::before {
        content: "";
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header .search-bar {
        width: 100%;
        order: 3;
    }

    .list-container li {
        min-width: 100%;
    }
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    margin: 0;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #1a1f2c;
    border-radius: 2px;
    opacity: 1;
    inset-inline-start: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.dark-mode .hamburger-icon span {
    background: hsl(210, 40%, 98%);
}

/* Default state - show hamburger icon when sidebar is closed */
.hamburger-icon span:nth-child(1) {
    top: 0px;
    width: 100%;
    inset-inline-start: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
    transform: rotate(0deg);
}

.hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(0deg);
}

.hamburger-icon span:nth-child(4) {
    top: 16px;
    width: 100%;
    inset-inline-start: 0;
}

/* When checked (sidebar open) - show X icon */
.hamburger-menu:checked ~ .side-bar .hamburger-icon span:nth-child(1) {
    top: 8px;
    width: 0%;
    inset-inline-start: 50%;
}

.hamburger-menu:checked ~ .side-bar .hamburger-icon span:nth-child(2) {
    top: 8px;
    transform: rotate(45deg);
}

.hamburger-menu:checked ~ .side-bar .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

.hamburger-menu:checked ~ .side-bar .hamburger-icon span:nth-child(4) {
    top: 8px;
    width: 0%;
    inset-inline-start: 50%;
}

.content-wrapper {
    padding-inline: 32px;
    margin-top: 24px;
    padding-bottom: 1rem;
    & h3 {
        font-size: 1.25rem;
        line-height: 30px;
        color: #9aa6b2;
        margin-bottom: 8px;
        font-weight: medium;
    }
}
.card-child & span {
    font-size: 2rem;
    line-height: 30px;
    font-weight: bold;
}

.list-container {
    margin-top: 16px;
    margin-bottom: 50px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    & li {
        padding: 24px;
        padding-block: 16px;
        flex: 1;
        border-radius: 0.75rem;
        border-width: 1px;
        border-inline-start-width: 4px;
        border-style: solid;

        & p {
            font-size: 2.25rem;
            line-height: 2.5rem;
            font-weight: bold;
            margin-bottom: 0px;
        }
        & span {
            color: #a6aebf;
            font-size: 1rem;
            line-height: 1rem;
            margin-top: 8px;
            display: flex;
            align-items: center;
            font-weight: bold;
        }
        & span::after {
            content: attr(data-text);
            margin-inline-start: 0.25rem;
        }

        & span::before {
            content: "";
            height: 0.375rem;
            width: 0.375rem;
            border-radius: 50%;
            display: inline-block;
            margin-inline-end: 0.5rem;
        }

        & div {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        & .custom-progress {
            width: 100%;
            background-color: #ffcccb;
            border-radius: 4px;
            overflow: hidden;
        }
        & .custom-progress-bar {
            height: 100%;
            background-color: #eb2930;
            transition: width 0.6s ease;
            position: relative;
        }
        & .custom-progress-bar::after {
            content: "";
            position: absolute;
            top: 0;
            inset-inline-start: 0;
            inset-inline-end: 0;
            bottom: 0;
            background-image: linear-gradient(
                45deg,
                rgba(255, 255, 255, 0.15) 25%,
                transparent 25%,
                transparent 50%,
                rgba(255, 255, 255, 0.15) 50%,
                rgba(255, 255, 255, 0.15) 75%,
                transparent 75%,
                transparent
            );
            background-size: 1rem 1rem;
            animation: progress-bar-stripes 1s linear infinite;
        }
        @keyframes progress-bar-stripes {
            from {
                background-position: 1rem 0;
            }

            to {
                background-position: 0 0;
            }
        }
    }
}
.list-container & li:nth-child(1) {
    border-color: #3b82f6;

    & span::before {
        background-color: #3b82f6;
    }
    & .lucide {
        color: #3b82f6;
    }
}

.list-container & li:nth-child(2) {
    border-color: #f59e0b;
    & span::before {
        background-color: #f59e0b;
    }
    & .lucide {
        color: #f59e0b;
    }
}
.list-container & li:nth-child(3) {
    border-color: #ef4444;
    & span::before {
        background-color: #ef4444;
    }
    & .lucide {
        color: #ef4444;
    }
}
.list-container & li:nth-child(4) {
    border-color: #22c55e;
    & span::before {
        background-color: #22c55e;
    }
    & .lucide {
        color: #22c55e;
    }
}

& .h2 {
    font-size: 1.75rem;
    line-height: 20rem;
    font-weight: medium;
    margin-bottom: 16px;
}
.active {
    & .side-navlink {
        color: yellow;
    }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    & .search-bar {
        position: relative;
        width: 500px;
        & svg {
            position: absolute;
            top: 18%;
            inset-inline-start: 10px;

            width: 20px;
            height: 20px;
            color: #94a3b8;
        }
        & input {
            width: 100%;
            padding-inline-start: 36px;
            padding-block: 8px;
            padding-inline-end: 12px;
            font-size: 0.875rem;
            line-height: 1.25rem;
            border-radius: 10px;
            color: #020817;
            border: 1px solid #2563eb;
            background-color: #dbeafe;
        }
    }
    & .header-nav {
        display: flex;
        gap: 16px;
        align-items: center;
        margin-bottom: 0px;
    }
}
.header-one-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Fix for dropdown visibility issues */
.search-wrapper {
    position: relative !important;
    overflow: visible !important;
}

.suggestions-list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-top: none !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 0 8px 8px !important;
}

/* Ensure parent containers don't clip the dropdown */
.exxpress-theme .form-group {
    overflow: visible !important;
}

.exxpress-theme .input-group {
    overflow: visible !important;
}

/* Specific fix for the receiver form group that has overflow: scroll */
.exxpress-theme fieldset#reciever .form-group {
    overflow: visible !important;
}

/* Make sure the dropdown appears above other elements */
.suggestions-list li {
    padding: 10px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #eee !important;
    background: white !important;
}

.suggestions-list li:hover {
    background-color: #f5f5f5 !important;
}

.cash-archive-page {
    & td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        color: var(--text-color);
        font-weight: 600;
    }
    & th {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        color: var(--secondary-text);
        font-weight: 600;
    }
    & h1 {
        padding-inline-start: 6px;
        border-inline-start: 5px solid var(--accent-color);
    }

    & .archive-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    & .archive-card {
        background-color: var(--card-bg);
        border: 2px solid var(--border);
        border-radius: 0.75rem;
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    & .archive-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
        background-color: var(--secondary-foreground);
        border-bottom: 1px solid var(--border);
    }

    & .archive-info {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;

        & h3 {
            font-size: 1.125rem;
            line-height: 1.75rem;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 0;
        }

        & .archive-date {
            font-size: 0.875rem;
            line-height: 1.25rem;
            color: var(--secondary-text);
            font-weight: 500;
        }
    }

    & .archive-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        background-color: var(--accent-color);
        color: white;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: all 0.2s ease;

        &:hover {
            background-color: color-mix(
                in srgb,
                var(--accent-color) 90%,
                black
            );
            transform: translateY(-1px);
            transform: matrix(90deg);
        }

        & svg {
            transition: transform 0.2s ease;
        }
    }

    & .archive-content {
        padding: 1.5rem;
    }

    & .archive-summary {
        margin-top: 1.5rem;
        padding: 1rem;
        background-color: var(--secondary-foreground);
        border-radius: 0.5rem;
        border: 1px solid var(--border);
    }

    & .summary-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    & .summary-label {
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 600;
        color: var(--text-color);
    }

    & .summary-value {
        font-size: 1.125rem;
        line-height: 1.75rem;
        font-weight: 700;
        color: var(--accent-color);
    }

    & .invoice-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background-color: var(--accent-color);
        color: white;
        border: none;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;

        &:hover {
            background-color: color-mix(
                in srgb,
                var(--accent-color) 90%,
                black
            );
            transform: translateY(-1px);
        }
    }

    & .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4rem 2rem;
        text-align: center;

        & svg {
            color: var(--secondary-text);
            margin-bottom: 1rem;
        }

        & h2 {
            font-size: 1.5rem;
            line-height: 2rem;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 0.5rem;
        }

        & p {
            font-size: 1rem;
            line-height: 1.5rem;
            color: var(--secondary-text);
            margin-bottom: 0;
        }
    }

    /* Collapse animation */
    & .collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    & .collapse.show {
        max-height: 1000px;
    }

    /* Filters Section Styling */
    & .filters-container {
        margin-bottom: 2rem;

        & .card {
            background-color: var(--card-bg);
            border: 2px solid var(--border);
            border-radius: 0.75rem;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        & .card-header {
            background-color: var(--secondary-foreground);
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        & .card-title {
            font-size: 1.125rem;
            line-height: 1.75rem;
            font-weight: 600;
            color: var(--text-color);
            display: flex;
            align-items: center;
            margin-bottom: 0;
        }

        & .card-body {
            padding: 1.5rem;
        }

        & .form-label {
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 500;
            color: var(--text-color);
            margin-bottom: 0.5rem;
            display: block;
        }

        & .form-select,
        & .form-control {
            width: 100%;
            padding: 0.5rem 0.75rem;
            font-size: 0.875rem;
            line-height: 1.25rem;
            border: 2px solid var(--input-border);
            border-radius: 0.5rem;
            background-color: var(--input-bg);
            color: var(--text-color);
            transition: all 0.2s ease;
        }

        & .form-select:focus,
        & .form-control:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 2px rgba(200, 28, 60, 0.2);
        }

        & .form-control-sm {
            padding: 0.375rem 0.5rem;
            font-size: 0.8125rem;
        }

        & .btn {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            line-height: 1.25rem;
            font-weight: 500;
            border: 2px solid transparent;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        & .btn-outline-secondary {
            color: var(--text-color);
            background-color: transparent;
            border-color: var(--border);
        }

        & .btn-outline-secondary:hover {
            background-color: var(--secondary-foreground);
            border-color: var(--accent-color);
            color: var(--accent-color);
            transform: translateY(-1px);
        }

        & .btn-sm {
            padding: 0.375rem 0.75rem;
            font-size: 0.8125rem;
        }

        & .badge {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            line-height: 1rem;
            font-weight: 500;
            border-radius: 0.375rem;
        }

        & .bg-primary {
            background-color: var(--accent-color);
            color: white;
        }

        & .ms-2 {
            margin-left: 0.5rem;
        }

        & .me-1 {
            margin-right: 0.25rem;
        }

        & .me-2 {
            margin-right: 0.5rem;
        }

        & .g-2 > .col-6 {
            padding-left: 0.25rem;
            padding-right: 0.25rem;
        }

        & .g-3 > [class*="col-"] {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }

        & .mt-3 {
            margin-top: 1rem;
        }

        & .mb-0 {
            margin-bottom: 0;
        }

        & .mb-4 {
            margin-bottom: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        & .archive-header {
            padding: 1rem;
        }

        & .archive-content {
            padding: 1rem;
        }

        & .summary-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

        & .filters-container {
            & .g-3 > [class*="col-"] {
                margin-bottom: 1rem;
            }

            & .col-md-3 {
                width: 100%;
            }

            & .g-2 > .col-6 {
                width: 50%;
                float: left;
            }
        }
    }
}

/* Override choices.js RTL styles with logical properties */
[dir="rtl"] .choices__list--single {
    padding-inline-end: 4px;
    padding-inline-start: 16px;
}


/*# sourceMappingURL=app.css.map*/