/* Base & Seamless Dark Background */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    letter-spacing: 1px;
    line-height: 1.3;
    font-weight: 400;
    background-color: #2E2E2E;
    color: white;
}

/* Centering & Spacing */
.login-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-padding {
    padding: 5px;
}

/* Containers & Surface Elements */
.login-container {
    background-color: #2E2E2E;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
}

.login-body {
    padding: 20px;
}

/* Header & Footer */
.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Play', sans-serif;
    background: #2E2E2E;
    padding: 20px;
    min-height: 50px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 700;
    color: white;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}
.login-header img { width: 100px; }

.login-footer {
    position: relative;
    display: flex;
    justify-content: flex-end;
    background: #2E2E2E;
    padding: 20px;
    min-height: 50px;
    color: white;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}

/* Typography */
h1 {
    font-size: 14pt;
    color: white;
    margin: 0;
}
h2 {
    font-size: 14pt;
    color: white;
    margin: 0;
    padding-left: 5px;
    padding-top: 5px;
}
h10 {
    font-size: 15pt;
    color: white;
    margin: 0;
    padding-top: 5px;
    font-weight: 600;
}
p10 {
    font-size: 12pt;
    color: white;
    margin: 0;
    padding-top: 5px;
}
h1, .login-footer div { color: white; }
.login-footer div { font-size: 14px; }

/* Shape Divider */
.custom-shape-divider-bottom-1739057659 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.custom-shape-divider-bottom-1739057659 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 94px;
}
.custom-shape-divider-bottom-1739057659 .shape-fill {
    fill: #2E2E2E;
}

.spacer { width: 100px; }
.vertspacer { height: 40%; }

/* Form Inputs */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
    background-color: #2E2E2E;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: inset 4px 4px 8px #1C1C1C, inset -4px -4px 8px #3F3F3F;
}

/* Buttons – Base Style (No hover effect by default) */
.login-submit,
button,
.large-button,
.medium-button,
.small-button,
.micro-button,
#submit-button,
.contact-btn {
    background-color: #2E2E2E;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
    transition: all 0.2s;
}

/* Specific Button Sizes */
.large-button {
    width: auto;
    height: 45px;
    font-size: clamp(14px, 1vw, 20px);
    padding-left: 40px;
    padding-right: 40px;
}
.medium-button {
    width: auto;
    height: 35px;
    font-size: clamp(14px, 1vw, 20px);
    padding-left: 30px;
    padding-right: 30px;
}
.small-button {
    width: auto;
    height: 25px;
    font-size: 14px;
    border-radius: 100px;
    padding-left: 20px;
    padding-right: 20px;
}
.micro-button {
    width: auto;
    height: 20px;
    font-size: 12px;
    padding-left: 12px;
    padding-right: 12px;
}

/* Hover Effects */
/* All standard buttons turn Dodger Blue (#1E90FF) on hover with no extra effects,
   except for exceptions (cancel, logout, close (X) and delete buttons) which turn red */
button:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item),
.login-submit:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item),
.large-button:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item),
.medium-button:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item),
.small-button:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item),
.micro-button:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item),
#submit-button:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item),
.contact-btn:hover:not(#cancel-button):not(#logout):not(.close-btn):not(.remove-item) {
    background-color: #1E90FF !important;
    box-shadow: none !important;
    transform: none !important;
}
#cancel-button:hover,
#logout:hover,
.close-btn:hover,
.remove-item:hover {
    background-color: red !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Cards & Containers */
.dashboard-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 10px 15px 10px;
    margin-left: 200px;
    gap: 10px;
    justify-content: center;
}
.dashboard-column-one {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.column-one-row-one {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.card {
    background: #2E2E2E;
    border-radius: 5px;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-weight: bold;
    color: white;
}
.small-card { height: 100px; width: 200px; }
.sales-pipeline-card { width: auto; height: 380px; }
.bar-chart-container {
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
}

/* Tables */
.customers-leads-table-container { overflow-x: auto; max-width: 100%; }
#customersLeadsDashboardTable { width: 100%; border-collapse: collapse; }
#customersLeadsDashboardTable thead th {
    position: sticky;
    top: 0;
    background-color: #2E2E2E;
    z-index: 2;
    padding: 10px;
    text-align: center;
    color: white;
    box-shadow: 2px 2px 4px #1C1C1C, -2px -2px 4px #3F3F3F;
}
#customersLeadsDashboardTable tbody td {
    vertical-align: top;
    padding: 5px;
    font-size: 11px;
    font-weight: 400;
    color: white;
}
.nested-table-wrapper {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #1C1C1C;
    background: #2E2E2E;
    height: 253px;
    color: white;
}
.nested-table { width: 100%; border-collapse: collapse; }
.nested-table td {
    border: 1px solid #1C1C1C;
    padding: 8px;
    white-space: nowrap;
    color: white;
}
.nested-table-wrapper::-webkit-scrollbar { width: 8px; }
.nested-table-wrapper::-webkit-scrollbar-thumb {
    background: #3F3F3F;
    border-radius: 4px;
}
.customer-leads-table { width: auto; height: 345px; }
.medium-square-card { width: 275px; height: 275px; }
.blue-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    background-color: #2E2E2E;
    border-radius: 4px 4px 0 0;
    box-shadow: 2px 2px 4px #1C1C1C, -2px -2px 4px #3F3F3F;
    color: white;
}
.gray-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    background-color: #2E2E2E;
    border-radius: 4px 4px 0 0;
    box-shadow: inset 1px 1px 10px #1C1C1C;
    color: white;
}
#header { padding: 10px; letter-spacing: 0; line-height: 1; color: white; }
.column-one-row-one #header { color: white; }

/* Sidebar */
#side-style {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 170px;
    height: 30px;
    left: 15px;
    border-radius: 100px;
    background-color: #2E2E2E;
    box-shadow: 2px 2px 4px #1C1C1C, -2px -2px 4px #3F3F3F;
    color: white;
}
#logout {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 170px;
    height: 30px;
    left: 15px;
    border-radius: 100px;
    background-color: #2E2E2E;
    justify-content: center;
    box-shadow: 2px 2px 4px #1C1C1C, -2px -2px 4px #3F3F3F;
    color: white;
}
.sidebar {
    background-color: #2E2E2E;
    color: white;
    height: 100%;
    transition: width 0.3s;
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    left: 0;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}
.logo { width: 75px; height: 75px; margin-left: 30px; padding: 5px 0 15px; }
.sidebar-nav { display: flex; flex-direction: column; padding-top: 25px; }

/* Page Container */
.page-container {
    display: flex;
    flex-direction: column;
    width: calc(100% - 230px);
    margin-left: 200px;
    padding: 15px;
    background-color: #2E2E2E;
    color: white;
}

/* Search Bar */
.search-bar-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    overflow: hidden;
}
.search-item-container-1 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40%;
    padding-left: 5px;
}
.search-item-container-2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 60%;
    gap: 10px;
    padding-right: 5px;
}

/* Table Container */
.table-container {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
    background-color: #2E2E2E;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
    color: white;
}
.table-container-1 {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #1C1C1C;
    background-color: #2E2E2E;
    color: white;
}

/* Activity Details */
.activity-details-1 { display: none; }
.expandable:hover { cursor: pointer; background-color: #3A3A3A; }

/* Event Dot */
.event-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #1C1C1C;
}

/* Profile Dot Container */
.profile-container-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

/* Tables */
table { border-radius: 10px; }
thead {
    position: sticky;
    top: 0;
    background-color: #2E2E2E;
    z-index: 100;
    color: white;
    box-shadow: 2px 2px 4px #1C1C1C, -2px -2px 4px #3F3F3F;
}
#contacts-table {
    border-collapse: collapse;
    width: 100%;
    border-radius: 10px;
    background-color: #2E2E2E;
    overflow-y: scroll;
    color: white;
}
#contacts-table td, #contacts-table th {
    border: 1px solid #1C1C1C;
    padding: 8px;
    color: white;
}
#contacts-table tr:hover { background-color: #3A3A3A; }
#contacts-table th {
    padding: 12px 0;
    text-align: left;
    background-color: #2E2E2E;
    color: white;
    box-shadow: 2px 2px 4px #1C1C1C, -2px -2px 4px #3F3F3F;
}
#contacts-table tbody { overflow-y: scroll; }
#search {
    max-width: 300px;
    width: 100%;
    margin: 0 10px;
    border-radius: 20px;
    background-color: #2E2E2E;
    padding: 10px;
    border: none;
    box-shadow: inset 4px 4px 8px #1C1C1C, inset -4px -4px 8px #3F3F3F;
    color: white;
}

/* User Management */
.profile-container {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #2E2E2E;
    box-shadow: 2px 2px 4px #1C1C1C, -2px -2px 4px #3F3F3F;
    color: white;
}
.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5px;
    color: white;
}
.user-info h1 { color: white; }
.user-h-stack {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-width: 600px;
    height: 75px;
    color: white;
}
.contact-details-left {
    min-width: 300px;
    padding: 10px;
    color: white;
}
.contact-details-right {
    padding: 10px;
    color: white;
}
.align-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contact Details Page */
.contact-details-h-stack {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 0 6px;
    color: white;
}
.order-row { align-items: center; }
.order-details-container { width: 100%; color: white; }
.order-details-container h4 { padding: 4px; color: white; }
.nested-order-items-table { width: inherit; }
.nested-order-processing-table { width: 100%; }
.data-box {
    width: 60%;
    padding: 10px;
    border: 1px solid #1C1C1C;
    background-color: #2E2E2E;
    border-radius: 4px;
    font-size: 14px;
    color: white;
    box-shadow: inset 4px 4px 8px #1C1C1C, inset -4px -4px 8px #3F3F3F;
}
.label { font-weight: bold; color: white; }
.contact-info-card {
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 500px;
    gap: 15px;
    background-color: #2E2E2E;
    border-radius: 8px;
    overflow-y: scroll;
    padding-bottom: 15px;
    color: white;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
}
#interior { padding: 5px; justify-content: flex-end; width: 95%; color: white; }

/* Arrow Icons */
.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}
.right { transform: rotate(-45deg); }
.left { transform: rotate(135deg); }
.up { transform: rotate(-135deg); }
.down { transform: rotate(45deg); }

/* Activities History */
.activities-history-card {
    width: 60%;
    min-height: 100%;
    max-height: 500px;
    background-color: #2E2E2E;
    overflow-y: scroll;
    overflow-x: hidden;
    color: white;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
}
#sticky-header { position: sticky; top: 0; z-index: 10; }
.orders-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    border-radius: 8px;
    background-color: #2E2E2E;
    color: white;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
}
#contact-details { height: 100%; }

/* Activities-Calendar */
#calendar-page-container { overflow-y: hidden; }
.calendar-h-stack {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: start;
}
.itemized-calendar-card {
    width: 55%;
    height: 100%;
    background-color: #2E2E2E;
    border-radius: 8px;
    color: white;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
}
.calendar-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45%;
    background-color: #2E2E2E;
    border-radius: 8px;
    height: fit-content;
    color: white;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
}
.calendar-card .table-container th { min-width: 34px; }
.month-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 5%;
    flex-wrap: nowrap;
}
#month-header { padding: 0 10px; }

/* Popups */
.success-popup {
    background: #2E2E2E;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
    color: white;
}
.checkmark { font-size: 40px; color: #27ae60; display: block; margin: 20px auto; }
.success-body p { font-size: 18px; color: white; }
.close-success-btn {
    width: 100%;
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}
.close-success-btn:hover { background-color: #1e8449; }
#popupSuccess {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.failure-popup {
    background: #2E2E2E;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
    color: white;
}
.crossmark { font-size: 40px; color: #e74c3c; display: block; margin: 20px auto; }
.failure-body p { font-size: 18px; color: white; }
.close-failure-btn {
    width: 100%;
    padding: 10px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}
.close-failure-btn:hover { background-color: #c0392b; }
#popupFailure {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Contact Form Popup */
.contact-popup {
    background: #2E2E2E;
    padding: 15px;
    border-radius: 8px;
    width: 500px;
    text-align: left;
    position: relative;
    box-shadow: 5px 5px 10px #1C1C1C, -5px -5px 10px #3F3F3F;
    display: flex;
    flex-direction: column;
    color: white;
}
.popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #2E2E2E;
    padding: 15px;
    border-bottom: 1px solid #1C1C1C;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}
.close-btn {
    position: absolute;
    left: 15px;
    font-size: 50px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}
.close-btn:hover { color: red; }

/* Form Layout */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #1C1C1C;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 8px;
    background: #2E2E2E;
    color: white;
    box-shadow: inset 4px 4px 8px #1C1C1C, inset -4px -4px 8px #3F3F3F;
}
.form-group input { margin: 0; }

/* Headers */
h3 { margin-top: 10px; font-size: 14px; color: white; text-align: left; }

/* Submit Button */
.contact-btn {
    width: 100%;
    padding: 10px;
    background-color: #2E2E2E;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}
.contact-btn:hover {
    box-shadow: inset 3px 3px 5px #1C1C1C, inset -3px -3px 5px #3F3F3F;
    opacity: 0.85;
}

/* Popup Overlay */
#popupContact,
#popupAddEvent,
#popupEditUser,
#popupMoreInfo,
#popupCreateUser,
#popupDeleteUser,
#popupOrderItems,
#popupShippingBilling,
#popupOrderSummary,
#popupOrderProcessing,
#popupAddTask,
#popupEditTask,
#popupUploadAttachment {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Chart Canvas */
.card canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 225px;
    padding-top: 5px;
}
#sales-bar-chart { padding-top: 5px; max-height: 275px; }

.v-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    color: white;
}
.h-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
    color: white;
}
.h-stack h1 { color: white; }

/* Map */
.map-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
.map-link {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    text-decoration: none;
    font-size: 32px;
    font-weight: bold;
    color: white;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.map-link:hover {
    transform: translateY(-50%) scale(1.2);
    opacity: 0.8;
}

/* Parent Container */
.blue-header-bar {
    position: sticky;
    top: 0;
    overflow-x: clip;
}

/* Filter Dropdown */
#filterDropdown {
    position: absolute;
    height: 200px;
    right: 10px;
    top: 40px;
    background: #2E2E2E;
    border: 1px solid #1C1C1C;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    width: 140px;
    z-index: 101;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: white;
}
#filterForm { position: relative; width: auto; }
.dropdown-filter { display: flex; }
.hidden { display: none; }
#activities-table { width: 100%; overflow-y: scroll; }

/* Calendar Cells */
.calendar-cell {
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 20px;
    height: 34px;
    color: white;
}
.selected-date {
    background-color: #1E90FF;
    color: white;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: inline-block;
    line-height: 34px;
    margin: auto;
}
.has-task {
    border: 2px solid #1E90FF;
    border-radius: 50%;
    padding: 8px;
    color: white;
}

/* Scrollable Containers */
.full-table-container {
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    border-radius: 10px;
}
.report-table-container {
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    border-radius: 10px;
}

/* Completed Tasks */
.completed-tasks {
    max-height: 100%;
}
.completed-tasks h3 {
    text-align: center;
    padding: 10px;
    color: white;
}
.completed-tasks table {
    width: 100%;
    border-collapse: collapse;
}
.completed-tasks th, .completed-tasks td {
    border: 1px solid #1C1C1C;
    padding: 8px;
    text-align: left;
    color: white;
}
.completed-tasks th {
    background-color: #2E2E2E;
    color: white;
}

/* Task Details */
.task-h-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
    color: white;
}
#dashboard-tasks-table-container { width: 100%; height: 100%; }
#tasks-table { width: inherit; }
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}
.checkbox-group input[type="checkbox"] { transform: scale(1.2); }

/* Navigation Bar */
.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #2E2E2E;
    padding: 10px;
    color: white;
    border-radius: 6px;
    margin-bottom: 12px;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}
.nav .report-links a, .nav .report-links select {
    margin-right: 15px;
    font-size: 16px;
    text-decoration: none;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav .report-links a.active {
    font-weight: bold;
    text-decoration: underline;
}
.nav .report-links select {
    background-color: #2E2E2E;
    color: white;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #1C1C1C;
    box-shadow: inset 4px 4px 8px #1C1C1C, inset -4px -4px 8px #3F3F3F;
}
.nav .custom-report {
    display: flex;
    flex-direction: row;
}
.nav .custom-report button,
.nav .custom-report a.button {
    padding: 5px 10px;
    background-color: #2E2E2E;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    text-decoration: none;
    font-size: 14px;
    min-width: 120px;
    max-height: 30px;
    box-shadow: 4px 4px 8px #1C1C1C, -4px -4px 8px #3F3F3F;
}
.nav .custom-report button:hover,
.nav .custom-report a.button:hover { opacity: 0.85; }

/* Media Queries for Responsiveness */

/* ========= Responsive & Hamburger Menu Overrides ========= */

/* Hamburger Menu Icon Styles */
.hamburger {
  display: none;
  cursor: pointer;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1100;
}
.hamburger div {
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
}

/* Mobile & Tablet Adjustments */
@media only screen and (max-width: 768px) {
  /* Hide the sidebar by default on small screens */
  .sidebar {
    display: none;
    position: fixed; /* So it can overlay the content when shown */
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background-color: inherit;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
    z-index: 1050;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
  }
  /* When the sidebar is active (via a class), slide it into view */
  .sidebar.active {
    transform: translateX(0);
    display: block;
  }
  
  /* Show hamburger icon on small screens */
  .hamburger {
    display: block;
  }
  
  /* Adjust page container to use full width */
  .page-container {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 10px;
  }
  
  /* Adjust header/footer for mobile */
  .login-header, .login-footer {
    padding: 10px;
  }
  
  .login-header img {
    width: 80px;
  }
  
  /* Scale down typography slightly */
  h1, h2, h10, p10 {
    font-size: 90%;
  }
  
  /* Ensure tables, cards, etc. fill available width */
  .dashboard-container,
  .card,
  .table-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 5px !important;
    box-sizing: border-box;
  }
}

/* Tablets (min-width: 769px and max-width: 1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .sidebar {
    width: 150px !important;
  }
  .page-container {
    width: calc(100% - 150px) !important;
    margin-left: 150px !important;
    padding: 15px;
  }
  .dashboard-container {
    margin-left: 150px !important;
  }
  .login-header, .login-footer {
    padding: 15px;
  }
}
