$__basecolor: #2c3038;

.css-1u9des2-indicatorSeparator {
  display: none;
}

.css-t3ipsp-control {
  min-height: 44px !important;
  border-color: #dbe0e6 !important;
  box-shadow: 0 0 0 1px #e3e3e3 !important;

  &:hover {
    border-color: 1px solid #dbe0e6 !important;
  }
}

.ant-tooltip {
  display: none;
}

:where(.css-dev-only-do-not-override-1qhpsh8).ant-picker-outlined {
  background: #ffffff;
  border-width: 1px;
  border-style: solid;
  border-color: #dbe0e6;
  width: 300px;
  height: 40px;
}

// Project Date Picker Styling - Fix display issues
.project-date-picker.ant-picker {
  background: #ffffff !important;
  border: 1px solid #dbe0e6 !important;
  border-radius: 6px !important;
  height: 42px !important;
  width: 280px !important;
  padding: 0 !important;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;

  &:hover {
    border-color: #ff9f43 !important;
    box-shadow: 0 2px 6px rgba(255, 159, 67, 0.2) !important;
  }

  &:focus,
  &.ant-picker-focused {
    border-color: #ff9f43 !important;
    box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.2) !important;
    outline: none !important;
  }

  .ant-picker-input {
    padding: 8px 12px;

    input {
      font-size: 14px !important;
      color: #333 !important;
      border: none !important;
      background: transparent !important;

      &::placeholder {
        color: #999 !important;
        font-size: 13px !important;
      }
    }
  }

  .ant-picker-separator {
    color: #ff9f43 !important;
    font-weight: 600 !important;
  }

  .ant-picker-suffix {
    display: flex !important;
    color: #ff9f43 !important;
    margin-right: 8px;
  }

  // Override any conflicting form-control styles
  &.form-control {
    padding: 0 !important;
    height: 42px !important;
    border: 1px solid #dbe0e6 !important;
  }
}

// Date Picker Dropdown Styling
:where(.css-dev-only-do-not-override-1ae8k9u).ant-picker-dropdown {
  .ant-picker-panel-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e6e6e6;
  }

  .ant-picker-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px;

    .ant-picker-header-view {
      .ant-picker-month-btn,
      .ant-picker-year-btn {
        color: #333;
        font-weight: 600;

        &:hover {
          color: #ff9f43;
        }
      }
    }

    .ant-picker-header-super-prev-btn,
    .ant-picker-header-prev-btn,
    .ant-picker-header-next-btn,
    .ant-picker-header-super-next-btn {
      color: #666;

      &:hover {
        color: #ff9f43;
        background: rgba(255, 159, 67, 0.1);
      }
    }
  }

  .ant-picker-content {
    .ant-picker-cell {
      &:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {
        background: rgba(255, 159, 67, 0.1);
        color: #ff9f43;
      }

      &.ant-picker-cell-selected .ant-picker-cell-inner,
      &.ant-picker-cell-range-start .ant-picker-cell-inner,
      &.ant-picker-cell-range-end .ant-picker-cell-inner {
        background: #ff9f43;
        color: #ffffff;
        font-weight: 600;
      }

      &.ant-picker-cell-in-range .ant-picker-cell-inner {
        background: rgba(255, 159, 67, 0.2);
        color: #ff9f43;
      }

      &.ant-picker-cell-today .ant-picker-cell-inner {
        border: 1px solid #ff9f43;
        color: #ff9f43;
        font-weight: 600;
      }
    }
  }

  .ant-picker-footer {
    border-top: 1px solid #f0f0f0;
    padding: 8px 12px;

    .ant-picker-today-btn {
      color: #ff9f43;
      font-weight: 500;

      &:hover {
        color: #e8890a;
      }
    }
  }
}

// Project Filter Select Styling - Fix display issues
.project-filter-select.ant-select {
  height: 42px !important;

  .ant-select-selector {
    background: #ffffff !important;
    border: 1px solid #dbe0e6 !important;
    border-radius: 6px !important;
    height: 42px !important;
    padding: 8px 12px !important;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;

    &:hover {
      border-color: #ff9f43 !important;
      box-shadow: 0 2px 6px rgba(255, 159, 67, 0.2) !important;
    }

    &:focus,
    &.ant-select-focused {
      border-color: #ff9f43 !important;
      box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.2) !important;
      outline: none !important;
    }

    .ant-select-selection-item {
      color: #333 !important;
      font-size: 14px !important;
      line-height: 24px !important;
      padding: 0 !important;
    }

    .ant-select-selection-placeholder {
      color: #999 !important;
      font-size: 13px !important;
    }
  }

  .ant-select-arrow {
    color: #ff9f43 !important;
  }

  &.ant-select-open .ant-select-selector {
    border-color: #ff9f43 !important;
    box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.2) !important;
  }

  // Override any conflicting form-control styles
  &.form-control {
    padding: 0 !important;
    height: 42px !important;
    border: none !important;
  }
}

// Project Filter Dropdown Styling
.ant-select-dropdown {
  .ant-select-item {
    padding: 8px 12px !important;
    font-size: 14px !important;

    &:hover {
      background: rgba(255, 159, 67, 0.1) !important;
      color: #ff9f43 !important;
    }

    &.ant-select-item-option-selected {
      background: #ff9f43 !important;
      color: #ffffff !important;
      font-weight: 500 !important;
    }
  }
}

// Fix any conflicts with existing ant-picker styles
.ant-picker-suffix {
  display: none;
}

.project-date-picker .ant-picker-suffix {
  display: flex !important;
}

// Ensure proper spacing for project tracker filters
.search-path .d-flex.gap-3 > * {
  margin-right: 0 !important;
}

// Override any Bootstrap form-control conflicts
.project-date-picker.form-control,
.project-filter-select.form-control {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

// Dark Mode Styles for Project Tracker Date Picker and Filters
[data-layout-mode=dark_mode] {
  // Project Date Picker Dark Mode
  .project-date-picker.ant-picker {
    background: #1d1d42 !important;
    border: 1px solid #67748E !important;
    color: #ffffff !important;

    &:hover {
      border-color: #ff9f43 !important;
      box-shadow: 0 2px 6px rgba(255, 159, 67, 0.3) !important;
    }

    &:focus,
    &.ant-picker-focused {
      border-color: #ff9f43 !important;
      box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.3) !important;
    }

    .ant-picker-input {
      input {
        color: #ffffff !important;
        background: transparent !important;

        &::placeholder {
          color: #67748E !important;
        }
      }
    }

    .ant-picker-separator {
      color: #ff9f43 !important;
    }

    .ant-picker-suffix {
      color: #ff9f43 !important;
    }
  }

  // Project Filter Select Dark Mode
  .project-filter-select.ant-select {
    .ant-select-selector {
      background: #1d1d42 !important;
      border: 1px solid #67748E !important;
      color: #ffffff !important;

      &:hover {
        border-color: #ff9f43 !important;
        box-shadow: 0 2px 6px rgba(255, 159, 67, 0.3) !important;
      }

      &:focus,
      &.ant-select-focused {
        border-color: #ff9f43 !important;
        box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.3) !important;
      }

      .ant-select-selection-item {
        color: #ffffff !important;
      }

      .ant-select-selection-placeholder {
        color: #67748E !important;
      }
    }

    .ant-select-arrow {
      color: #ff9f43 !important;
    }

    &.ant-select-open .ant-select-selector {
      border-color: #ff9f43 !important;
      box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.3) !important;
    }
  }

  // Dark Mode Dropdown Styling
  .ant-select-dropdown {
    background: #1d1d42 !important;
    border: 1px solid #67748E !important;

    .ant-select-item {
      color: #ffffff !important;
      background: transparent !important;

      &:hover {
        background: rgba(255, 159, 67, 0.2) !important;
        color: #ff9f43 !important;
      }

      &.ant-select-item-option-selected {
        background: #ff9f43 !important;
        color: #ffffff !important;
      }
    }
  }

  // Dark Mode Date Picker Dropdown
  .ant-picker-dropdown {
    .ant-picker-panel-container {
      background: #1d1d42 !important;
      border: 1px solid #67748E !important;
    }

    .ant-picker-header {
      border-bottom: 1px solid #67748E !important;
      background: #1d1d42 !important;

      .ant-picker-header-view {
        .ant-picker-month-btn,
        .ant-picker-year-btn {
          color: #ffffff !important;

          &:hover {
            color: #ff9f43 !important;
          }
        }
      }

      .ant-picker-header-super-prev-btn,
      .ant-picker-header-prev-btn,
      .ant-picker-header-next-btn,
      .ant-picker-header-super-next-btn {
        color: #67748E !important;

        &:hover {
          color: #ff9f43 !important;
          background: rgba(255, 159, 67, 0.2) !important;
        }
      }
    }

    .ant-picker-content {
      background: #1d1d42 !important;

      .ant-picker-cell {
        color: #ffffff !important;

        &:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {
          background: rgba(255, 159, 67, 0.2) !important;
          color: #ff9f43 !important;
        }

        &.ant-picker-cell-selected .ant-picker-cell-inner,
        &.ant-picker-cell-range-start .ant-picker-cell-inner,
        &.ant-picker-cell-range-end .ant-picker-cell-inner {
          background: #ff9f43 !important;
          color: #ffffff !important;
        }

        &.ant-picker-cell-in-range .ant-picker-cell-inner {
          background: rgba(255, 159, 67, 0.3) !important;
          color: #ff9f43 !important;
        }

        &.ant-picker-cell-today .ant-picker-cell-inner {
          border: 1px solid #ff9f43 !important;
          color: #ff9f43 !important;
        }

        &.ant-picker-cell-disabled .ant-picker-cell-inner {
          color: #67748E !important;
        }
      }
    }

    .ant-picker-footer {
      border-top: 1px solid #67748E !important;
      background: #1d1d42 !important;

      .ant-picker-today-btn {
        color: #ff9f43 !important;

        &:hover {
          color: #e8890a !important;
        }
      }
    }
  }

  // Additional Dark Mode Styles for Project Tracker
  .card.table-list-card {
    background: #1d1d42 !important;
    border: 1px solid #67748E !important;

    .card-body {
      background: #1d1d42 !important;
    }
  }

  .table-top {
    .search-set {
      .search-input {
        span {
          color: #ffffff !important;
        }

        .badge.badge-primary {
          background: #ff9f43 !important;
          color: #ffffff !important;
        }
      }
    }
  }

  // Dark mode for table content
  .table-responsive {
    .ant-table {
      background: #1d1d42 !important;

      .ant-table-thead > tr > th {
        background: #141432 !important;
        color: #ffffff !important;
        border-bottom: 1px solid #67748E !important;
      }

      .ant-table-tbody > tr > td {
        background: #1d1d42 !important;
        color: #ffffff !important;
        border-bottom: 1px solid #67748E !important;
      }

      .ant-table-tbody > tr:hover > td {
        background: rgba(255, 159, 67, 0.1) !important;
      }
    }
  }

  // Dark mode for progress bars
  .ant-progress {
    .ant-progress-bg {
      background: #ff9f43 !important;
    }

    .ant-progress-outer {
      .ant-progress-inner {
        background: #67748E !important;
      }
    }
  }

  // Dark mode for tags
  .ant-tag {
    background: rgba(255, 159, 67, 0.2) !important;
    border: 1px solid #ff9f43 !important;
    color: #ff9f43 !important;
  }
}

// Create Project Form Styling
.form-group-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;

  .form-group-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9f43, #e8890a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.3);
  }

  h5 {
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 18px;
  }

  [data-layout-mode="dark_mode"] & {
    border-bottom-color: #67748E;

    h5 {
      color: #ffffff;
    }
  }
}

.project-select {
  width: 100% !important;

  .ant-select-selector {
    background: #ffffff !important;
    border: 1px solid #dbe0e6 !important;
    border-radius: 6px !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;

    &:hover {
      border-color: #ff9f43 !important;
      box-shadow: 0 2px 6px rgba(255, 159, 67, 0.2) !important;
    }

    &:focus,
    &.ant-select-focused {
      border-color: #ff9f43 !important;
      box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.2) !important;
    }

    .ant-select-selection-search {
      .ant-select-selection-search-input {
        height: 24px !important;
      }
    }

    .ant-select-selection-item {
      color: #333 !important;
      font-size: 14px !important;
      line-height: 24px !important;
      padding: 0 !important;
    }

    .ant-select-selection-placeholder {
      color: #999 !important;
      font-size: 13px !important;
      line-height: 24px !important;
    }
  }

  .ant-select-arrow {
    color: #ff9f43 !important;
  }

  &.ant-select-open .ant-select-selector {
    border-color: #ff9f43 !important;
    box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.2) !important;
  }

  // Multiple selection styling
  &.ant-select-multiple {
    .ant-select-selector {
      min-height: 42px !important;
      padding: 4px 8px !important;
    }

    .ant-select-selection-item {
      background: rgba(255, 159, 67, 0.1) !important;
      border: 1px solid #ff9f43 !important;
      border-radius: 4px !important;
      color: #ff9f43 !important;
      font-weight: 500 !important;
      margin: 2px 4px 2px 0 !important;
      padding: 2px 8px !important;
      height: auto !important;
      line-height: 20px !important;
      display: flex !important;
      align-items: center !important;

      .ant-select-selection-item-content {
        flex: 1;
      }

      .ant-select-selection-item-remove {
        color: #ff9f43 !important;
        margin-left: 4px !important;

        &:hover {
          color: #e8890a !important;
        }
      }
    }
  }

  // Dark mode
  [data-layout-mode="dark_mode"] & {
    .ant-select-selector {
      background: #1d1d42 !important;
      border-color: #67748E !important;
      color: #ffffff !important;

      .ant-select-selection-item {
        color: #ffffff !important;
      }

      .ant-select-selection-placeholder {
        color: #67748E !important;
      }
    }

    &.ant-select-multiple .ant-select-selection-item {
      background: rgba(255, 159, 67, 0.2) !important;
      color: #ff9f43 !important;
    }
  }
}

// Dropdown styling for project selects
.ant-select-dropdown {
  .ant-select-item {
    padding: 8px 12px !important;

    &:hover {
      background: rgba(255, 159, 67, 0.1) !important;
    }

    &.ant-select-item-option-selected {
      background: rgba(255, 159, 67, 0.2) !important;
      color: #ff9f43 !important;
      font-weight: 500 !important;
    }
  }

  // Dark mode dropdown
  [data-layout-mode="dark_mode"] & {
    background: #1d1d42 !important;
    border: 1px solid #67748E !important;

    .ant-select-item {
      color: #ffffff !important;

      &:hover {
        background: rgba(255, 159, 67, 0.2) !important;
        color: #ff9f43 !important;
      }

      &.ant-select-item-option-selected {
        background: rgba(255, 159, 67, 0.3) !important;
        color: #ff9f43 !important;
      }
    }
  }
}

// Form validation styling
.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2) !important;
}

// Create Project Button Styling
.create-project-btn {
  min-width: 140px !important;
  height: 40px !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 6px !important;

  &.loading-button {
    .loading-content {
      font-size: 14px !important;
    }

    .loading-spinner {
      width: 16px !important;
      height: 16px !important;
    }
  }
}

.btn-cancel-project {
  min-width: 100px !important;
  height: 40px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  background: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  color: #6c757d !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;

  &:hover {
    background: #e9ecef !important;
    border-color: #adb5bd !important;
    color: #495057 !important;
    text-decoration: none !important;
  }

  // Dark mode
  [data-layout-mode="dark_mode"] & {
    background: #1d1d42 !important;
    border-color: #67748E !important;
    color: #ffffff !important;

    &:hover {
      background: #2a2a5a !important;
      border-color: #7b8ab8 !important;
    }
  }
}

// Button container styling
.btn-addproduct {
  padding: 20px 0 !important;

  &.d-flex {
    justify-content: flex-start !important;

    .create-project-btn,
    .btn-cancel-project {
      margin: 0 !important;
    }
  }
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-size: 13px;
  color: #dc3545;
  font-weight: 500;
}

// Input group styling
.input-group {
  .input-group-text {
    background: #f8f9fa;
    border: 1px solid #dbe0e6;
    border-right: none;
    color: #ff9f43;
    font-weight: 500;

    [data-layout-mode="dark_mode"] & {
      background: #67748E;
      border-color: #67748E;
      color: #ff9f43;
    }
  }

  .form-control {
    border-left: none;

    &:focus {
      border-color: #ff9f43;
      box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.2);
    }
  }
}

// Avatar styling in selects
.avatar {
  &.avatar-xs {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
  }
}

// Button styling improvements
.btn-addproduct {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 30px;

  [data-layout-mode="dark_mode"] & {
    border-top-color: #67748E;
  }
}

.btn-cancel {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;

  &:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
  }
}

// Badge styling in options
.badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;

  &.badge-blue { background: #007bff; }
  &.badge-green { background: #28a745; }
  &.badge-purple { background: #6f42c1; }
  &.badge-orange { background: #fd7e14; }
  &.badge-cyan { background: #17a2b8; }
  &.badge-red { background: #dc3545; }
  &.badge-success { background: #28a745; }
  &.badge-warning { background: #ffc107; }
  &.badge-danger { background: #dc3545; }
}

.swal2-confirm {
  background-color: #ff8d1f !important;
  border: 1px solid #ff8d1f !important;
  box-shadow: 0 3px 10px rgba(255, 159, 67, 0.5);
  color: #ffffff !important;
}

.worldmap__figure-container {
  height: 247px !important;
}

.badge.badge-linesuccess a,
.badges-success {
  color: #28C76F;
}


.filterdatepicker {
  width: 217px;
  height: 43px;
}

//units page
// .css-1fdsijx-ValueContainer {
//   padding-left: 28px !important;
// }

.ant-table-wrapper .ant-table-column-title {
  z-index: 0 !important;
}


.toast-header .btn.btn-close {
  display: none;
}

.text-primary .toast-body {
  background: rgba(255, 159, 67, 0.1) !important;
}


.swal2-container .swal2-title {
  font-size: 18px !important;
}

.rsw-toolbar {
  height: 40px !important;
}

.rsw-ce {
  height: 350px !important;
}

.linestripe {
  text-decoration: line-through;
  opacity: 0.5;
}

.clipboardcopyedvalue {
  color: orange;
}

#infoToast .toast-body {
  color: #17a2b8;
  background-color: #E7F6F8;
}

#primaryToast .toast-body,
#warningToast .toast-body {
  color: #FF9F43;
  background-color: #FFF5EC;
}

#secondaryToast .toast-body {
  color: #092C4C;
  background-color: #E6E9ED;
}

#successToast .toast-body {
  color: #28C76F;
  background-color: #E9F9F0;
}

#dangerToast .toast-body {
  color: #FF0000;
  background-color: #FFE5E5;
}


.formsearch {
  height: 38px;
  width: 275px
}

.css-1p3m7a8-multiValue {
  background-color: #17a2b8 !important;

}

.twitter-bs-wizard .twitter-bs-wizard-nav .step-icon {
  display: inline-block;
  width: 56px;
  height: 56px;
  line-height: 54px;
  border: 1px solid rgba(81, 86, 190, .2);
  color: #5156be;
  text-align: center;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.twitter-bs-wizard .twitter-bs-wizard-nav .nav-link {
  font-size: 14px;
  position: relative;
}

.twitter-bs-wizard .twitter-bs-wizard-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 75%;
  height: 2px;
  background-color: #e9e9ef;
  left: 62%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.stylewidth {
  position: relative;
  width: 161px;
}

#filter_inputs {

  .css-1fdsijx-ValueContainer {
    height: 40px;
  }

  .css-qbdosj-Input {
    margin-top: -9px;
  }

  .css-1fdsijx-ValueContainer {
    padding-left: 31px;
  }

  .css-1jqq78o-placeholder {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

#filter_inputs1 {

  .css-1fdsijx-ValueContainer {
    height: 40px;
  }

  .css-qbdosj-Input {
    margin-top: -9px;
  }

  .css-1fdsijx-ValueContainer {
    padding-left: 31px !important;
  }

  .css-1jqq78o-placeholder {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

#filter_inputs2 {

  .css-1fdsijx-ValueContainer {
    height: 40px;
  }

  .css-qbdosj-Input {
    margin-top: -9px;
  }

  .css-1fdsijx-ValueContainer {
    padding-left: 31px !important;
  }

  .css-1jqq78o-placeholder {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.custom-search {
  position: relative;
  top: -28px;
  left: 10px;
}

//sales-dashboard
.daterange-wraper {
  border: 0px solid;
  border-radius: 4px;
  border-color: hsl(0, 0%, 80%);
}

[data-layout-style=box] {
  .searchinputs input {
    width: auto;
    max-width: 300px;

  }

  .user-menu>li {
    margin-left: 10px;
    margin-inline-end: 0;
  }
}

[data-nav-color=grey] .sidebar {
  background: #eff2f7;
}

// :where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-cell,
// :where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-thead>tr>th,
// :where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-tbody>tr>th,
// :where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-tbody>tr>td,
// :where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper tfoot>tr>th,
// :where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper tfoot>tr>td {
//   padding: 0;
// }



:where(.css-dev-only-do-not-override-1b0bdye).ant-pagination .ant-pagination-item-active {
  font-weight: 600;
  border-color: #FF9F43;
  border-radius: 15px;
  background-color: #FF9F43;
  color: #fff;
}

:where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-pagination.ant-pagination {
  margin: 0px 0;
}


.ant-select-selection-item {
  border: none !important;
}

ul.tabs.owl-carousel.pos-category {
  display: flex;
}

// .pos-design .slick-track {
//   width: 100% !important;
// }
// .pos-design .slick-slide {
//   width: 100% !important;
// }
.tabs_wrapper ul.tabs div {
  background-color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  padding: 15px 0;
  margin-right: 8px;
  display: flex;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  justify-content: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  text-align: center;
  cursor: pointer;
  border: 1px solid #f3f6f9;
  box-shadow: 0px 4px 60px 0px rgba(231, 231, 231, 0.47);
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  border-radius: 8px;
  margin-left: -0.1px !important;
}

.tabs_wrapper ul.tabs li h6 {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
  margin-bottom: 5px;
}

.tabs_wrapper ul.tabs li span {
  color: #5B6670;
}

.tabs_wrapper ul.tabs li:last-child {
  margin-right: 0;
}

// .pos-design .tabs_wrapper .slick-arrow {
//   width: 28px;
//   height: 28px;
//   font-size: 0;
//   background-color: #ffffff;
//     border: 1px solid #f3f6f9;
//     border-radius: 28px;
//     display: flex;
//     align-items: center;
//     justify-content: center;
// }
.pos-design .tabs_wrapper .slick-arrow.slick-prev::before {
  content: "\f053";
  width: 12px;
  height: 12px;
  font-size: 12px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #092C4C;
}

.pos-design .tabs_wrapper .slick-arrow.slick-next::before {
  content: "\f054";
  width: 12px;
  height: 12px;
  font-size: 12px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #092C4C;
}

.pos-categories {
  position: relative;
}

// .pos-design .tabs_wrapper .slick-arrow.slick-prev {
//   position: absolute;
//   right: 80px;
//   top: 20px;
// }
// .pos-design .tabs_wrapper .slick-arrow.slick-next {
//   position: absolute;
//   right: 40px;
//   top: 20px;
// }

.css-qbdosj-Input {
  margin: 0px !important;
  padding-bottom: 0px !important;
  padding-top: 0px !important;
}

:where(.css-dev-only-do-not-override-1b0bdye).ant-picker-dropdown {
  z-index: 2000 !important;
}

.mini-sidebar .active.subdrop~ul {
  display: none !important;
}

.pos-category .slick-slide {

  list-style: none;
  cursor: pointer;
  display: inline-block;
  border-radius: 5px;
  color: white;
  font-family: sans-serif;
  // width: 100%;
  padding: 15px 0;
  background: $white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-right: 8px;
}

.pos-category .slick-track .slick-slide:last-child {
  margin-right: 0;
}

.pos-slick-item a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pos-slick-item span {
  color: #5B6670;
}

.pos-slick-item h6 {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
  margin-bottom: 5px;
}

.owl-carousel.pos-category .slick-prev {
  left: unset;
  right: 60px;
  top: -50px;
  background-color: white;
  width: 28px;
  height: 28px;
  border-radius: 28px
}

.owl-carousel.pos-category .slick-prev:hover,
.owl-carousel.pos-category .slick-next:hover {
  background-color: #FF9F43;
}

.owl-carousel.pos-category .slick-next {
  left: unset;
  right: 20px;
  top: -50px;
  background-color: white;
  width: 28px;
  height: 28px;
  border-radius: 28px
}

.ant-table-wrapper .ant-table-tbody .ant-table-row.ant-table-row-selected>.ant-table-cell {
  background: white !important;
}

.ant-table-wrapper tfoot>tr>td {
  position: relative;
  padding: 2px 16px;
  overflow-wrap: break-word;
}

:where(.css-dev-only-do-not-override-1b0bdye).ant-checkbox-checked .ant-checkbox-inner {
  background-color: #FF9F43;
  border-color: #FF9F43;
}

.iconsize {
  height: 16px !important;
}

[data-layout-mode=dark_mode] .ant-table-content table thead.ant-table-thead tr th {
  background: #141432;
  border-bottom: 1px solid #141432;
}

[data-layout-mode=dark_mode] .ant-table-content table thead.ant-table-thead tr th {
  background: #141432;
  border-bottom: 1px solid #141432;
}

[data-layout-mode=dark_mode] :where(.css-dev-only-do-not-override-1b0bdye).ant-checkbox .ant-checkbox-inner {
  background: #141432;
}

[data-layout-mode=dark_mode] .ant-spin-nested-loading .ant-spin-container ul.ant-pagination.ant-table-pagination {
  background: #1d1d42;
}

[data-layout-mode=dark_mode] :where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-tbody .ant-table-row.ant-table-row-selected>.ant-table-cell {
  background: #141432 !important;
}

.ant-table-content table thead.ant-table-thead tr th {
  background: none;
}

:where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-column-sorters::after {
  content: none;
}

:where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before,
:where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-thead>tr>td:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
  content: none;
}



:where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-thead th.ant-table-column-has-sorters:hover {
  background: none;
}

.ant-table-content table tr.ant-table-row:hover {
  background: none;
}

:where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-tbody .ant-table-row>.ant-table-cell-row-hover {
  background: none;
}

:where(.css-dev-only-do-not-override-1b0bdye).ant-table-wrapper .ant-table-tbody>tr>td {
  padding-right: 10px;
}

ul.ant-pagination.ant-table-pagination li button.ant-pagination-item-link {
  color: #67748E;
}

[data-layout-mode=dark_mode] .css-13cymwt-control {
  background-color: #1d1d42;
  border: 1px solid#67748E;
}

[data-layout-mode=dark_mode] .css-t3ipsp-control {
  background-color: #1d1d42;
}

[data-layout-mode=dark_mode] .css-1nmdiq5-menu {
  background-color: #1d1d42;
}

.css-1fdsijx-ValueContainer .css-1dimb5e-singleValue {
  color: #67748E;
}

.form-sort .css-1jqq78o-placeholder,
.form-sort .css-1dimb5e-singleValue {
  padding-left: 20px;
}

.ant-table-cell .action-table-data {
  border-bottom: 0 !important;
}

.ant-table-cell .action-table-data:hover {
  background: none;
}

.ant-table-cell.ant-table-cell-row-hover .action-table-data {
  background: none;
}

.table-top-head li a.btn {
  width: 100%;
}

.visible .input-blocks .css-b62m3t-container .css-1dimb5e-singleValue{
  margin-left: 25px !important;
}

.visible .input-blocks .css-b62m3t-container .css-13cymwt-control .css-1fdsijx-ValueContainer .css-1jqq78o-placeholder{
  margin-left: 25px !important;
}

.section-notes-slider .notes-slider .slick-list .slick-slide div{
  margin-left: 12px !important;
}

// Calendar Dark Mode Integration
[data-layout-mode="dark_mode"] {
  .calendar-page-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  }

  .calendar-page-header {
    background: rgba(29, 29, 66, 0.95) !important;
    border: 1px solid rgba(103, 116, 142, 0.3) !important;

    h3 {
      background: linear-gradient(135deg, #ff9f43 0%, #feca57 100%) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
    }
  }

  .calendar-sidebar {
    background: rgba(29, 29, 66, 0.95) !important;
    border: 1px solid rgba(103, 116, 142, 0.3) !important;

    h4 {
      color: #ffffff !important;
    }
  }

  .calendar-main-card {
    background: rgba(29, 29, 66, 0.95) !important;
    border: 1px solid rgba(103, 116, 142, 0.3) !important;
  }

  .fc-col-header-cell {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    color: #ffffff !important;
  }

  .fc-daygrid-day-number {
    color: #ffffff !important;

    &:hover {
      color: #ff9f43 !important;
    }
  }

  .fc-day-today {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.1) 0%, rgba(254, 202, 87, 0.1) 100%) !important;
    border: 2px solid rgba(255, 159, 67, 0.3) !important;
  }

  .fc-toolbar-title {
    background: linear-gradient(135deg, #ff9f43 0%, #feca57 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
  }

  .fc-button-primary {
    background: linear-gradient(135deg, #ff9f43 0%, #feca57 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 159, 67, 0.3) !important;

    &:hover {
      background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%) !important;
      box-shadow: 0 6px 20px rgba(255, 159, 67, 0.4) !important;
    }

    &:not(:disabled):active,
    &:not(:disabled).fc-button-active {
      background: linear-gradient(135deg, #e8890a 0%, #ff9f43 100%) !important;
      box-shadow: 0 2px 10px rgba(255, 159, 67, 0.5) !important;
    }
  }

  .fc-daygrid-day:hover {
    background: rgba(255, 159, 67, 0.05) !important;
  }

  .calendar-create-btn {
    background: linear-gradient(135deg, #ff9f43 0%, #feca57 100%) !important;
    box-shadow: 0 8px 25px rgba(255, 159, 67, 0.3) !important;

    &:hover {
      background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%) !important;
      box-shadow: 0 12px 35px rgba(255, 159, 67, 0.4) !important;
    }
  }

  .calendar-add-category-btn {
    background: linear-gradient(135deg, #ff9f43 0%, #feca57 100%) !important;
    box-shadow: 0 8px 25px rgba(255, 159, 67, 0.3) !important;

    &:hover {
      background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%) !important;
      box-shadow: 0 12px 35px rgba(255, 159, 67, 0.4) !important;
    }
  }

  // Calendar Modal Dark Mode
  .modal.custom-modal {
    .modal-content {
      background: rgba(29, 29, 66, 0.95) !important;
      border: 1px solid rgba(103, 116, 142, 0.3) !important;
    }

    .modal-header {
      background: linear-gradient(135deg, #ff9f43 0%, #feca57 100%) !important;
    }

    .modal-body {
      background: rgba(29, 29, 66, 0.95) !important;

      .form-group {
        label {
          color: #ffffff !important;
        }

        .form-control {
          background: rgba(29, 29, 66, 0.8) !important;
          border-color: rgba(103, 116, 142, 0.5) !important;
          color: #ffffff !important;

          &:focus {
            border-color: #ff9f43 !important;
            box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.1) !important;
          }

          &::placeholder {
            color: rgba(255, 255, 255, 0.5) !important;
          }
        }
      }
    }

    .submit-btn {
      background: linear-gradient(135deg, #ff9f43 0%, #feca57 100%) !important;
      box-shadow: 0 8px 25px rgba(255, 159, 67, 0.3) !important;

      &:hover {
        background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%) !important;
        box-shadow: 0 12px 35px rgba(255, 159, 67, 0.4) !important;
      }
    }
  }

  .checkbox label {
    color: #ffffff !important;
  }
}