:root {
  --color-primary: #029F37;
  --color-primary-dark: #00802B;
  --color-primary-light: #E5E541;
  --wpd-color:#00802B;

  --color-secondary: #03cf47;
  --color-secondary-light: #0081ff;
  --color-accent: #2E2D70;
  --color-orange: #E37201;

  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #FFFFC2;
  --bg-light: #F3F3F3;
  --bg-dark: #323a46;
  --bg-blue-light: #E9F9FF;
  --bg-gray: #f8f9fa;

  --text-primary: #000000;
  --text-secondary: #646464;
  --text-muted: #6c757d;
  --text-light: #FFFFFF;
  --text-theme: #00802B;

  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #fd0000;
  --color-danger-dark: #b71c1c;
  --color-info: #17a2b8;
  --color-border: rgba(19, 19, 19, 0.4);

  --form-bg: #FFFFC2;
  --form-border: #ced4da;
  --form-placeholder: rgb(109, 109, 109);

  --table-striped: #FFFFC2;
  --table-hover: #f1f1f1;
  --table-even: #f8f9fa;

  --btn-primary: #0d6efd;
  --btn-primary-hover: #0b5ed7;

  --font-family-primary: "Roboto", sans-serif;
  --font-family-secondary: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-xxl: 2.5rem;    /* 40px */

  --spacing-xs: 0.25rem;  /* 4px */
  --spacing-sm: 0.5rem;   /* 8px */
  --spacing-md: 1rem;     /* 16px */
  --spacing-lg: 1.5rem;   /* 24px */
  --spacing-xl: 2rem;     /* 32px */
  --spacing-xxl: 3rem;    /* 48px */

  --border-radius: 30px;
  --border-radius-sm: 30px;
  --border-radius-md: 30px;
  --border-radius-lg: 30px;
  --border-radius-xl: 30px;
  --border-radius-xxl: 30px;
  --border-radius-circle: 30px;

  --shadow-sm: 0px 1px 4px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-modal: 0 4px 8px rgba(0, 0, 0, 0.2);

  --z-index-dropdown: 1000;
  --z-index-modal: 1050;
  --z-index-tooltip: 1070;

  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

/* ===== BASE STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  background: var(--bg-primary) !important;
  color: var(--text-secondary) !important;
  font-family: var(--font-family-primary) !important;
  margin: 0;
  padding: 0;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-primary) !important;
  color: var(--text-primary);
}

/* ===== LAYOUT COMPONENTS ===== */

/* Navbar */
.navbar-custom {
  background-color: var(--color-primary-light) !important;
}

.logo-box, .navbar-custom .logo-dark {
  background: var(--color-primary) !important;
}

/* Sidebar */
.left-side-menu {
  background: var(--color-primary) !important;
  box-shadow: none !important;
}

#sidebar-menu .menuitem-active .active {
  background: var(--color-primary-dark) !important;
  border-right: 10px solid var(--color-primary-light);
  font-weight: var(--font-weight-bold);
  color: var(--text-light) !important;
}

#sidebar-menu .menuitem-active {
  border-radius: var(--border-radius-xl);
}

#sidebar-menu > ul > li > a {
  color: #3e3e3e !important;
  font-family: var(--font-family-primary) !important;
  font-weight: var(--font-weight-medium) !important;
  font-size: var(--font-size-sm) !important;
}

.menu-text {
  color: var(--text-light);
  margin-left: var(--spacing-md);
}

.menu_icon {
  color: var(--bg-dark) !important;
  margin-top: 2% !important;
}

/* ===== LOGIN STYLES ===== */
.loginbg {
  height: 100vh !important;
  align-items: center;
  display: grid;
}

@media (min-width: 576px) {
  .loginbg {
    background: url('../img/login-image.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
}

@media (max-width: 576px) {
  .loginbg {
    background: url('../img/login-mob.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.login-body {
  background: #cddffb !important;
}

.login_card {
  background-color: #ffffffeb !important;
}

.login-img {
  z-index: var(--z-index-tooltip);
  position: relative;
}

.sign-in-container {
  overflow-y: clip;
  height: 100vh;
}

.login-text {
  color: var(--color-secondary) !important;
  margin-top: var(--spacing-xxl) !important;
  font-size: var(--font-size-xxl);
}

.login-label {
  color: var(--color-secondary);
}

.login-form {
  height: 50px;
}

.login-button {
  background-color: var(--color-secondary) !important;
  margin-top: 48px;
}

.login-btn, .login-input, .login-input-image {
  border-radius: var(--border-radius-lg);
}

.login-input {
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg) !important;
}

.login-input-image {
  border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0 !important;
}

/* ===== CARD STYLES ===== */
.card-shadow {
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-lg) !important;
}

.card-header {
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
  background-color: var(--bg-secondary);
  border-bottom: solid var(--color-border);
}

.card-header-padding {
  padding: 0px !important;
}

.card-header-plan {
  border-radius: var(--border-radius-lg) !important;
  background-color: var(--bg-secondary);
}

.card-min-height {
  min-height: 200px;
}

@media (min-width: 1200px) {
  .card-min-height {
    height: 230px;
  }
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.btn-danger {
  background-color: var(--color-danger) !important;
  border-color: #f00 !important;
}

.button-color, .add-btn, .save-button {
  background-color: var(--color-primary-dark) !important;
  border-radius: var(--border-radius-xl);
}

.save-btn {
  background: var(--color-accent);
  border-radius: var(--border-radius-lg);
  width: 100px;
}

.submit_btn {
  float: right;
}

.feedback-buttons {
  background: var(--color-primary) !important;
  border-radius: var(--border-radius-xl) !important;
  height: 60px;
  color: var(--text-light) !important;
}

.dt-button {
  color: var(--text-light) !important;
  background: #0B94F7 !important;
  border-color: #0B94F7 !important;
  margin-bottom: 8px !important;
}

/* ===== FORM STYLES ===== */
.form-control {
  font-weight: var(--font-weight-medium) !important;
  border-radius: var(--border-radius-xl);
  background: var(--bg-secondary);
}

.form-control[readonly] {
  background: var(--form-bg);
}

.col-form-label {
  font-weight: var(--font-weight-medium) !important;
}

.input-form, .input-form.image {
  border-radius: var(--border-radius-lg);
  background: var(--form-bg);
  padding: var(--spacing-sm) var(--spacing-md);
}

.input-text-form {
  height: 150px;
  border-radius: var(--border-radius-lg);
  background: var(--form-bg);
}

.input-form::placeholder, .input-text-form::placeholder {
  color: var(--form-placeholder);
}

.inr-input {
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
  background: var(--form-bg);
}

.form-check.check {
  padding-left: 2.643em !important;
}

.is-invalid {
  color: var(--color-danger) !important;
}

.is-valid {
  background-image: none !important;
}

/* Password Toggle */
.password-position-relative, .change-position-relative {
  position: relative;
}

.change-password-toggle {
  position: absolute;
  right: 10px;
  top: 70%;
  transform: translateY(-50%);
  cursor: pointer;
}

.is-invalid ~ .change-password-toggle,
.was-validated :invalid ~ .change-password-toggle {
  position: absolute;
  right: 10px;
  top: 54%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* Search Styles */
.search_btn, .search_align {
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0 !important;
  padding: 0.42rem .9rem !important;
}

.search_input {
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md) !important;
}

.dataTables_filter input, .data-table-filter-btn {
  border-radius: var(--border-radius-md);
  border: 1px solid;
  background: var(--bg-secondary);
  padding: 6px 10px;
  margin-left: 10px;
  outline: none;
  box-shadow: none;
}

.data-table-filter-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* ===== TABLE STYLES ===== */
.table-border-radius {
  border-radius: var(--border-radius-xxl);
}

.table-border .col-sm-12 {
  overflow: auto;
  border-radius: var(--border-radius-xxl);
  border: 1px solid var(--bg-secondary);
  margin-top: var(--spacing-lg);
}

.table-theme {
  background: var(--color-primary-dark) !important;
}

table.dataTable.table-striped > tbody > tr.odd {
  background: var(--table-striped);
}

table.dataTable {
  margin-top: 0px !important;
}

table td {
  vertical-align: middle;
}

.employee-work-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9em;
  min-width: 600px;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.employee-work-table thead tr {
  background-color: var(--color-primary);
  color: var(--text-light);
  text-align: left;
  font-weight: bold;
}

.employee-work-table th,
.employee-work-table td {
  padding: 12px 15px;
  vertical-align: middle;
}

.employee-work-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.employee-work-table tbody tr:nth-of-type(even) {
  background-color: var(--table-even);
}

.employee-work-table tbody tr:last-of-type {
  border-bottom: 2px solid var(--color-primary);
}

.employee-work-table tbody tr:hover {
  background-color: var(--table-hover);
}

/* ===== TEXT & TYPOGRAPHY ===== */
.header-title {
  font-family: var(--font-family-primary) !important;
  font-weight: var(--font-weight-medium) !important;
}

.page-title-main.page {
  padding: 0 0px;
  color: var(--text-primary) !important;
}

.text-color, .custom-text-color {
  color: var(--color-primary-dark) !important;
}

.theme-menu-color {
  background-color: var(--color-primary-dark);
  color: var(--text-light);
}

.short-description-show {
  display: -webkit-box;
  max-width: 200px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--font-size-xs);
}

.title-short-description-show {
  display: -webkit-box;
  max-width: 400px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-hide {
  width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== DASHBOARD COMPONENTS ===== */
.dash-card1 {
  background-image: url('../img/dash-card.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: var(--border-radius-lg);
  height: 170px;
}

.order-card {
  background-image: url('../img/order-card.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: var(--border-radius-lg);
}

.dash-card1 h5 {
  margin-top: 3.25rem !important;
}

.dash-card-image {
  margin-left: -0.5rem !important;
}

.dash-card-total {
  margin-top: -27px;
}

.total-revenue-card {
  height: 150px;
  border-radius: var(--border-radius-lg);
}

.dash-card-container {
  flex: 1 0 19%;
  margin-bottom: 15px;
}

@media (max-width: 1200px) {
  .dash-card-container {
    flex: 0 0 48%;
  }
}

@media (max-width: 768px) {
  .dash-card-container {
    flex: 0 0 100%;
  }
}

/* ===== IMAGE STYLES ===== */
.image-circle {
  height: 40px;
  width: 40px;
  border-radius: var(--border-radius-circle);
}

.course-image {
  height: 10rem;
  width: 17rem;
}

.qus-ans-img {
  height: 108px;
  width: 100px;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: var(--border-radius-circle);
  object-fit: cover;
}

.document-image {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
}

/* ===== NAVIGATION COMPONENTS ===== */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: var(--color-primary-dark) !important;
}

.nav-link:focus, .nav-link:hover, .head-title {
  color: var(--color-primary-dark);
}

.nav-tabs .nav-link.active {
  background-color: var(--color-primary) !important;
  border-radius: var(--border-radius-xl) !important;
  color: var(--text-light) !important;
}

.nav-tabs {
  background-color: var(--bg-secondary) !important;
  border-radius: var(--border-radius-xl) !important;
}

/* ===== MODAL & POPUP STYLES ===== */
.modal-content {
  border-radius: var(--border-radius-xl);
}

.modal-header {
  background: var(--color-primary) !important;
  border-top-left-radius: var(--border-radius-xxl);
  border-top-right-radius: var(--border-radius-xxl);
}

.modal-title {
  color: var(--text-light) !important;
}

.btn-close {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-circle);
  padding: 0.5rem;
}

.filter-popup {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    position: absolute;
    z-index: 1050;
    background: #ffffff;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 1200px;
    max-width: 95vw;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    animation: fadeIn 0.2s ease-out;
}

.filter-popup,
.filter-popup-footer {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

.filter-popup-content {
    /* max-height: 70vh; */
    overflow-y: hidden;
}

.filter-popup-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--wpd-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--wpd-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.filter-popup-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light)
}

.filter-popup-header .close,
#importProductsModal .btn-close {
    border: none;
    /* background: none; */
    font-size: 20px;
    color: #6c757d !important;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-popup-header .close:hover {
    opacity: 1;
    color: #333;
}

.filter-popup-body {
    padding: 16px;
    overflow-y: scroll;
    max-height: 60vh;
}

.filter-popup-footer {
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    width: 100%;
    position: fixed;
}

.filter-rules-container {
    margin-bottom: 16px;
}

.filter-rule {
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-rule:hover {
    border-color: #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-rule .row {
    align-items: center;
}

.rule-connector {
    display: inline-block;
    width: 36px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    padding: 6px;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.filter-rule .form-control-sm {
    height: 32px;
    font-size: 13px;
    border-radius: 12px;
    border: 1px solid #ced4da;
}

.filter-rule select.form-control-sm {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 24px;
    border-radius: 12px;
}

.filter-popup .btn {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.filter-popup .btn i {
    margin-right: 6px;
    font-size: 12px;
}

.filter-popup .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: var(--border-radius);
}

.btn-outline-primary {
    color: var(--wpd-color);
    border-color: var(--wpd-color);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: var(--wpd-color);
    color: white;
}

.btn-theme-success:hover,
.btn-theme-success.active {
    background-color: var(--wpd-color);
    color: white;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}
.table-header-color {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}
.table-header-color:hover {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}
.btn-primary {
    background-color: var(--wpd-color);
    border-color: var(--wpd-color);
}

.btn-primary:hover {
    background-color: var(--wpd-color);
    border-color: var(--wpd-color);
}

.remove-rule-btn {
    padding: 4px 6px;
    border-radius: 50%;
}

.filter-logic-toggle {
    border-radius: 4px;
    overflow: hidden;
}

.filter-logic-toggle .btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 0;
}



.filter-logic-toggle .btn:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius)0;
}

.ui-datepicker {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.ui-datepicker-header {
    background: #f8f9fa;
    border: none;
    border-radius: 3px;
}

.ui-datepicker-title {
    font-weight: 600;
}

.ui-datepicker-calendar th {
    font-weight: 500;
    color: #6c757d;
}

.ui-datepicker-calendar td a {
    text-align: center;
    padding: 4px;
    border-radius: 3px;
}

.ui-datepicker-calendar td a.ui-state-active {
    background: var(--wpd-color);
    color: white;
}

.select2-container--default .select2-selection--multiple {
    min-height: 32px;
    border: 1px solid #ced4da;
    border-radius: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #E37201;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    padding: 2px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 4px;
    color: var(--text-light)
}

.filter-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 10px;
    padding: 3px 5px;
    background-color: #dc3545;
    color: white;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .filter-popup {
        width: 90vw;
    }

    .filter-rule .col {
        margin-bottom: 8px;
    }

    .filter-rule .col-auto {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .filter-popup {
        width: 95vw;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        padding: 8px;
    }

    .filter-popup-header,
    .filter-popup-footer,
    .filter-popup-body {
        padding: 10px !important;
    }

    .filter-popup-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .filter-popup-header h5 {
        font-size: 1rem;
    }

    .filter-popup-header .close {
        align-self: flex-end;
        font-size: 1.4rem;
    }

    .filter-popup-body .d-flex,
    .filter-popup-footer {
        flex-direction: column;
        gap: 10px;
    }

    .filter-popup-footer .btn {
        width: 100%;
    }

    .filter-logic-toggle {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .filter-logic-toggle .btn {
        flex: 1;
    }

    .add-rule-btn {
        width: 100%;
    }

    .save-filter-btn,
    .apply-filter-btn,
    .clear-filters-btn {
        width: 100%;
    }

    .filter-popup-content {
        max-height: 80vh;
        overflow-y: auto;
    }

    .filter-popup-footer .btn {
        margin-bottom: 6px;
        width: 100%;
    }

    .filter-popup-header .close {
        align-self: flex-end;
    }

}

@media (max-width: 768px) {
    .filter-popup {
        width: 95vw;
        top: 10px;
        padding: 10px;
        transform: translateX(-50%);
        border-radius: 10px;
    }

    .filter-popup-header,
    .filter-popup-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .filter-popup-header h5 {
        font-size: 14px;
    }

    .filter-rule {
        padding: 10px;
    }

    .filter-rule .row {
        flex-direction: column;
        gap: 8px;
    }

    .filter-rule .col,
    .filter-rule .col-auto {
        width: 100% !important;
        margin-bottom: 8px;
    }

    .filter-popup .btn {
        width: 100%;
        justify-content: center;
    }

    .filter-logic-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .select2-container--default .select2-selection--multiple {
        font-size: 12px;
    }

    .filter-popup-content {
        max-height: 60vh;
    }
}

.flatpickr-confirm {
    background-color: var(--wpd-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 8px;
}

.flatpickr-confirm:hover {
    background-color: var(--wpd-color);
}

.flatpickr-confirm:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
}

.flatpickr-confirm svg {
    display: none;
}

.form-control {
    border-radius: 12px;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.btn.btn-sm.btn-outline-secondary.edit-saved-filter-btn {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

div.dataTables_wrapper div.dataTables_filter {
    margin-right: 1rem;
}

.page-item:first-child .page-link {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.page-item:last-child .page-link {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

select[name="DataTables_Table_0_length"].form-select.form-select-sm {
    border-radius: var(--border-radius);
}

a,
a:hover {
    color: var(--ct-table-color);
}

div.dataTables_wrapper div.dataTables_filter {
    margin-right: 1rem;
}

.custom-alert {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fcfcfc;
  color: #0c0c0c;
  padding: 26px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-modal);
  z-index: var(--z-index-modal);
  text-align: center;
  width: 300px;
}

.close-alert {
  margin-top: 15px;
  background-color: var(--color-danger);
  border: none;
  color: var(--text-light);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: var(--border-radius-md);
}

.close-alert:hover {
  background-color: var(--color-danger-dark);
}

/* ===== SPECIFIC COMPONENT STYLES ===== */
/* User Profile */
.user-name {
  border-radius: var(--border-radius-lg);
  margin-top: 10px;
  background: 084076;
  padding: var(--spacing-sm) !important;
  line-height: 34px !important;
}

.pro-user-name i {
  margin-left: var(--spacing-md) !important;
}

.user-purchased {
  background: var(--bg-light);
  border-radius: var(--border-radius-xxl);
}

/* Text Areas */
.text-area-background, .question-form {
  border-radius: var(--border-radius-lg);
  background: rgba(19, 19, 19, 0.2);
}

.ck .ck-content {
  height: 200px;
}

/* Dropify */
.dropify-wrapper {
  height: 240px !important;
}

.dropify-wrapper .dropify-message span.file-icon p {
  font-size: 15px;
  color: #CCC;
}

/* Course Components */
.copy-course-link {
  padding: var(--spacing-sm);
  border: 1px solid #A3DEFD;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
}

.course-view-top-filter {
  cursor: pointer;
  padding: 10px 10px;
  border: 1px solid #A3DEFD;
}

/* Booking & Payment Cards */
.booking-card, .payment-card, .profile-card, .document-card, .trip-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.route {
  color: var(--btn-primary);
  font-size: 1.1rem;
  font-weight: bold;
}

.vehicle-number {
  color: var(--btn-primary);
}

.booking-status {
  color: var(--color-info);
  font-weight: bold;
}

.active-status {
  color: var(--color-success);
  font-weight: bold;
}

.document-verified {
  background-color: var(--color-info);
  color: var(--text-light);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-xl);
  font-size: var(--font-size-sm);
}

.trip-details {
  background-color: #e6f2ff;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.month-selector {
  background-color: #e6f2ff;
  border: none;
  padding: 8px 15px;
  border-radius: var(--border-radius-xl);
}

/* Review Components */
.star-rating {
  color: var(--color-warning);
  font-size: 24px;
}

.review-text {
  background-color: var(--bg-blue-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
}

/* Payment Rows */
.payment-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.payment-row:last-child {
  border-bottom: none;
}

.payment-label {
  font-weight: var(--font-weight-medium);
}

.payment-amount {
  font-weight: var(--font-weight-bold);
}

/* ===== PAGINATION ===== */
.paginate_button.page-item.active a {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.page-item:first-child .page-link {
  border-top-left-radius: var(--border-radius-xl);
  border-bottom-left-radius: var(--border-radius-xl);
}

.page-item:last-child .page-link {
  border-top-right-radius: var(--border-radius-xl);
  border-bottom-right-radius: var(--border-radius-xl);
}

.employee-page-item.active .page-link {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.employee-table-pagination .employee-page-item.active .page-link {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.employee-table-pagination .page-link {
  color: var(--color-primary) !important;
}

/* ===== TABLE CONTROLS ===== */
.employee-table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.employee-pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.employee-pagination-info {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.employee-pagination-nav {
  display: flex;
  gap: 5px;
}

.employee-page-item.disabled .page-link {
  color: #dee2e6;
}

/* ===== UTILITY CLASSES ===== */
.background-color-theme, .custom-background-color {
  background: var(--color-primary) !important;
  color: var(--text-light);
}

.toggle-switch-margin {
  margin-left: 1.5em !important;
  margin-top: -32px;
}

.dropdown.user-card.drop-down-custom {
  right: 45px;
  top: 15px;
}

.dropdown.chat.drop-down-custom {
  top: 10px;
}

.dropdown.drop-down-custom {
  font-size: 20px;
  z-index: var(--z-index-tooltip) !important;
}

.drop-down-custom i {
  color: #98a6ad;
}

.border-radius-table {
  border-radius: var(--border-radius-lg);
}

/* ===== FLATPICKR CUSTOMIZATION ===== */
.flatpickr-confirm {
  background-color: var(--btn-primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 6px 16px;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-top: 8px;
}

.flatpickr-confirm:hover {
  background-color: var(--btn-primary-hover);
}

.flatpickr-confirm:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
}

.flatpickr-confirm svg {
  display: none;
}

/* ===== SELECT2 CUSTOMIZATION ===== */
.select2-container--default .select2-selection--multiple {
  min-height: 32px;
  border: 1px solid var(--form-border);
  border-radius: var(--border-radius-sm);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--color-orange);
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  padding: 2px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  margin-right: 4px;
  color: var(--text-light);
}

@media (max-width: 576px) {
  .dash-card-container {
    flex: 0 0 100%;
  }

  .edit-qus {
    max-width: 100%;
  }
}

@media (min-width: 576px) {
  .edit-qus {
    max-width: 980px;
  }
}

/* ===== DATA TABLES SPECIFIC ===== */
#workEntriesTable,
#salaryEntriesTable,
#product-table,
#purchases-table,
#DataTables_Table_6,
#DataTables_Table_5,
#DataTables_Table_4,
#DataTables_Table_3,
#DataTables_Table_2,
#DataTables_Table_1,
#DataTables_Table_0 {
  width: 100% !important;
}

#purchases-table {
  width: 100% !important;
}

div.dataTables_wrapper div.dataTables_filter {
  margin-right: 1rem;
}

select[name="DataTables_Table_0_length"].form-select.form-select-sm {
  border-radius: var(--border-radius-xl);
}

/* ===== FORM GROUP SPECIFIC ===== */
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  border-top-right-radius: var(--border-radius-xl);
  border-bottom-right-radius: var(--border-radius-xl);
}

.btn.btn-sm.btn-outline-secondary.edit-saved-filter-btn {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group.small-bar {
  position: relative;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: end;
  float: inline-end;
  display: inherit !important;
}

.form-control::file-selector-button {
  padding: .85rem .9rem !important;
}

/* ===== ACCESSIBILITY ===== */
a[href^="tel:"],
a[href^="mailto:"] {
  color: var(--text-secondary);
}

/* ===== MISC UTILITIES ===== */
.location i {
  color: var(--text-muted);
  margin-right: 5px;
}

.filter-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 10px;
  padding: 3px 5px;
  background-color: var(--color-danger);
  color: var(--text-light);
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}

.employee-time-input {
  max-width: 80px;
}

.employee-status-select {
  min-width: 120px;
}

.profile-card, .document-card, .trip-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}
.settings-container {
    display: flex;
    gap: 20px;
    min-height: 600px;
}

.settings-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 0;
    flex-shrink: 0;
}

.settings-content {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.settings-tab {
    padding: 15px 20px;
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--font-weight-medium);
}

.settings-tab:last-child {
    border-bottom: none;
}

.settings-tab:hover {
    background: var(--bg-light);
}

.settings-tab.active {
    background: var(--color-primary);
    color: var(--text-light);
    border-left: 4px solid var(--color-primary-light);
}

.settings-tab i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.tab-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin: 0;
}

.tab-description {
    color: var(--text-muted);
    margin-top: 5px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .settings-container {
        flex-direction: column;
    }

    .settings-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .settings-content {
        width: 100%;
    }
}
.chart-container {
                background: var(--bg-secondary);
                border-radius: var(--border-radius-lg);
                padding: 20px;
                margin-bottom: 20px;
                box-shadow: var(--shadow-sm);
            }

            .chart-title {
                font-size: 18px;
                font-weight: 600;
                margin-bottom: 15px;
                color: var(--color-primary-dark);
                border-bottom: 2px solid var(--bg-light);
                padding-bottom: 10px;
            }

            .chart-wrapper {
                position: relative;
                height: 300px;
                width: 100%;
            }

            .stats-value {
                font-size: 2rem;
                font-weight: bold;
                margin: 10px 0;
                transition: all 0.3s ease;
            }

            .stats-value.updating {
                animation: pulse 0.5s ease;
            }

            @keyframes pulse {
                0%, 100% { transform: scale(1); }
                50% { transform: scale(1.1); }
            }

            .stats-label {
                font-size: .9375rem !important;
                opacity: 0.9;
                margin-top: 3.25rem !important;
            }

            .table-tabs {
                margin-top: 30px;
                margin-bottom: 20px;
                border-bottom: 2px solid #e9ecef;
            }

            .table-tab {
                padding: 12px 24px;
                background: transparent;
                border: none;
                border-bottom: 3px solid transparent;
                margin-right: 10px;
                cursor: pointer;
                transition: all 0.3s ease;
                font-weight: 500;
                color: #6c757d;
            }

            .table-tab.active {
                color: var(--color-primary);
                border-bottom-color: var(--color-primary);
            }

            .table-tab:hover {
                color: var(--color-primary);
            }

            .table-section {
                display: none;
            }

            .table-section.active {
                display: block;
            }

            .date-filter-container {
                background: var(--bg-secondary);
                padding: 20px;
                border-radius: var(--border-radius-lg);
                margin-bottom: 20px;
                box-shadow: var(--shadow-sm);
            }

            .empty-chart-message {
                display: flex;
                align-items: center;
                justify-content: center;
                height: 300px;
                background: #f8f9fa;
                border-radius: 8px;
                color: #6c757d;
                font-size: 16px;
                font-weight: 500;
            }

            .empty-chart-message i {
                margin-right: 10px;
                font-size: 24px;
            }

            .loading-overlay {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(255, 255, 255, 0.8);
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 10;
                border-radius: var(--border-radius-lg);
            }

            .spinner {
                width: 40px;
                height: 40px;
                border: 4px solid #f3f3f3;
                border-top: 4px solid var(--color-primary);
                border-radius: 50%;
                animation: spin 1s linear infinite;
            }

            @keyframes spin {
                0% { transform: rotate(0deg); }
                100% { transform: rotate(360deg); }
            }
/* Report Index Chart Styles Using Existing CSS Variables */
.report-index-chart-container {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.report-index-chart-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: var(--spacing-md);
}

.report-index-chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
    min-height: 250px;
}

.report-index-stats-card {
    background: url('../img/report-card1.png');
    color: var(--text-light);
    padding: var(--spacing-xxl) var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
}

.report-index-stats-card2 {
    background: url('../img/report-card2.png');
    color: var(--text-light);
    padding: var(--spacing-xxl) var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
}

.report-index-stats-card:hover {
    transform: translateY(-5px);
}

.report-index-stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.report-index-stats-card:hover::before {
    top: -100%;
    right: -100%;
}

.report-index-stats-icon {
    font-size: 2.5rem !important;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.report-index-stats-value {
    font-size: var(--font-size-xxl);
    font-weight: var(--font-weight-bold);
    margin: var(--spacing-md) 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.report-index-stats-value.updating {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        color: inherit;
    }
    50% {
        transform: scale(1.1);
        color: var(--color-primary-light);
    }
}

.report-index-stats-label {
    font-size: var(--font-size-sm) !important;
    opacity: 0.9;
    font-weight: var(--font-weight-medium);
    margin-top: 0 !important;
}

.report-index-chart-tabs {
    margin-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--bg-light);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.report-index-chart-tab {
    padding: var(--spacing-md) var(--spacing-xxl);
    background: transparent;
    border: none;
    border-radius: var(--border-radius-md);
    margin-right: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.report-index-chart-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 159, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.report-index-chart-tab:hover::before {
    left: 100%;
}

.report-index-chart-tab.active {
    color: var(--text-light);
    background: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.report-index-chart-tab:hover {
    color: var(--color-primary);
    background: var(--bg-light);
}

.report-index-chart-tab.active:hover {
    color: var(--text-light);
    background: var(--color-primary-dark);
}

.chart-section {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.chart-section.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.empty-chart-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: var(--bg-gray);
    border-radius: var(--border-radius-md);
    color: var(--text-muted);
    text-align: center;
    padding: var(--spacing-xl);
}

.empty-chart-message i {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
    opacity: 0.5;
}

.empty-chart-message span {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-index-tooltip);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(2px);
}

.loading-overlay p {
    margin-top: var(--spacing-lg);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.report-index-save-card {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    background: var(--bg-secondary);
}

/* Chart Tooltips */
.chart-tooltip {
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: var(--border-radius-md) !important;
    border: none !important;
    box-shadow: var(--shadow-lg) !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
}

.chart-tooltip .tooltip-title {
    color: var(--text-light) !important;
    font-weight: var(--font-weight-bold) !important;
    margin-bottom: var(--spacing-xs) !important;
}

.chart-tooltip .tooltip-value {
    color: #e0e0e0 !important;
    font-size: var(--font-size-sm) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .report-index-chart-container {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .report-index-chart-title {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-md);
    }

    .report-index-chart-wrapper {
        height: 250px;
    }

    .report-index-stats-card {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .report-index-stats-value {
        font-size: var(--font-size-xl);
    }

    .report-index-stats-icon {
        font-size: 2rem !important;
    }

    .report-index-chart-tabs {
        padding: var(--spacing-sm);
    }

    .report-index-chart-tab {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
        margin-right: var(--spacing-xs);
    }

    .empty-chart-message {
        height: 250px;
        padding: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .report-index-chart-wrapper {
        height: 200px;
    }

    .report-index-stats-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .report-index-stats-value {
        font-size: var(--font-size-lg);
    }

    .report-index-chart-tab {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-xs);
    }

    .empty-chart-message {
        height: 200px;
        font-size: var(--font-size-sm);
    }

    .empty-chart-message i {
        font-size: 36px;
    }
}

/* Print Styles */
@media print {
    .report-index-chart-container {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .report-index-stats-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .report-index-chart-tabs {
        display: none;
    }

    .chart-section {
        display: block !important;
        page-break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .report-index-chart-container {
        border: 2px solid #000;
    }

    .report-index-stats-card {
        border: 2px solid #000;
    }

    .report-index-chart-tab.active {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .report-index-stats-card,
    .report-index-chart-container,
    .report-index-chart-tab {
        transition: none;
    }

    .report-index-stats-value.updating {
        animation: none;
    }

    .spinner {
        animation-duration: 2s;
    }

    .report-index-chart-tab::before {
        display: none;
    }

    .chart-section {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .empty-chart-message {
        background: var(--bg-dark);
        color: var(--text-light);
    }

    .loading-overlay {
        background: rgba(0, 0, 0, 0.8);
    }

    .chart-tooltip {
        background: rgba(255, 255, 255, 0.9) !important;
    }

    .chart-tooltip .tooltip-title {
        color: #000 !important;
    }

    .chart-tooltip .tooltip-value {
        color: #333 !important;
    }
}

/* Custom Scrollbar for Chart Containers */
.report-index-chart-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.report-index-chart-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.report-index-chart-container::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

.report-index-chart-container::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_asc:after {
    display: none !important;
}

.filter-logic-toggle .btn:first-child,
.saved-filters-dropdown,
.login-content #emailaddress,
.login-content #password {
    border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
}

.form-control[type=file] {
    padding: 0px 15px !important;
}
.filter-btn{
    border-radius: var(--border-radius);
        color: var(--wpd-color);
    border-color: var(--wpd-color);
}
.filter-btn:hover {
    background-color: var(--wpd-color);
    color: var(--text-light);
}
.btn-sm.dropdown-toggle {
    border-radius: var(--border-radius);
}

.swal2-popup {
    border-radius: 25px !important;
}

.swal2-modal .swal2-confirm {
    background-color: var(--wpd-color) !important;
    padding: 7px 20px 7px 20px;
    border-radius: var(--border-radius) !important;
}

.swal2-styled.swal2-cancel {
    background-color: var(--color-secondary) !important;
    padding: 7px 20px 7px 20px;
    border-radius: var(--border-radius) !important;
}

.form-check-input:checked {
  background-color: var(--wpd-color) !important;
  border: var(--wpd-color) !important;
}

.form-check-input {
  border-color: var(--wpd-color) !important;
}
.border-radius,
.form-select-sm,
.form-select,
div.bulk-select-container,
.btn-theme-second-success,
.btn-primary,
#datatableSearch,
.btn-theme-success {
    border-radius: var(--border-radius) !important;
}
.form-control{
    border-radius: var(--border-radius);
}

.input-group .form-control#location-search,
.form-control#passwordField,
#reportrange span {
    border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
}

.input-group .btn-outline-secondary,
.input-group .btn-primary,
#reportrange #date-range {
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
}

.paginate_button.page-item.next .page-link {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.paginate_button.page-item.previous .page-link {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.btn.btn-sm.btn-outline-danger.remove-rule-btn {
    padding-left: 10px;
    width: 30px;
}
  #shopMap {
    z-index: 1;
}
.shop-view-wallet-stat-card {
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: white;
    transition: transform 0.3s ease;
    border: none;
}

.shop-view-wallet-stat-card:hover {
    transform: translateY(-5px);
}

.shop-view-wallet-stat-card .icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.shop-view-wallet-stat-card .number {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.shop-view-wallet-stat-card .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.shop-view-wallet-stat-card.bg-primary-gradient {
    background: url('../img/shop-card1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.shop-view-wallet-stat-card.bg-success-gradient {
    background: url('../img/shop-card2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.shop-view-wallet-stat-card.bg-warning-gradient {
    background: url('../img/shop-card3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.shop-view-wallet-stat-card.bg-info-gradient {
    background: url('../img/shop-card4.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.shop-view-shop-profile-header {
    background: linear-gradient(to bottom, #00802B, #00B33C);
    border-radius: 15px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
}

.shop-view-shop-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.user-view-stat-card.primary {
    background: url('../img/user-card1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.user-view-stat-card.success {
    background: url('../img/user-card2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.user-view-stat-card.warning {
    background: url('../img/user-card3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.user-view-stat-card.info {
    background: url('../img/user-card4.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.user-view-user-profile-header {
    background: linear-gradient(to bottom, #00802B, #00B33C);
    border-radius: 20px;
    padding: 40px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.user-view-map-preview {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.user-view-map-preview:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.user-view-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: 600;
}

.user-view-map-preview:hover .user-view-map-overlay {
    opacity: 1;
}

.user-view-map-preview .leaflet-container {
    border-radius: 12px;
    height: 100%;
}

.user-view-user-profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(30deg);
    opacity: 0.3;
}

.user-view-user-avatar-xl {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.user-view-user-avatar-xl:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.user-view-stat-card {
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    color: white;
}

.user-view-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.user-view-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.user-view-address-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border-left: 5px solid #667eea;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.user-view-address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.user-view-address-card.default {
    border-left-color: #43e97b;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.user-view-status-toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.user-view-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.user-view-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.user-view-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dc3545;
    transition: .4s;
    border-radius: 34px;
}

.user-view-toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.user-view-toggle-slider {
    background-color: #28a745;
}

input:checked+.user-view-toggle-slider:before {
    transform: translateX(26px);
}

.user-view-toggle-slider:after {
    content: 'OFF';
    position: absolute;
    color: white;
    font-size: 10px;
    font-weight: bold;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

input:checked+.user-view-toggle-slider:after {
    content: 'ON';
    right: auto;
    left: 8px;
}

.user-view-status-label {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.user-view-status-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 4px;
}

.user-view-user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.user-view-info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .user-view-user-profile-header {
        padding: 25px;
    }

    .user-view-user-avatar-xl {
        width: 100px;
        height: 100px;
    }

    .user-view-stat-card {
        margin-bottom: 15px;
    }
}
.employee-index-stat-card {
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.employee-index-stat-card:hover {
    transform: translateY(-5px);
}

.employee-index-stat-card .icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.employee-index-stat-card .number {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.employee-index-stat-card .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.employee-index-stat-card.bg-primary-gradient {
    background: url('../img/employee-card1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.employee-index-stat-card.bg-success-gradient {
        background: url('../img/employee-card2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.employee-index-stat-card.bg-warning-gradient {
        background: url('../img/employee-card3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.employee-index-stat-card.bg-info-gradient {
        background: url('../img/employee-card4.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.employee-index-stat-card.bg-purple-gradient {
        background: url('../img/employee-card5.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.employee-index-stat-card.bg-orange-gradient {
    background: url('../img/employee-card6.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.timeline.employee-view-timeline {
    position: relative;
    padding-left: 30px;
}

.employee-view-timeline.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item.employee-view-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item.employee-view-timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3b5de7;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #3b5de7;
}

.employee-view-work-entry-card {
    border-left: 4px solid #3b5de7;
    transition: all 0.3s ease;
}

.employee-view-work-entry-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.activity-timeline.employee-view-activity-timeline .timeline-item.employee-view-timeline-item::before {
    background: #6c757d;
    box-shadow: 0 0 0 3px #6c757d;
}

.employee-view-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.employee-view-profile-header {
    background: linear-gradient(to bottom, #00802B, #00B33C);
    border-radius: 15px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
}

.tab-content.employee-view-tab-content {
    padding: 20px 0;
    display: block !important;
}

.nav-tabs .nav-link.employee-view-nav-link {
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    color: #6c757d;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.employee-view-nav-link.active {
    background: var(--color-primary-dark) !important;
    color: white;
    border: none;
}

.nav-tabs .nav-link.employee-view-nav-link:hover {
    border: none;
    color: #3b5de7;
}
