@layer properties;
@layer theme, base, components, utilities;

@layer theme {

  :root,
  :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-50: oklch(97.1% 0.013 17.38);
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-red-800: oklch(44.4% 0.177 26.899);
    --color-red-950: oklch(25.8% 0.092 26.042);
    --color-orange-100: oklch(95.4% 0.038 75.164);
    --color-orange-200: oklch(90.1% 0.076 70.697);
    --color-orange-400: oklch(75% 0.183 55.934);
    --color-orange-950: oklch(26.6% 0.079 36.259);
    --color-yellow-50: oklch(98.7% 0.026 102.212);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-200: oklch(94.5% 0.129 101.54);
    --color-yellow-400: oklch(85.2% 0.199 91.936);
    --color-yellow-500: oklch(79.5% 0.184 86.047);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-yellow-800: oklch(47.6% 0.114 61.907);
    --color-yellow-950: oklch(28.6% 0.066 53.813);
    --color-green-50: oklch(98.2% 0.018 155.826);
    --color-green-100: oklch(96.2% 0.044 156.743);
    --color-green-200: oklch(92.5% 0.084 155.995);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-green-800: oklch(44.8% 0.119 151.328);
    --color-green-950: oklch(26.6% 0.065 152.934);
    --color-blue-50: oklch(97% 0.014 254.604);
    --color-blue-100: oklch(93.2% 0.032 255.585);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-blue-800: oklch(42.4% 0.199 265.638);
    --color-blue-950: oklch(28.2% 0.091 267.935);
    --color-violet-50: oklch(96.9% 0.016 293.756);
    --color-violet-100: oklch(94.3% 0.029 294.588);
    --color-violet-200: oklch(89.4% 0.057 293.283);
    --color-violet-500: oklch(60.6% 0.25 292.717);
    --color-violet-600: oklch(54.1% 0.281 293.009);
    --color-violet-700: oklch(49.1% 0.27 292.581);
    --color-violet-800: oklch(43.2% 0.232 292.759);
    --color-violet-950: oklch(28.3% 0.141 291.089);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-zinc-50: oklch(98.5% 0 0);
    --color-zinc-100: oklch(96.7% 0.001 286.375);
    --color-zinc-200: oklch(92% 0.004 286.32);
    --color-zinc-300: oklch(87.1% 0.006 286.286);
    --color-zinc-400: oklch(70.5% 0.015 286.067);
    --color-zinc-500: oklch(55.2% 0.016 285.938);
    --color-zinc-600: oklch(44.2% 0.017 285.786);
    --color-zinc-800: oklch(27.4% 0.006 286.033);
    --color-zinc-900: oklch(21% 0.006 285.885);
    --color-zinc-950: oklch(14.1% 0.005 285.823);
    --color-neutral-200: oklch(92.2% 0 0);
    --color-neutral-700: oklch(37.1% 0 0);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --breakpoint-sm: 40rem;
    --breakpoint-md: 48rem;
    --breakpoint-lg: 64rem;
    --breakpoint-xl: 80rem;
    --breakpoint-2xl: 96rem;
    --container-2xl: 42rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --tracking-tight: -0.025em;
    --leading-tight: 1.25;
    --leading-relaxed: 1.625;
    --radius-xs: 0.125rem;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --blur-md: 12px;
    --aspect-video: 16 / 9;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-background: var(--background);
    --color-popover: var(--popover);
    --color-muted-foreground: var(--muted-foreground);
    --color-accent: var(--accent);
    --color-primary: var(--primary);
    --color-primary-foreground: var(--primary-foreground);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-destructive: var(--destructive);
    --color-mono: var(--mono);
    --color-border: var(--border);
    --color-input: var(--input);
    --text-2sm: 0.8125rem;
    --text-2sm--line-height: calc(1.075 / 0.8125);
    --text-2xs: 0.6875rem;
    --text-2xs--line-height: calc(0.825 / 0.6875);
  }
}

@layer base {

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }

  html,
  :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b,
  strong {
    font-weight: bolder;
  }

  code,
  kbd,
  samp,
  pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -0.25em;
  }

  sup {
    top: -0.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol,
  ul,
  menu {
    list-style: none;
  }

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block;
    vertical-align: middle;
  }

  img,
  video {
    height: 100%;
  }

  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button,
  input:where([type="button"], [type="reset"], [type="submit"]),
  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

/* RTL / LTR utility support */

[dir="rtl"] .rtl\:order-0 {
  order: 0;
}

[dir="rtl"] .rtl\:order-1 {
  order: 1;
}

[dir="rtl"] .rtl\:order-2 {
  order: 2;
}

[dir="rtl"] .rtl\:order-3 {
  order: 3;
}

[dir="ltr"] .ltr\:order-0 {
  order: 0;
}

[dir="ltr"] .ltr\:order-1 {
  order: 1;
}

[dir="ltr"] .ltr\:order-2 {
  order: 2;
}

[dir="ltr"] .ltr\:order-3 {
  order: 3;
}

[dir="ltr"] .ltr-flex-row-reverse {
  flex-direction: row-reverse;
}

[dir="rtl"] .rtl-flex-row-reverse {
  flex-direction: row-reverse;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1200px);
  }

  /* 3 slides * 400px each */
}

.news-slider {
  display: flex;
  gap: 16px;
  animation: slide-left 12s linear infinite;
  /* adjust speed as needed */
}

/* LTR: minus before the number */
[dir="ltr"] .minus {
  position: relative;
}

[dir="rtl"] .minus::before {
  content: " -";
}

/* RTL: minus after the number */
[dir="rtl"] .minus {
  position: relative;
}

[dir="rtl"] .flex-row {
  flex-direction: row;
}

[dir="ltr"] .minus::after {
  content: "- ";
}

[dir="rtl"] .flex-row-reverse {
  flex-direction: row-reverse;
}

/* Hide dark mode SVG by default */
.svg-container .dark-mode {
  display: none;
}

/* Show dark mode SVG when parent has class 'dark' */
.dark .svg-container .dark-mode {
  display: inline;
}

/* Hide light mode SVG in dark mode */
.dark .svg-container .light-mode {
  display: none;
}

/* Container must have display: grid and grid-template-columns */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 equal columns */
  gap: 1.5rem;
  /* Tailwind's gap-6 = 1.5rem */
}

/* Column spans */
.col-span-1 {
  grid-column: span 1 / span 1;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.col-span-3 {
  grid-column: span 3 / span 3;
}

.col-span-4 {
  grid-column: span 4 / span 4;
}

.col-span-full {
  grid-column: 1 / -1;
}

/* Light Mode (Default) */
.crazy-border {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 1px solid #d1d5db !important;
  /* Tailwind gray-300 */
  border-radius: 0
}

/* Dark Mode */
.dark .crazy-border {
  border-right-color: #4b5563 !important;
  /* Tailwind gray-600 */
}

/* Custom dot for hardcoded active menu item */
.menu-dot {
  position: relative;
  /* required for absolute positioning of the pseudo */
}

b .menu-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0%;
  width: 0.375rem;
  /* 6px → corresponds to w-1.5 in Tailwind */
  height: 0.375rem;
  /* 6px → corresponds to h-1.5 in Tailwind */
  border-radius: 9999px;
  /* fully rounded → rounded-full */
  background-color: #5e72e4;
  /* Tailwind primary color or adjust */
  transform: translate(-50%, -50%);
}


.bg-orange {
  background-color: #F37021;
}

:hover.bg-orange {
  background-color: #d65e1a;
}

.bg-success {
  background-color: #50cd89 !important;
}

.text-success {
  color: #50cd89 !important;
}

.text-black {
  color: #000 !important;
}

.bg-foreground {
  background-color: #5D3995;
}

.text-white {
  color: #fff;
}

.text-5xl {
  font-size: 3rem;
  /* 48px */
  line-height: 1;
}

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.object-fill {
  object-fit: fill;
}

.object-none {
  object-fit: none;
}

.object-scale-down {
  object-fit: scale-down;
}

.w-1\/2 {
  width: 50%;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.h-\[40px\] {
  height: 40px;
}


.text-\[\#06bca3\] {
  color: #06bca3;
}

.text-inactive {
  color: rgba(6, 188, 163, 0.2);
}

.bg-gradient-indigo-purple {
  background: linear-gradient(45deg, #303f9f, #7b1fa2) !important;
}


.dark\:bg-gradient-white-to-c2eaed {
  background: linear-gradient(135deg, #6aa3a8, #d9f2f4);
}


.dark\:bg-gradient-indigo-purple {
  background: linear-gradient(45deg, #1b2551, #4a0f55) !important;
}

.ms-0 {
  margin-inline-start: 0 !important;
}



.text-xs {
  font-size: 0.625rem;
  /* 14px */
}

.mt-1 {
  margin-top: 0.25rem;
  /* 4px */
}

.help-block-error {
  font-size: 90%;
}

.help-block-success {
  font-size: 90%;
  color: #22c55e !important;
}

.select2-container--krajee-bs3 .select2-selection--single {
  padding: 12px 24px 6px 12px;
}

.select2-container--krajee-bs3 .select2-selection--single,
.select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow {
  height: 45px;
}

/* ---------------------------
   GLOBAL STYLES
--------------------------- */
html,
body {
  height: 100%;
}

/* Tailwind: min-h-screen */
.min-h-screen {
  min-height: 100vh;
}

/* Tailwind: flex */
.flex {
  display: flex;
}



/* Tailwind: items-center */
.items-center {
  align-items: center;
}

/* Tailwind: justify-center */
.justify-center {
  justify-content: center;
}

/* Tailwind: px-4 */
.px-4 {
  padding-left: 1rem;
  /* 16px */
  padding-right: 1rem;
  /* 16px */
}



/* Tailwind: max-w-[830px] */
.max-w-\[830px\] {
  max-width: 830px;
}

/* Tailwind: max-w-[830px] */
.max-w-\[400px\] {
  max-width: 400px;
}

/* Tailwind: text-center */
.text-center {
  text-align: center;
}

/* Tailwind: mt-10 */
.mt-10 {
  margin-top: 2.5rem;
  /* 40px */
}

/* Tailwind: mt-6 */
.mt-6 {
  margin-top: 1.5rem;
  /* 24px */
}

/* Tailwind: mt-8 */
.mt-8 {
  margin-top: 2rem;
  /* 32px */
}

/* Tailwind: mb-4 */
.mb-4 {
  margin-bottom: 1rem;
  /* 16px */
}

/* Tailwind: text-lg */
.text-lg {
  font-size: 1.125rem;
  /* 18px */
}

/* Tailwind: font-semibold */
.font-semibold {
  font-weight: 600;
}

/* Tailwind: gap-6 */
.gap-6 {
  gap: 1.5rem;
  /* 24px */
}

/* Tailwind: grid */
.grid {
  display: grid;
}

/* Tailwind: grid-cols-1 */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Tailwind: grid-cols-3 - quick-links and others */
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Tailwind: gap-2, gap-3 */
.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

/* Tailwind: md:grid-cols-2 */
@media (min-width: 768px) {
  .md\:w-auto {
    width: auto;
  }
}

/* Tailwind: md:grid-cols-2 */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tailwind: md:grid-cols-3 */
@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tailwind: p-6 */
.p-6 {
  padding: 1.5rem;
  /* 24px */
}

/* Tailwind: rounded-xl */
.rounded-xl {
  border-radius: 1rem;
  /* 16px */
}

/* Tailwind: rounded-full - circle (what's new image, avatars) */
.rounded-full {
  border-radius: 9999px;
}

/* Tailwind: shrink-0 - flex item don't shrink */
.shrink-0 {
  flex-shrink: 0;
}

.items-start {
  align-items: flex-start;
}

.min-w-0 {
  min-width: 0;
}

.flex-1 {
  flex: 1 1 0%;
}

/* Tailwind: shadow-lg */
.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Tailwind: bg-white */
.bg-white {
  background-color: #fff;
}

/* Tailwind: text-sm */
.text-sm {
  font-size: 0.875rem;
  /* 14px */
}

/* Tailwind: font-medium */
.font-medium {
  font-weight: 500;
}

/* Tailwind: mb-1 */
.mb-1 {
  margin-bottom: 0.25rem;
  /* 4px */
}

/* Tailwind: block */
.block {
  display: block;
}

/* Tailwind: mt-1 */
.mt-1 {
  margin-top: 0.25rem;
  /* 4px */
}

/* Tailwind: text-primary */
.text-primary {
  color: #58264A;
  /* same as your button color */
}

/* Tailwind: underline */
.underline {
  text-decoration: underline;
}

/* Tailwind: mt-4 */
.mt-4 {
  margin-top: 1rem;
  /* 16px */
}

/* Tailwind: w-full (already defined above) */
.btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
}

/* Tailwind: text-white */
.text-white {
  color: #fff;
}

/* Tailwind: absolute */
.absolute {
  position: absolute;
}

/* Tailwind: top-4 */
.top-4 {
  top: 1rem;
  /* 16px */
}

/* Tailwind: left-4 */
.left-4 {
  left: 1rem;
  /* 16px */
}


.alert {
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 4px
}

.alert h4 {
  margin-top: 0;
  color: inherit
}

.alert>p,
.alert>ul {
  margin-bottom: 0
}

.alert>p+p {
  margin-top: 5px
}

.alert-dismissable,
.alert-dismissible {
  padding-left: 35px
}

.alert-dismissable .close,
.alert-dismissible .close {
  position: relative;
  top: -2px;
  left: -21px;
  color: inherit
}

.modal,
.modal-backdrop {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;

  background: rgba(0, 0, 0, 0.6);
  /* dark tint */
  z-index: 9998;
}


.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6
}

.alert-success hr {
  border-top-color: #c9e2b3
}

.alert-success .alert-link {
  color: #2b542c
}

.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1
}

.alert-info hr {
  border-top-color: #a6e1ec
}

.alert-info .alert-link {
  color: #245269
}

.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc
}

.alert-warning hr {
  border-top-color: #f7e1b5
}

.alert-warning .alert-link {
  color: #66512c
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1
}

.alert-danger hr {
  border-top-color: #e4b9c0
}

.alert-danger .alert-link {
  color: #843534
}

/* ===== Full Page Preloader ===== */
/* Preloader wrapper - backdrop behind the box */
.full-page-custom-preloader-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);

  pointer-events: all; /* or auto */
}

.full-page-custom-preloader-wrapper[style*="display: flex"],
.full-page-custom-preloader-wrapper[style*="display:flex"] {
  display: flex !important;
}

/* Inner box - contains loader and text */
.full-page-custom-preloader-wrapper>div.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  min-width: 200px;
}

/* Loader spinner */
.full-page-custom-preloader-wrapper .loader {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #2563eb;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}

.loaderr {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #2563eb;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}

/* Loader text */
.full-page-custom-preloader-wrapper .full-loader-text {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* ===== Animations ===== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 768px) {
  .md-w-850 {
    width: 850px;
  }
}

.w-\[850px\] {
  width: 850px;
}

@media (width >=64rem) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.select2-container--krajee-bs3 .select2-results__option--highlighted[aria-selected] {
  background-color: #2563eb !important;
  color: #fff !important;
}


.select2-container--krajee-bs3 .select2-dropdown {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
}

.min-h-screen {
  min-height: 100vh;
}

.w-fit {
  width: fit-content;
}



/* large screens */
@media (min-width >=64rem) {
  .lg\:flex-row {
    display: flex;
    flex-direction: row !important;
  }
}

/* ============================
   1) Hide original select (already hidden)
   NOTE: Do NOT hide .kt-select-display - it's the visible KTUI component!
   ============================ */
/* .kt-select-display {
  display: none !important;
} */

/* ============================
   2) Main Select2 container
   ============================ */
#country-select+.select2-container {
  width: 150px !important;
  /* <-- width set here */
}

/* ============================
   3) The visible select input
   ============================ */
#country-select+.select2-container .select2-selection {
  border-radius: calc(var(--radius) - 2px);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: var(--border);
  background-color: var(--popover);
  padding: calc(var(--spacing) * 2);
  color: var(--popover-foreground);

  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  height: auto;
  max-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* placeholder */
#country-select+.select2-container .select2-selection__placeholder {
  color: var(--popover-foreground);
}

/* selected text */
#country-select+.select2-container .select2-selection__rendered {
  color: var(--popover-foreground);
  font-weight: var(--font-weight-medium);
}

/* arrow */
#country-select+.select2-container .select2-selection__arrow b {
  border-color: var(--popover-foreground transparent transparent transparent);
  height: 34px;
}

/* focus state */
#country-select+.select2-container--focus .select2-selection {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* ============================
   4) Dropdown panel
   ============================ */
.select2-container .select2-dropdown {
  width: 150px !important;
  /* <-- match dropdown width */
  border-radius: calc(var(--radius) - 2px);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: var(--border);
  background-color: var(--popover);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

/* ============================
   5) Dropdown list items
   ============================ */
.select2-container .select2-results__option {
  padding: calc(var(--spacing) * 2);
  font-size: var(--text-sm);
  color: var(--popover-foreground);
}

/* hover item */
.select2-container .select2-results__option--highlighted {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* selected item */
.select2-container .select2-results__option[aria-selected="true"] {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* ============================
   6) Disable / read-only state
   ============================ */
.select2-container--disabled .select2-selection {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================
   7) Error state (red border)
   ============================ */
.field-country-select.has-error .select2-selection {
  border-color: #dc3545 !important;
}

/* ============================
   8) Keep old names for compatibility
   ============================ */
.kt-select {
  /* optional, you can add more here */
}

.kt-select-dropdown {
  /* optional, you can add more here */
}

/* ============================
   9) support for color-mix (optional)
   ============================ */
@supports (color: color-mix(in lab, red, red)) {
  .select2-container .select2-dropdown {
    --tw-shadow-color: color-mix(in oklab, rgba(0, 0, 0, 0.05) var(--tw-shadow-alpha), transparent);
  }
}

.select2-selection .select2-selection--single {
  height: 34px;
}

.select2-container--krajee-bs3 .select2-selection--single,
.select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow {
  max-height: 34px;
}


/* Selected item */
#select2-country-select-container {
  display: flex !important;
  align-items: center;
}

/* Dropdown list items */
.select2-results__option {
  display: flex !important;
  align-items: center;
}

/* Make sure image doesn't push text to new line */
#select2-country-select-container img,
.select2-results__option img {
  display: inline-block;
  margin-right: 8px;
}


.preview-wrapper {
  min-height: 24px;
  /* same height as your preview link */
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-\[13px\] {
  font-size: 13px;
}
.text-\[15px\] {
  font-size: 15px;
}
.ms-24 {

  margin-inline-start: calc(var(--spacing) * 24);

}


.size-32 {

  width: calc(var(--spacing) * 32);

  height: calc(var(--spacing) * 32);

}

.h-30 {
  height: calc(var(--spacing) * 30);
}

.min-h-\[200px\] {
  min-height: 200px;
}

.min-w-70 {
  min-width: 70%;
}


.min-w-\[454px\] {
  min-width: 454px;
}


.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}


.grid-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}


.flex-row-reverse {
  flex-direction: row-reverse;
}


:where(.-space-x-2 > :not(:last-child)) {
  --tw-space-x-reverse: 0;
  margin-inline-start: calc(calc(var(--spacing) * -2) * var(--tw-space-x-reverse));
  margin-inline-end: calc(calc(var(--spacing) * -2) * calc(1 - var(--tw-space-x-reverse)));
}

:where(.space-x-0\.5 > :not(:last-child)) {
  --tw-space-x-reverse: 0;
  margin-inline-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-x-reverse));
  margin-inline-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-x-reverse)));
}

.rounded-\[6px\] {
  border-radius: 6px;
}

.ps-0 {
  padding-inline-start: 0
}

@media (width >=40rem) {
  .sm\:me-0 {
    margin-inline-end: calc(var(--spacing) * 0);
  }
}

@media (width >=64rem) {
  .lg\:w-fit {
    width: fit-content !important;
  }
}

@media (width >=40rem) {
  .sm\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (width >=40rem) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width >=40rem) {
  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (width >=40rem) {
  .sm\:flex-nowrap {
    flex-wrap: nowrap;
  }
}

@media (width >=64rem) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (width >=48rem) {
  .md\:text-lg {
    font-size: 1.25rem;
  }

  .md\:w-48 {
    width: 12rem;
  }
}

.demo1.kt-sidebar-fixed .kt-wrapper {
  padding-inline-start: 0 !important;
}

.demo1.kt-sidebar-fixed.kt-header-fixed .kt-header {
  inset-inline-start: 0 !important;
}

/* Keep header bottom border visible and make header sticky */
#header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--color-border) !important;
  background-color: var(--color-background);
}

@media (width >=32rem) {
  .xs\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width >=64rem) {
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.h-36 {
  height: calc(var(--spacing) * 36);
}

@media (width >=64rem) {
  .lg\:w-1\/2 {
    width: 50% !important;
  }
}

@media (width >=64rem) {

  .lg\:hidden {
    display: none;
  }
}

.w-\[50px\] {
  width: 50px;
}

.w-\[40px\] {
  width: 40px;
}

.kt-datatable-pagination {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.kt-datatable-pagination li {
  list-style: none;
  min-width: 28px;
  height: 28px;
}

.kt-datatable-pagination li span {}

.kt-datatable-pagination li a {
  display: inline-flex;
  height: calc(var(--spacing) * 7);
  min-width: calc(var(--spacing) * 7);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  background-color: transparent;
  padding-inline: calc(var(--spacing) * 0.5);
  color: var(--muted-foreground);
}

.kt-datatable-pagination li a:hover {
  background-color: var(--muted);
  color:black;
}

.kt-datatable-pagination li.active a {
  cursor: default;
  color: var(--muted-foreground);
  background-color: var(--accent);}

.kt-datatable-pagination li.disabled a {
  opacity: 0.5;
  pointer-events: none;
}


.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}



li {
  list-style: none;
}

.max-w-\[650px\] {
  max-width: 650px;
}



.min-w-\[100px\] {
  min-width: 100px;
}

.w-\[100px\] {
  width: 100px;
}

/* Quick Links Widget Styles */
.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 20px;
  min-width: 120px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
}
@media (min-width: 1200px) and (max-width: 1500px) {
  .quick-link-item {
    padding: 10px 5px;
    min-width: 75px;
  }
  .quick-links-container {
    gap: 8px;
  }
  #quick-cards-content .quick-link-icon-wrapper {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;

  }

  #quick-cards-content .text-sm{
    font-size: 0.625rem;
  }
  .kt-card-title{
  }
}
.quick-link-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-link-icon-wrapper {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.quick-link-label {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  text-align: center;
  white-space: nowrap;
}

.dark .quick-link-label {
  color: #f9fafb;
}

/* Dashboard quick links: single horizontal row on large screens */
@media (min-width: 1024px) {
  .quick-links-container {
    -webkit-overflow-scrolling: touch;
  }
}

/* Quick links widget layout overrides moved from quick-links.php */
.kt-card .quick-links-container.quick-links-container {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
  .kt-card .quick-links-container.quick-links-container {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .kt-card .quick-links-container.quick-links-container {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }
}

.kt-card .quick-link-item {
  min-width: 0;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: clamp(0.4rem, 0.6vw, 0.6rem);
  text-align: center;
}

.kt-card .quick-link-item .quick-link-icon-wrapper {
  width: clamp(2.4rem, 3vw, 2.9rem);
  height: clamp(2.4rem, 3vw, 2.9rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  flex-shrink: 0;
}

.kt-card .quick-link-item .quick-link-icon-wrapper i {
  font-size: clamp(1rem, 1.4vw, 1.35rem) !important;
  line-height: 1;
}

.kt-card .quick-link-item .quick-link-label {
  font-size: clamp(0.62rem, 0.82vw, 0.8rem) !important;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-wrap: balance;
  max-width: 100%;
}

/* Mobile-first polish for readability and tap targets */
@media (max-width: 639px) {
  .kt-card {
    padding: 0.6rem !important;
  }

  .kt-card .quick-links-container.quick-links-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }

  .kt-card .quick-link-item {
    min-height: 5.6rem;
    gap: 0.35rem;
    padding: 0.6rem 0.45rem;
    border-radius: 0.7rem;
  }

  .kt-card .quick-link-item .quick-link-icon-wrapper {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.6rem;
  }

  .kt-card .quick-link-item .quick-link-icon-wrapper i {
    font-size: 0.98rem !important;
  }

  .kt-card .quick-link-item .quick-link-label {
    font-size: 0.72rem !important;
    line-height: 1.2;
    font-weight: 500;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .kt-card .quick-links-container.quick-links-container {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }

  .kt-card .quick-link-item {
    min-height: 5.4rem;
    padding: 0.55rem 0.5rem;
  }
}

/* Quick Link Color Variants */

.quick-link-blue {
  color: #3b82f6;
}

.quick-link-orange {
  color: #f97316;
}

.quick-link-purple {
  color: #a855f7;
}

.quick-link-pink {
  color: #ec4899;
}

.quick-link-red {
  color: #ef4444;
}

.quick-link-green {
  color: #22c55e;
}

.quick-link-teal {
  color: #14b8a6;
}

/* make equivalents if html has dark class */
html.dark .quick-link-blue,
html.dark .quick-link-icon-wrapper .quick-link-blue,
.dark .quick-link-blue,
.dark .quick-link-icon-wrapper .quick-link-blue {
  /* darker, desaturated blue for dark mode */
  color: #60a5fa !important;
  /* tailwind blue-400 */
}

html.dark .quick-link-orange,
html.dark .quick-link-icon-wrapper .quick-link-orange,
.dark .quick-link-orange,
.dark .quick-link-icon-wrapper .quick-link-orange {
  /* darker, desaturated orange for dark mode */
  color: #fb923c !important;
  /* orange-400 */
}

html.dark .quick-link-purple,
html.dark .quick-link-icon-wrapper .quick-link-purple,
.dark .quick-link-purple,
.dark .quick-link-icon-wrapper .quick-link-purple {
  /* darker, desaturated purple for dark mode */
  color: #a855f7 !important;
  /* purple-500 (already mid) */
}

html.dark .quick-link-pink,
html.dark .quick-link-icon-wrapper .quick-link-pink,
.dark .quick-link-pink,
.dark .quick-link-icon-wrapper .quick-link-pink {
  /* darker, desaturated pink for dark mode */
  color: #f472b6 !important;
  /* pink-400 */
}

html.dark .quick-link-red,
html.dark .quick-link-icon-wrapper .quick-link-red,
.dark .quick-link-red,
.dark .quick-link-icon-wrapper .quick-link-red {
  /* darker, desaturated red for dark mode */
  color: #f87171 !important;
  /* red-400 */
}

html.dark .quick-link-green,
html.dark .quick-link-icon-wrapper .quick-link-green,
.dark .quick-link-green,
.dark .quick-link-icon-wrapper .quick-link-green {
  /* darker, desaturated green for dark mode */
  color: #4ade80 !important;
  /* green-400 */
}

html.dark .quick-link-teal,
html.dark .quick-link-icon-wrapper .quick-link-teal,
.dark .quick-link-teal,
.dark .quick-link-icon-wrapper .quick-link-teal {
  /* darker, desaturated teal for dark mode */
  color: #2dd4bf !important;
  /* teal-400 */
}

/* Quick Link Color Variants - Ultra Light */
.bg-quick-link-blue {
  background-color: #f0f9ff;
}

.bg-quick-link-orange {
  background-color: #fffaf0;
}

.bg-quick-link-purple {
  background-color: #f8f5ff;
}

.bg-quick-link-pink {
  background-color: #fff5f8;
}

.bg-quick-link-red {
  background-color: #fff5f5;
}

.bg-quick-link-green {
  background-color: #f6fef6;
}

.bg-quick-link-teal {
  background-color: #f0fdfa;
}

html.dark .bg-quick-link-blue,
html.dark .quick-link-icon-wrapper.bg-quick-link-blue,
.dark .bg-quick-link-blue,
.dark .quick-link-icon-wrapper.bg-quick-link-blue {
  /* darker blue-tinted surface for dark mode */
  background-color: #0f172a !important;
  /* slate-900 with blue hint */
}

html.dark .bg-quick-link-orange,
html.dark .quick-link-icon-wrapper.bg-quick-link-orange,
.dark .bg-quick-link-orange,
.dark .quick-link-icon-wrapper.bg-quick-link-orange {
  /* darker orange-tinted surface for dark mode */
  background-color: #1f1305 !important;
}

html.dark .bg-quick-link-purple,
html.dark .quick-link-icon-wrapper.bg-quick-link-purple,
.dark .bg-quick-link-purple,
.dark .quick-link-icon-wrapper.bg-quick-link-purple {
  /* darker purple-tinted surface for dark mode */
  background-color: #1a1033 !important;
}

html.dark .bg-quick-link-pink,
html.dark .quick-link-icon-wrapper.bg-quick-link-pink,
.dark .bg-quick-link-pink,
.dark .quick-link-icon-wrapper.bg-quick-link-pink {
  /* darker pink-tinted surface for dark mode */
  background-color: #2b0f24 !important;
}

html.dark .bg-quick-link-red,
html.dark .quick-link-icon-wrapper.bg-quick-link-red,
.dark .bg-quick-link-red,
.dark .quick-link-icon-wrapper.bg-quick-link-red {
  /* darker red-tinted surface for dark mode */
  background-color: #2b0b0b !important;
}

html.dark .bg-quick-link-green,
html.dark .quick-link-icon-wrapper.bg-quick-link-green,
.dark .bg-quick-link-green,
.dark .quick-link-icon-wrapper.bg-quick-link-green {
  /* darker green-tinted surface for dark mode */
  background-color: #052e16 !important;
  /* green-950 */
}

html.dark .bg-quick-link-teal,
html.dark .quick-link-icon-wrapper.bg-quick-link-teal,
.dark .bg-quick-link-teal,
.dark .quick-link-icon-wrapper.bg-quick-link-teal {
  /* darker teal-tinted surface for dark mode */
  background-color: #042f2e !important;
  /* teal-950 */
}


/* Hide scrollbar but keep functionality */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}


/* Background no repeat */
.bg-no-repeat {
  background-repeat: no-repeat;
}

/* Default (LTR) background position */
.bg-right-top {
  background-position: right top -1.7rem;
}

/* RTL override */
[dir="rtl"] .rtl-bg-left-top {
  background-position: left top -1.7rem;
}

.overflow-y-auto {
  overflow-y: auto;
}

.p-1 {
  padding: 0.25rem;
}

@media (width >=64rem) {
  .lg\:ms-\[280px\] {
    margin-inline-start: 280px;
  }
}

@media (width >=64rem) {
  .header-with-sidebar {
    width: calc(100% - 280px) !important;
  }
}

.w-2 {
  width: 0.5rem;
  /* 8px */
}

.h-2 {
  height: 0.5rem;
  /* 8px */
}

.me-0 {
  margin-inline-end: 0;
}

.my-4 {
  margin-top: 1rem;
}

.inline {
  display: inline !important;
}

.demo1.kt-sidebar-fixed.kt-header-fixed .kt-wrapper {
  padding-top: 0 !important;
}

.h-\[100px\] {
  height: 100px;
}

.h-\[72px\] {
  min-height: 72px;
}


@media (width >=64rem) {
  .lg\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}


@media (width >=64rem) {
  .lg\:min-w-\[454px\] {
    min-width: 454px;
  }

  .lg\:max-w-\[454px\] {
    max-width: 454px;
  }

  .lg\:w-\[600px\] {
    width: 600px;
  }
}


.h-\[80px\] {
  height: 80px;
}

.h-\[180px\] {
  height: 180px !important;
}

.w-\[280px\] {
  width: 280px !important;
}


@media (width >=64rem) {
  .lg\:m-0 {
    margin: 0 !important;
  }

  .lg\:mt-0 {
    margin-top: 0 !important;
  }

  .lg\:mb-0 {
    margin-bottom: 0 !important;
  }

  .lg\:ml-0 {
    margin-left: 0 !important;
  }

  .lg\:mr-0 {
    margin-right: 0 !important;
  }

  .lg\:p-0 {
    padding: 0 !important;
  }

  .lg\:pt-0 {
    padding-top: 0 !important;
  }

  .lg\:pb-0 {
    padding-bottom: 0 !important;
  }

  .lg\:pl-0 {
    padding-left: 0 !important;
  }
}

@media (width < 64rem) {
  .hf\:flex-wrap {
    flex-wrap: wrap !important;
  }
}


[dir="rtl"] .rtl-justify-end {
  justify-content: flex-end !important;
}

[dir="rtl"] .rtl-justify-start {
  justify-content: flex-start !important;
}

[dir="rtl"] .rtl-flex-row-reverse {
  flex-direction: row-reverse !important;
}

[dir="rtl"] .rtl-flex-row {
  flex-direction: row !important;
}

[dir="rtl"] .rtl-flex-column-reverse {
  flex-direction: column-reverse !important;
}

[dir="rtl"] .rtl-flex-wrap {
  flex-wrap: wrap-reverse !important;
}

[dir="rtl"] .rtl-flex-nowrap {
  flex-wrap: nowrap !important;
}

[dir="rtl"] .rtl-text-right {
  text-align: right !important;
}

[dir="ltr"] .ltr-text-left {
  text-align: left !important;
}

[dir="rtl"] .rtl-text-end {
  text-align: end !important;
}


.max-h-30 {
  max-height: 7.5rem;
}

.max-h-60 {
  max-height: 15rem;
}


[dir="ltr"] .ltr\:right-3 {
  right: 10px !important;
}

[dir="rtl"] .rtl\:left-3 {
  left: 10px !important;
}

.z-99 {
  z-index: 99;
}


.min-h-screen-200px {
  min-height: calc(100vh - 200px);
}

/* Base drawer styles */

/* remove transition on rtl only */
html[dir="rtl"] .kt-drawer {
  transition: none;
  will-change: transform;
  /* helps performance */
}




/* RTL drawer - fixed to slide from actual position */
html[dir="rtl"] .kt-drawer {
  transform: translateX(-100%) !important;
  /* Hidden off-screen left */
  transform-origin: right center !important;
  /* Slide from right edge (current position) when closing */
}

html[dir="rtl"] .kt-drawer.open {
  transform: translateX(0) !important;
  /* Open in place */
}

/* ============================
   Sidebar Menu Active States
   kt-menu-item-active: variant support
   ============================ */

/* Active menu item link background and border */
.kt-menu-item.active>.kt-menu-link {
  background-color: color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: var(--radius-lg, 0.5rem);
}

/* Dark mode active border */
.dark .kt-menu-item.active>.kt-menu-link {
  border-color: var(--border);
}

/* Active menu item title text */
.kt-menu-item.active>.kt-menu-link .kt-menu-title {
  color: var(--primary);
  font-weight: 600;
}

/* Active submenu bullet */
.kt-menu-item.active>.kt-menu-link .kt-menu-bullet::before {
  background-color: var(--primary);
}

/* Hover bullet */
.kt-menu-item:not(.kt-menu-item-accordion)>.kt-menu-link:hover .kt-menu-bullet::before {
  background-color: var(--primary);
}

/* Hover text */
.kt-menu-item:not(.kt-menu-item-accordion)>.kt-menu-link:hover .kt-menu-title {
  color: var(--primary) !important;
}

/* Accordion trigger only (the “big” row): blue + white on hover. Nested items are not direct child so they stay unchanged. */
.kt-menu-item-accordion>.kt-menu-link:hover {
  background-color: #34087a !important;
  color: #fff !important;
}

.kt-menu-item-accordion>.kt-menu-link:hover .kt-menu-icon,
.kt-menu-item-accordion>.kt-menu-link:hover .kt-menu-title,
.kt-menu-item-accordion>.kt-menu-link:hover .kt-menu-arrow,
.kt-menu-item-accordion>.kt-menu-link:hover .kt-menu-arrow i {
  color: #fff !important;
}

/* Accordion show state - keep accordion expanded */
.kt-menu-item.show>.kt-menu-accordion {
  display: flex;
  flex-direction: column;
}


.lg\:col-span-5 {
  grid-column: span 5;
}

.ordered-list-item li {
  list-style-type: decimal !important;
}

.unordered-list-item li {
  list-style-type: disc !important;
}

/* Gradient used on the welcome card. Normal (LTR) flows left→right. */
.bg-gradient-white-to-c2eaed {
  background-image: linear-gradient(270deg, #ffffff 0%, #2ca6af 100%);
}

/* When the page is RTL, reverse the gradient so it visually matches mirrored layout. */
html[dir="rtl"] .bg-gradient-white-to-c2eaed,
.rtl .bg-gradient-white-to-c2eaed {
  background-image: linear-gradient(90deg, #ffffff 0%, #2ca6af 100%);
}

/* Slider animations */
#slider_inner {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
}

/* SVG color mode switching */
.svg-container {
  display: inline-flex;
}

.light-mode {
  display: block;
}

.dark-mode {
  display: none;
}

.dark .light-mode {
  display: none;
}

.dark .dark-mode {
  display: block;
}

/* Currency display - always LTR for numbers */
.currency-display {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.currency-display .svg-container {
  order: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.currency-display .currency-value {
  order: 2;
}

/* Wallet balance card responsive */
.wallet-balance-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .wallet-balance-section {
    flex-direction: row;
    align-items: center;
  }
}

/* Balance info layout */
.balance-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  justify-content: start;
}

@media (min-width: 1024px) {
  .balance-info-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Chart container */
.chart-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .chart-container {
    flex: 1;
    justify-content: flex-start;
  }

  [dir="rtl"] .chart-container {
    justify-content: flex-end;
  }
}

/* Balance amount display */
.balance-amount-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: start;
  justify-content: start;
}

@media (min-width: 1024px) {
  .balance-amount-section {
    align-items: flex-start;
    text-align: start;
    justify-content: start;
  }

  [dir="rtl"] .balance-amount-section {
    align-items: flex-end;
    text-align: end;
  }
}

/* Expiration warning badge */
.expiration-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .expiration-badge {
    padding: 0.75rem;
    text-align: center;
    justify-content: center;
  }
}

/* Charge button container */
.charge-btn-container {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .charge-btn-container {
    width: auto;
    flex-shrink: 0;
    margin-top: 0;
  }
}

.charge-btn-container .kt-btn {
  width: 100%;
}

@media (min-width: 1024px) {
  .charge-btn-container .kt-btn {
    width: auto;
  }
}

/* Drawer responsive */
#chargeWalletDrawer {
  min-width: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  top: 0 !important;
  bottom: 0 !important;
  border-radius: 0 !important;
  inset-inline-end: 0 !important;
}

@media (min-width: 640px) {
  #chargeWalletDrawer {
    min-width: 400px !important;
    max-width: 90% !important;
    width: 500px !important;
    top: 1.25rem !important;
    bottom: 1.25rem !important;
    border-radius: 0.75rem !important;
    inset-inline-end: 1.25rem !important;
  }
}

@media (min-width: 768px) {
  #chargeWalletDrawer {
    width: 550px !important;
  }
}

#chargeWalletDrawer .kt-radio {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 50% !important;
  border: 2px solid var(--kt-border-color, #E4E6EF) !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin: 0 !important;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  outline: none !important;
  background-color: #fff !important;
  flex-shrink: 0;
}

#chargeWalletDrawer .kt-radio:checked {
  border-color: var(--kt-primary, #009ef7) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.5' fill='%23009ef7'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

#chargeWalletDrawer .kt-radio:hover {
  border-color: var(--kt-primary, #009ef7) !important;
}

/* IBAN section responsive */
.iban-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .iban-section .iban-display {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch !important;
  }

  .iban-section .iban-display span {
    word-break: break-all;
    font-size: 0.75rem;
  }

  .iban-section .copy-iban-action {
    justify-content: center;
  }
}

/* Payment options responsive */
.payment-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.payment-option-label:hover {
  background-color: var(--kt-accent, rgba(0, 0, 0, 0.03));
}

/* Form buttons responsive */
.form-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  padding-top: 1.25rem;
}

@media (max-width: 380px) {
  .form-buttons {
    grid-template-columns: 1fr;
  }
}

/* Success screen responsive */
.success-screen {
  padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .success-screen {
    padding: 2.5rem;
  }
}

.success-screen img {
  max-height: 100px;
}

@media (min-width: 640px) {
  .success-screen img {
    max-height: 140px;
  }
}

/* RTL specific adjustments */
[dir="rtl"] .ki-arrow-left::before {
  content: "\e900";
  /* arrow-right in RTL */
}

[dir="rtl"] #back-button .ki-arrow-left::before {
  transform: scaleX(-1);
}

/* Balance display large text responsive */
.balance-large-text {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .balance-large-text {
    font-size: 1.875rem;
  }
}

/* Card padding responsive */
.wallet-card-content {
  padding: 1rem;
}

@media (min-width: 640px) {
  .wallet-card-content {
    padding: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .wallet-card-content {
    padding: 1.875rem;
  }
}

/* Wallet overview — company balance + allocation split */
.wallet-overview-card {
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .wallet-overview-card {
    padding: 1.875rem;
  }
}

.wallet-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .wallet-overview-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.wallet-overview-label {
  display: block;
  font-size: 0.875rem;
  color: black;
  margin-bottom: 0.5rem;
}

.wallet-overview-balance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.wallet-overview-amount {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  direction: ltr;
}
[dir="rtl"] .wallet-overview-amount {
  margin: 0 0 0 auto;
}

.wallet-overview-amount-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--kt-foreground, #111827);
}

@media (min-width: 640px) {
  .wallet-overview-amount-value {
    font-size: 2.25rem;
  }
}

.wallet-overview-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--kt-secondary-foreground, #6b7280);
}

.wallet-overview-divider {
  display: none;
  width: 1px;
  background: var(--kt-border-color, #e5e7eb);
  align-self: stretch;
}

@media (min-width: 1024px) {
  .wallet-overview-divider {
    display: block;
  }
}

.wallet-expiry-warning {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
  border: 1px solid #eeebea;
  background: #fdfbf9;
  color: var(--kt-foreground, #111827);
}

.wallet-expiry-warning__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: transparent;
  color: #d96419;
  flex-shrink: 0;
}

.wallet-expiry-warning__text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--kt-foreground, #111827);
  line-height: 1.5;
}

.wallet-expiry-warning__amount-value {
  color: #d96419;
}

.wallet-expiry-warning__amount-icon .svg-container svg path {
  fill: #000 !important;
}

.wallet-overview-allocation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.wallet-allocation-bar {
  display: flex;
  width: 100%;
  height: 0.75rem;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--kt-muted, #f3f4f6);
  gap: 0;
}

.wallet-allocation-bar__segment {
  height: 100%;
  min-width: 0;
}

.wallet-allocation-bar__segment--available {
  background: #16a34a;
  border-start-start-radius: 9999px;
  border-end-start-radius: 9999px;
}

.wallet-allocation-bar__segment--allocated {
  background: #8b5cf6;
  border-start-end-radius: 9999px;
  border-end-end-radius: 9999px;
}

.wallet-allocation-legend {
  display: flex;
  gap: 0.875rem;
  color: black;
  margin-top: 0.5rem;
  justify-content: space-around;
}
@media (max-width: 640px) {
  .wallet-allocation-legend {
    flex-direction: column;
  }
}
.wallet-allocation-legend__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.wallet-allocation-legend__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.wallet-allocation-legend__dot--available {
  background: #16a34a;
}

.wallet-allocation-legend__dot--allocated {
  background: #8b5cf6;
}

.wallet-allocation-legend__copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.wallet-allocation-legend__name {
  font-size: 0.875rem;
  color: var(--kt-secondary-foreground, #6b7280);
}

.wallet-allocation-legend__value {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.wallet-allocation-legend__value--available {
  color: #16a34a;
}

.wallet-allocation-legend__value--allocated {
  color: #8b5cf6;
}

.wallet-allocation-legend__pct {
  font-weight: 600;
}

.wallet-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .wallet-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.wallet-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--kt-border-color, #e5e7eb);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.wallet-stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.wallet-stat-card--available .wallet-stat-card__icon {
  background: #dcfce7;
  color: #16a34a;
}

.wallet-stat-card--allocated .wallet-stat-card__icon {
  background: #ede9fe;
  color: #8b5cf6;
}

.wallet-stat-card--spent .wallet-stat-card__icon {
  background: #fef3c7;
  color: #d97706;
}

.wallet-stat-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.wallet-stat-card__label {
  font-size: 0.875rem;
  color: var(--kt-secondary-foreground, #6b7280);
}

.wallet-stat-card__value {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1.25rem;
  font-weight: 700;
  direction: ltr;
}

[dir="rtl"] .wallet-stat-card__value {
  margin:  0 0 0 auto;

}
.wallet-stat-card--available .wallet-stat-card__value {
  color: #16a34a;
}

.wallet-stat-card--allocated .wallet-stat-card__value {
  color: #8b5cf6;
}

.wallet-stat-card--spent .wallet-stat-card__value {
  color: #d97706;
}

.wallet-stat-card__hint {
  font-size: 0.8125rem;
  color: var(--kt-secondary-foreground, #6b7280);
}

/* Wire transfer amount card */
.wire-transfer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--kt-border-color);
  border-radius: 0.5rem;
}

@media (max-width: 380px) {
  .wire-transfer-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 639px) {

  #drawers_shop_product_details,
  #drawers_employee_edit {
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
  }
}

/* Ensure error messages are visible and red */
#employee-form .help-block-error,
#employee-form .text-danger {
  color: #dc3545 !important;
  display: block !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

#employee-form .field-employee-birthday-error .help-block-error {
  color: #dc3545;
  display: block !important;
}

.help-block-error,
.help-block {
  font-size: 90%;
  color: #dc3545;
  display: block;
}



.help-block-error:not(:empty),
.help-block:not(:empty) {
  display: block !important;
}

.skeleton-card {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

/* Prevent layout shift - ensure skeleton matches content dimensions */
#whats-new-skeleton,
#whats-new-content {
  min-height: 460px;
  max-height: 460px;
  height: 460px;
}

#whats-new-skeleton .kt-card-header,
#whats-new-content .kt-card-header {
  min-height: 60px;
  max-height: 60px;
  height: 60px;
}

#whats-new-skeleton .kt-card-content,
#whats-new-content .kt-card-content {
  min-height: 350px;
  max-height: 350px;
  height: 350px;
  overflow-y: auto;
}

/* What's New empty state */
.whats-new-empty-state {
  /* border: 1.5px dashed rgb(199, 210, 254); */
  border: 1.5px dashed;
  /* background: linear-gradient(160deg, rgba(238, 242, 255, 0.6) 0%, rgba(245, 243, 255, 0.4) 100%); */
}

.whats-new-empty-state-glow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  opacity: 0.25;
  transform: scale(1.5);
  /* background: radial-gradient(circle, rgb(165, 180, 252) 0%, transparent 70%); */
}

.whats-new-empty-state-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  /* background: linear-gradient(145deg, rgb(224, 231, 255) 0%, rgb(237, 233, 254) 100%); */
  /* border: 1.5px solid rgb(199, 210, 254); */
  border: 1.5px solid;
  /* box-shadow: rgba(99, 102, 241, 0.12) 0 4px 16px; */
  box-shadow: 0 4px 16px;
}

.whats-new-empty-state-icon {
  font-size: 1.75rem;
  /* color: #6366f1; */
}

.whats-new-empty-state-sparkle {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  font-size: 0.8125rem;
  /* color: #a78bfa; */
}

.whats-new-empty-state-divider {
  width: 2.5rem;
  height: 1px;
  border-radius: 9999px;
  /* background: linear-gradient(90deg, transparent, rgb(199, 210, 254), transparent); */
}

/* Rich text content links in news modal and whats-new widget */
.news-modal-content a {
  color: #3b82f6;
  text-decoration: underline;
}
.news-modal-content a:hover {
  color: #2563eb;
}

.whats-new-empty-state-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  /* background: rgba(99, 102, 241, 0.08); */
  /* color: #6366f1; */
  /* border: 1px solid rgba(99, 102, 241, 0.15); */
}



.skeleton-card {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


/* Force currency display to always show SVG on the left */
.currency-display {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}




#spend_trend_chart {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

@media (max-width: 767px) {
  #spend_trend_chart {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

.skeleton-card {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

/* Prevent layout shift - ensure skeleton matches content dimensions */
#company-balance-skeleton,
#company-balance-content {
  min-height: 460px;
  height: fit-content;
}

#company-balance-skeleton .kt-card-header,
#company-balance-content .kt-card-header {
  min-height: 60px;
  height: auto;
}

#company-balance-skeleton .kt-card-content,
#company-balance-content .kt-card-content {
  min-height: 350px;
  height: auto;
  overflow: visible;
}


[dir="ltr"] .currency-display {
  justify-content: flex-start !important;
}

.currency-display {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 100px;
  ;
}


.help-block-error,
.help-block {
  font-size: 90%;
  color: #dc3545;
  display: block;
}

.text-danger {
  color: #dc3545;
}

.help-block-error:not(:empty),
.help-block:not(:empty) {
  display: block !important;
}

.select2-container--krajee-bs3 .select2-selection--single {
  padding: 12px 24px 6px 12px;
}

.select2-container--krajee-bs3 .select2-selection--single,
.select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow {
  height: 45px;
}

#topUpDrawer .kt-radio {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 50% !important;
  border: 2px solid var(--kt-border-color, #E4E6EF) !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin: 0 !important;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  outline: none !important;
  background-color: #fff !important;
}

#topUpDrawer .kt-radio:checked {
  border-color: var(--kt-primary, #009ef7) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.5' fill='%23009ef7'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

#topUpDrawer .kt-radio:hover {
  border-color: var(--kt-primary, #009ef7) !important;
}

.help-block-error {
  font-size: 14px;


  color: red;
}


.custom-input-wrapper label {
  font-weight: 500;
  margin-bottom: 11px;
  font-size: 16px;
}

.failed-rows {
  background-color: #fff3f4;
  border-radius: 8px;
  max-height: 180px;
  overflow: hidden;
  flex-direction: column;
}

.failed-rows .custom-title {
  color: rgba(245, 0, 25, 1);
  font-size: 16px;
  font-weight: bold;
  padding: 14px 20px;
}

.failed-rows .custom-hr {
  border: 1px solid rgba(245, 0, 25, 1);
  margin: 0 20px;
}

.failed-rows ul {
  margin: 0;
}

.failed-rows .custom-content {
  overflow-y: auto;
}

.failed-rows li {
  background-color: #fff3f4;
  padding: 5px 20px;
  direction: ltr;
}

.failed-rows td,
.failed-rows th {
  padding: 5px !important;
}

.failed-rows li:first-of-type {
  position: sticky;
  top: 0;
}

.failed-rows li:nth-child(even),
.failed-rows tr:nth-child(even) {
  background-color: #ffe6e8;
}

/* Table Sort Indicator - Color changes only */
/* When sorting ascending - change color of before */
a.asc .kt-table-col-sort::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5' fill='none'%3E%3Cpath d='M1.08333 4.83333C0.908333 4.83333 0.791667 4.775 0.675 4.65833C0.441667 4.425 0.441667 4.075 0.675 3.84167L3.59167 0.925C3.825 0.691667 4.175 0.691667 4.40833 0.925L7.325 3.84167C7.55833 4.075 7.55833 4.425 7.325 4.65833C7.09167 4.89167 6.74167 4.89167 6.50833 4.65833L4 2.15L1.49167 4.65833C1.375 4.775 1.25833 4.83333 1.08333 4.83333Z' fill='%23000000'/%3E%3C/svg%3E");
}

/* When sorting descending - change color of after */
a.desc .kt-table-col-sort::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5' fill='none'%3E%3Cpath d='M4 4.24984C3.825 4.24984 3.70833 4.1915 3.59167 4.07484L0.675 1.15817C0.441667 0.924838 0.441667 0.574837 0.675 0.341504C0.908333 0.108171 1.25833 0.108171 1.49167 0.341504L4 2.84984L6.50833 0.341504C6.74167 0.108171 7.09167 0.108171 7.325 0.341504C7.55833 0.574837 7.55833 0.924838 7.325 1.15817L4.40833 4.07484C4.29167 4.1915 4.175 4.24984 4 4.24984Z' fill='%23000000'/%3E%3C/svg%3E");

}

/* while dark them on make it white  */

html.dark a.asc .kt-table-col-sort::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5' fill='none'%3E%3Cpath d='M1.08333 4.83333C0.908333 4.83333 0.791667 4.775 0.675 4.65833C0.441667 4.425 0.441667 4.075 0.675 3.84167L3.59167 0.925C3.825 0.691667 4.175 0.691667 4.40833 0.925L7.325 3.84167C7.55833 4.075 7.55833 4.425 7.325 4.65833C7.09167 4.89167 6.74167 4.89167 6.50833 4.65833L4 2.15L1.49167 4.65833C1.375 4.775 1.25833 4.83333 1.08333 4.83333Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* When sorting descending - change color of after */
html.dark a.desc .kt-table-col-sort::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5' fill='none'%3E%3Cpath d='M4 4.24984C3.825 4.24984 3.70833 4.1915 3.59167 4.07484L0.675 1.15817C0.441667 0.924838 0.441667 0.574837 0.675 0.341504C0.908333 0.108171 1.25833 0.108171 1.49167 0.341504L4 2.84984L6.50833 0.341504C6.74167 0.108171 7.09167 0.108171 7.325 0.341504C7.55833 0.574837 7.55833 0.924838 7.325 1.15817L4.40833 4.07484C4.29167 4.1915 4.175 4.24984 4 4.24984Z' fill='%23ffffff'/%3E%3C/svg%3E");

}

.text-sm2 {
  font-size: 0.635rem;
}

.rounded-e-full {
  border-top-right-radius: 9999px !important;
  border-bottom-right-radius: 9999px !important;
}

.rounded-s-full {
  border-top-left-radius: 9999px !important;
  border-bottom-left-radius: 9999px !important;
}

.text-start {
  text-align: start !important;
}

.text-end {
  text-align: end !important;
}

.text-center {
  text-align: center !important;
}

/* Shimmer animation keyframes - smooth gradient sweep */
@keyframes kt-skeleton-shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Skeleton shimmer effect using pseudo-element overlay */
#contact-us-skeleton span.bg-muted,
.skeleton-card span.bg-muted,
.skeleton th span,
.skeleton td span {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

#contact-us-skeleton span.bg-muted::before,
.skeleton-card span.bg-muted::before,
.skeleton th span::before,
.skeleton td span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  animation: kt-skeleton-shimmer 1.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.text-green-500 {
  color: #16a34a;
}

.text-8xl {
  font-size: 4rem;
}

.start-\[-8px\] {
  inset-inline-start: -8px;
}

[dir="ltr"] .start-\[-8px\] {
  inset-inline-start: 1px;
}

[dir="ltr"] .ltr-justify-start {
  justify-content: flex-start;
}

.ms-10 {
  margin-inline-start: 2.5rem;
}

.mt-14 {
  margin-top: 3.5rem;
}


.kt-select[data-multiple='true'] {
  max-height: 120px !important;
  overflow-y: auto !important;
}

.ms-4 {
  margin-inline-start: 1rem;
}

.text-gray-600 {
  color: #6b7280;
}

.text-gray-900 {
  color: #1f2937;
}

.text-orange-700 {
  color: #ea580c;
}

.text-green-700 {
  color: #16a34a;
}

.text-red-700 {
  color: #dc3545;
}

.bg-green-600 {
  background-color: #16a34a;
}




.backdrop-blur-sm {
  backdrop-filter: blur(1px);
}

.h-16 {
  height: 4rem;
}

.min-w-28 {
  min-width: 7rem;
}

.w-30 {
  width: 7.5rem;
}

[dir="ltr"] .ltr-flex-row {
  flex-direction: row !important;
}


.pt-5 {
  padding-top: 1.25rem;
}

/* Order Status card (B2B order view) – step dots only; status/alert use kt-badge and kt-alert */
#order-status-declined-alert.hidden,
#order-status-declined-alert[style*="display: none"] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#order-status-tracking[data-rtl="1"] {
  direction: rtl;
}

#order-status-tracking .step-dot,
#order-status-card .step-dot {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#order-status-tracking .step-dot.step-pending,
#order-status-card .step-dot.step-pending {
  background: var(--color-muted, #f1f5f9) !important;
  color: #94a3b8;
}

#order-status-tracking .step-dot i {
  font-size: 0.875rem;
}

.border-b-none {
  border-bottom: none !important;
}

.py-8 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.text-md {
  font-size: 1rem !important;
}

.modal-image-shimmer {
  background: linear-gradient(90deg, var(--color-muted, #e5e7eb) 25%, var(--color-border, #f3f4f6) 50%, var(--color-muted, #e5e7eb) 75%);
  background-size: 200% 100%;
  animation: modal-image-shimmer 1.5s ease-in-out infinite;
  min-height: 200px;
  border-radius: 0.5rem;
}

@keyframes modal-image-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}




@media (min-width: 1024px) {
  .lg\:flex {
    display: flex !important;
  }

  .lg\:flex-wrap {
    flex-wrap: wrap !important;
  }

  .lg\:gap-4 {
    gap: 1rem !important;
  }

  .lg\:justify-start {
    justify-content: flex-start !important;
  }

  .lg\:overflow-x-auto {
    overflow-x: auto !important;
  }
}

.overflow-x-hidden {
  overflow-x: hidden;
}


.bg-gradient-to-br {
  --tw-gradient-position: to bottom right in oklab;
  background-image: linear-gradient(var(--tw-gradient-stops))
}

.bg-gradient-to-r {
  --tw-gradient-position: to right in oklab;
  background-image: linear-gradient(var(--tw-gradient-stops))
}

.from-\[\#3D2149\] {
  --tw-gradient-from: #3d2149;
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.from-\[\#3D2149\]\/10 {
  --tw-gradient-from: oklab(30.3725% .0544572 -.054571/.1);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.from-\[\#34087a\]\/10 {
  --tw-gradient-from: oklab(42.8557% -.017693 -.223221/.1);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.from-\[\#F37021\]\/10 {
  --tw-gradient-from: oklab(69.24% .125418 .130844/.1);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.from-gray-50 {
  --tw-gradient-from: var(--color-gray-50);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.from-green-600\/10 {
  --tw-gradient-from: #00a5441a
}

@supports (color: color-mix(in lab, red, red)) {
  .from-green-600\/10 {
    --tw-gradient-from: color-mix(in oklab, var(--color-green-600)10%, transparent)
  }
}

.from-green-600\/10 {
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.from-orange-500 {
  --tw-gradient-from: var(--color-orange-500);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.via-purple-800 {
  --tw-gradient-via: var(--color-purple-800);
  --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-via)var(--tw-gradient-via-position), var(--tw-gradient-to)var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-via-stops)
}

.to-\[\#3D2149\] {
  --tw-gradient-to: #3d2149;
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.to-\[\#3D2149\]\/5 {
  --tw-gradient-to: oklab(30.3725% .0544572 -.054571/.05);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.to-\[\#34087a\]\/5 {
  --tw-gradient-to: oklab(42.8557% -.017693 -.223221/.05);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.to-\[\#34087a\]\/10 {
  --tw-gradient-to: oklab(42.8557% -.017693 -.223221/.1);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.to-\[\#F37021\]\/5 {
  --tw-gradient-to: oklab(69.24% .125418 .130844/.05);
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from)var(--tw-gradient-from-position), var(--tw-gradient-to)var(--tw-gradient-to-position))
}

.h-14 {
  height: 3.5rem;
}

.w-14 {
  width: 3.5rem;
}


@media (max-width: 640px) {
  .max-w-\[350px\] {
    max-width: 350px;
  }
}

.me-auto {
  margin-inline-end: auto;
}

.color-blue {
  color: #34087a;
}

.bg-blue {
  background-color: #34087a;
}

.text-white {
  color: #fff;
}

/* This is the important fix */
.hover\:bg-blue:hover {
  background-color: #34087a;
}

.hover\:text-white:hover {
  color: #fff;
}

:hover.text-white {
  color: #fff;
}

/* Sidebar menu: blue bg + white text when active or hovered */
.kt-menu-link.bg-blue,
.kt-menu .kt-menu-link.group:hover {
  background-color: #34087a !important;
}

.kt-menu-link.bg-blue .kt-menu-icon,
.kt-menu-link.bg-blue .kt-menu-title,
.kt-menu-link.bg-blue .kt-menu-arrow,
.kt-menu-link.bg-blue .kt-menu-arrow i,
.kt-menu .kt-menu-link.group:hover .kt-menu-icon,
.kt-menu .kt-menu-link.group:hover .kt-menu-title,
.kt-menu .kt-menu-link.group:hover .kt-menu-arrow,
.kt-menu .kt-menu-link.group:hover .kt-menu-arrow i {
  color: #fff !important;
}

.kt-menu-link.bg-blue .kt-menu-bullet::before,
.kt-menu .kt-menu-link.group:hover .kt-menu-bullet::before {
  background-color: #fff !important;
}

/* Reservation details page (b2b/views/reservations/view.php) — fluid layout */
.reservation-view-page {
  box-sizing: border-box;
}

.reservation-view-header-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Legacy email-style footer blocks (kept if reused elsewhere) */
.reservation-view-footer-table {
  height: 100px;
  width: 100%;
}

.reservation-view-footer-row {
  height: 100px;
  text-align: right;
  vertical-align: bottom;
}

.reservation-view-footer-cell {
  position: relative;
  padding: 0;
  margin: 0;
  height: 100px;
  background-color: #e0e0e0;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  vertical-align: bottom;
}

.reservation-view-footer-link {
  text-decoration: none;
  padding: 0 5px;
}

.bg-purple-50 {
  background-color: #f5f3ff;
}

.bg-gray-50 {
  background-color: #f3f4f6;
}

.bg-green-50 {
  background-color: #f0fdf4;
}

.bg-blue-50 {
  background-color: #ebf8ff;
}

.bg-orange-50 {
  background-color: #fff7ed;
}

.bg-pink-50 {
  background-color: #fdf2f8;
}

.text-gray-600 {
  color: #6b7280;
}

.text-blue-600 {
  color: #2563eb;
}

.text-green-600 {
  color: #16a34a;
}

.text-orange-600 {
  color: #ea580c;
}

.text-pink-600 {
  color: #db2777;
}

.text-purple-600 {
  color: #8b5cf6;
}

.text-red-600 {
  color: #dc3545;
}

.text-yellow-600 {
  color: #eab308;
}

.text-indigo-600 {
  color: #4f46e5;
}

.h-\[74px\] {
  min-height: 74px;
}

.gradient-orange-red {
  background: linear-gradient(to bottom right,
      #f97316,
      /* orange-500 */
      #e7631c,
      /* orange-600 */
      #db2f2f
      /* red-600 */
    );
  color: #ffffff;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.bg-orange-600 {
  background-color: #f54a00;
}



@media (width >=64rem) {
  .lg\:w-\[850px\] {
    width: 850px;
  }
}

/* Place order – restaurant list tabs (hidden on mobile, show from sm) */
.place-order-tabs {
  display: none;
  align-items: center;
  gap: 0;
  padding: 3px;
  border-radius: 0.75rem;
  background-color: #f3f4f6;
  margin: 0 12px;
}

@media (min-width: 640px) {
  .place-order-tabs {
    display: flex;
  }
}

.place-order-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 2px);
  padding: 0.375rem 0.75rem;
  border-radius: 0.625rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.place-order-tab:hover {
  color: #374151;
}

.place-order-tab.active {
  background-color: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .place-order-tab.active,
.dark .place-order-tab.active {
  background-color: var(--kt-input-bg, #1e1e2d);
  color: var(--kt-input-color, #92929f);
}

/* Place order – filters drawer content (inside kt-drawer) */
.place-order-filters-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.place-order-filter-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  color: #111827;
}

.place-order-filters-tabs-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.place-order-filters-tab {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: start;
  cursor: pointer;
}

button.place-order-filters-tab {
  font-family: inherit;
}

.place-order-filters-tab:hover {
  background: #f3f4f6;
  color: #374151;
}

.place-order-filters-tab.active {
  background: #f3f4f6;
  color: #374151;
}

/* Place order filter drawer – sort as radio rows (label left, radio right) */
.place-order-sort-radios {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.place-order-sort-radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s;
}

.place-order-sort-radio-row:hover {
  background: #f3f4f6;
}

.place-order-sort-radio-label {
  flex: 1;
}

.place-order-sort-radio-input {
  margin: 0;
  margin-inline-start: 0.75rem;
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}

.place-order-sort-radio-input:hover {
  border-color: #9ca3af;
}

.place-order-sort-radio-input:checked {
  border-color: #ea580c;
  background: #ea580c;
  box-shadow: inset 0 0 0 2px #fff;
}

.place-order-sort-radio-input:focus {
  outline: 2px solid rgba(234, 88, 12, 0.35);
  outline-offset: 2px;
}

.place-order-sort-radio-input:focus:not(:focus-visible) {
  outline: none;
}

/* Place order – rating range (stars) and distance range (dots) in filter drawer */
.place-order-range-stars-wrap {
  position: relative;
  display: inline-block;
  min-height: 2.75rem;
}

.place-order-distance-track-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-height: 2rem;
}

.place-order-rating-any-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.place-order-rating-any-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
}

.place-order-rating-any-btn.active {
  background: #fef9c3;
  border-color: #eab308;
  color: #a16207;
}

.place-order-range-stars {
  display: flex;
  align-items: center;
  gap: 2rem;
  pointer-events: none;
}

.place-order-range-stars .place-order-star-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.place-order-range-stars .place-order-star {
  color: #eab308;
  font-size: 2.75rem;
}

.place-order-range-stars .place-order-star.ki-outline {
  color: #eab308;
  opacity: 0.5;
}

.place-order-range-stars .place-order-star-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  line-height: 1;
}

/* Bigger stars in the filter drawer */
#placeOrderFiltersDrawer .place-order-range-stars .place-order-star {
  font-size: 2.25rem;
}

#placeOrderFiltersDrawer .place-order-range-stars .place-order-star-num {
  font-size: 0.875rem;
}

#placeOrderFiltersDrawer .place-order-range-stars {
  gap: 1rem;
}

#placeOrderFiltersDrawer .place-order-range-stars .place-order-star-cell {
  gap: 1rem;
}

/* Rating: stars on top so star-cell clicks set value; overlay behind for slider fallback */
.place-order-range-stars-wrap .place-order-range-stars,
.place-order-range-stars-wrap .place-order-star-cell {
  position: relative;
  z-index: 1;
}

.place-order-range-stars-wrap .place-order-range-input-overlay {
  z-index: 0;
}

.place-order-range-stars-wrap .place-order-star-cell {
  cursor: pointer;
  pointer-events: auto;
}

.place-order-range-input-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* Distance: horizontal track with dot stops */
.place-order-distance-track-wrap .place-order-distance-track {
  z-index: 2;
}

.place-order-distance-track-wrap .place-order-range-input-overlay {
  z-index: 1;
}

.place-order-distance-track {
  position: relative;
  display: block;
  width: 100%;
  min-height: 2.25rem;
  padding-bottom: 0.5rem;
  pointer-events: none;
}

.place-order-distance-track-bg,
.place-order-distance-track-fill {
  position: absolute;
  left: 0;
  top: 0.375rem;
  transform: translateY(-50%);
  height: 3px;
  border-radius: 2px;
  transition: width 0.15s;
}

[dir="rtl"] .place-order-distance-track-fill {
  left: auto;
  right: 0;
}

.place-order-distance-track-bg {
  width: 100%;
  background: #e5e7eb;
}

.place-order-distance-track-fill {
  background: #eab308;
  z-index: 1;
}

/* Stop + label cell: positioned at each tick */
.place-order-distance-stop-cell {
  position: absolute;
  top: 1px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  pointer-events: none;
}

/* First dot at track start: no line before it */
.place-order-distance-stop-cell[data-stop-index="0"] {
  left: 0;
  transform: translateX(0);
}

.place-order-distance-stop-cell .place-order-distance-stop {
  pointer-events: auto;
}

.place-order-distance-stop-cell.place-order-distance-stop-last {
  left: auto;
  right: 0;
  transform: translateX(50%);
}

[dir="rtl"] .place-order-distance-stop-cell {
  left: auto;
  transform: translateX(50%);
}

[dir="rtl"] .place-order-distance-stop-cell[data-stop-index="0"] {
  right: 0;
  left: auto;
  transform: translateX(50%);
}

[dir="rtl"] .place-order-distance-stop-cell[data-stop-index="1"] {
  right: 25%;
  left: auto;
}

[dir="rtl"] .place-order-distance-stop-cell[data-stop-index="2"] {
  right: 50%;
  left: auto;
}

[dir="rtl"] .place-order-distance-stop-cell[data-stop-index="3"] {
  right: 75%;
  left: auto;
}

[dir="rtl"] .place-order-distance-stop-cell[data-stop-index="4"],
[dir="rtl"] .place-order-distance-stop-cell.place-order-distance-stop-last {
  right: auto;
  left: 0;
  transform: translateX(-50%);
}

.place-order-distance-stop-label {
  font-size: 0.75rem;
  color: #6b7280;
  white-space: nowrap;
  line-height: 1;
}

.place-order-distance-stop {
  position: relative;
  top: auto;
  left: auto;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid #eab308;
  background: #fff;
  z-index: 2;
  transition: background 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}

.place-order-distance-stop.filled {
  background: #eab308;
}

/* Place-order filter drawer: Categories section */
#placeOrderFiltersDrawer .gap-2\.5 {
  gap: 0.625rem;
}

#placeOrderFiltersDrawer .place-order-cuisine-badge {
  cursor: pointer;
}

#placeOrderFiltersDrawer .place-order-cuisine-badge.active {
  background-color: var(--color-primary, #ea580c);
  color: #fff;
  border-color: var(--color-primary, #ea580c);
}


.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}

@media (width >=64rem) {
  .sm\:w-\[600px\] {
    width: 600px;
  }
}

#cuisine_slider_inner {
  display: flex;
  gap: 12px;
  width: max-content;
}

.cuisine-card {
  width: 142px;
  flex: 0 0 auto;
}

.slider-container {
  position: relative;
  width: 100%;
  margin: 20px auto;
}



[dir="rtl"] .arrow-btn {
  top: 12%;
}

.arrow-btn {
  position: absolute;
  top: 37%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: all 0.2s ease;
  
}


.slider-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-wrapper::-webkit-scrollbar {
  display: none;
}

#cuisine_slider_inner .cuisine-card {
  scroll-snap-align: start;
}

.cuisine-card.selected .cuisine-name {
  font-weight: 600;
  color: #ea580c;
}

.chef-card-image {
  transition: transform 0.3s ease;
}

.kt-card:hover .chef-card-image {
  transform: scale(1.05);
}

[dir="rtl"] .arrow-btn-prev {
  right: -10px;
}

[dir="rtl"] .arrow-btn-next {
  left: -10px;
}

[dir="ltr"] .arrow-btn-prev {
  left: -10px;
}

[dir="ltr"] .arrow-btn-next {
  right: -25px;
}

/* ── Reservation-style search form (shared by place-order, catering, grocery, gift) ── */
.reservation-search-field input:focus,
.reservation-search-field select:focus {
  outline: none !important;
  box-shadow: none !important;
}

.reservation-search-field {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #ffffff;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}

.reservation-search-field:focus-within {
  border-color: #34087a;
  box-shadow: 0 0 0 2px #34087a;
}

/* ── B2B index tables: card toolbar (search + “Showing …”) — reservations use __form / __fields / capped cells ── */
.b2b-table-toolbar {
  --b2b-table-toolbar-field-max: 200px;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.b2b-table-toolbar__main {
  width: 100%;
  min-width: 0;
}

/* Any Yii search form directly under the toolbar main area */
.b2b-table-toolbar__main > form {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.b2b-table-toolbar__title {
  margin: 0;
  width: 100%;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.b2b-table-toolbar__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.b2b-table-toolbar__fields {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.625rem;
  width: 100%;
  min-width: 0;
}

.b2b-table-toolbar__cell {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.b2b-table-toolbar__cell .kt-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Cap filter columns (reservations use --id/--status/--date; other tables use --field) */
.b2b-table-toolbar__cell--id,
.b2b-table-toolbar__cell--status,
.b2b-table-toolbar__cell--date,
.b2b-table-toolbar__cell--field,
.b2b-table-toolbar__cell--tag {
  max-width: var(--b2b-table-toolbar-cell-max, var(--b2b-table-toolbar-field-max));
}

.b2b-table-toolbar__field-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0;
  box-sizing: border-box;
}

.b2b-table-toolbar__field-shell .help-block {
  margin-bottom: 0;
}

.b2b-table-toolbar__input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.b2b-table-toolbar__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.b2b-table-toolbar__btn {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 0;
  min-height: 2.5rem;
  box-sizing: border-box;
  justify-content: center;
}

/* KTSelect: after PJAX toolbar reset the facade text is synced; use muted placeholder tone */
.b2b-table-toolbar .kt-select-display.b2b-kt-select-display--placeholder {
  color: var(--muted-foreground);
  font-weight: 400;
}

/* Company Audit Log toolbar: widen the open KTSelect dropdown panel instead of the closed facade,
   since the closed cell stays at the standard cap but option labels (event types, departments, teams) get clipped.
   Scoped to #history-container only — extend to other routes' toolbars if they hit the same clipping. */
#history-container .kt-select-options {
  width: max-content;
  min-width: 100%;
  max-width: min(360px, calc(100vw - 2rem));
}

@media (max-width: 1199.98px) {
  .b2b-table-toolbar__form .kt-select,
  .b2b-table-toolbar__form select {
    width: 100% !important;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .b2b-table-toolbar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
  }

  /* Let the form use the full width of the card; scroll only if mins still overflow */
  .b2b-table-toolbar__main {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  .b2b-table-toolbar__title {
    flex: 0 1 auto;
    width: auto;
    max-width: min(22rem, 34%);
    text-align: end;
    overflow-wrap: anywhere;
  }

  .b2b-table-toolbar__form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /*
   * Each filter column: max 250px, can shrink (flex-shrink:1), never flex-grow past cap.
   * Status must not use flex:1 1 0 without a floor — it collapsed to 0px and let ID/date overlap.
   * overflow-x: clip contains KT widgets that paint wider than their flex slot.
   */
  /*
   * Do not flex-grow __fields: that stretched the field row across __main and pushed
   * Search/Reset flush against the "Showing …" title. Keep actions beside the filters.
   */
  .b2b-table-toolbar__fields {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    justify-content: flex-start;
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    gap: 0.75rem;
    overscroll-behavior-x: contain;
  }

  .b2b-table-toolbar__cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
  }

  .b2b-table-toolbar__cell--id,
  .b2b-table-toolbar__cell--status,
  .b2b-table-toolbar__cell--date,
  .b2b-table-toolbar__cell--field,
  .b2b-table-toolbar__cell--tag {
    flex: 0 1 var(--b2b-table-toolbar-cell-max, var(--b2b-table-toolbar-field-max));
    width: min(100%, var(--b2b-table-toolbar-cell-max, var(--b2b-table-toolbar-field-max)));
    max-width: var(--b2b-table-toolbar-cell-max, var(--b2b-table-toolbar-field-max));
    min-width: 0;
  }

  /* Contain KT bleed; date cells stay overflow visible for pickers */
  .b2b-table-toolbar__cell--id,
  .b2b-table-toolbar__cell--status,
  .b2b-table-toolbar__cell--tag,
  .b2b-table-toolbar__cell--field:not(.b2b-table-toolbar__cell--date) {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .b2b-table-toolbar__cell--date {
    overflow: visible;
  }

  .b2b-table-toolbar__actions {
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-wrap: nowrap;
    align-items: center;
    align-self: center;
    width: auto;
    gap: 0.5rem;
  }

  .b2b-table-toolbar__btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 4.25rem;
    padding-left: 8px;
    padding-right: 8px;
  }

  .b2b-table-toolbar__form .field {
    margin-bottom: 0;
  }

  .b2b-table-toolbar__form .kt-select,
  .b2b-table-toolbar__form select {
    width: 100%;
    max-width: 100%;
  }

  .b2b-table-toolbar__fields .kt-select,
  .b2b-table-toolbar__fields [data-kt-select="true"] {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .b2b-table-toolbar__cell--status .kt-select,
  .b2b-table-toolbar__cell--status select,
  .b2b-table-toolbar__cell--status [data-kt-select="true"],
  .b2b-table-toolbar__cell--field .kt-select,
  .b2b-table-toolbar__cell--field select,
  .b2b-table-toolbar__cell--field [data-kt-select="true"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Compact toolbar typography between laptop and mid-size desktop */
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .b2b-table-toolbar .kt-card-title,
  .b2b-table-toolbar .kt-card-title.text-sm,
  .b2b-table-toolbar .kt-btn,
  .b2b-table-toolbar .b2b-table-toolbar__btn,
  .b2b-table-toolbar input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .b2b-table-toolbar select,
  .b2b-table-toolbar textarea,
  .b2b-table-toolbar .kt-input,
  .b2b-table-toolbar .kt-select,
  .b2b-table-toolbar [data-kt-select="true"],
  .b2b-table-toolbar label,
  .b2b-table-toolbar .control-label,
  .b2b-table-toolbar .kt-form-label,
  .b2b-table-toolbar .field label {
    font-size: 0.7rem !important;
    line-height: 1.25;
  }

  .b2b-table-toolbar input::placeholder,
  .b2b-table-toolbar textarea::placeholder {
    font-size: 0.7rem;
  }

  .b2b-table-toolbar .kt-select-display {
    font-size: 0.7rem !important;
  }

  .b2b-table-toolbar .b2b-table-toolbar__btn {
    min-height: 2.125rem;
    padding-left: 8px;
    padding-right: 8px;
  }

  .b2b-table-toolbar .ki-filled {
    font-size: 0.85em;
  }
}

/* Company settings uploads: compact row 1200–1500px */
@media (min-width: 1100px) and (max-width: 1499.98px) {
  #company-form .company-settings-uploads .upload-kit {
    max-width: 9.25rem;
    width: 100%;
  }

  #company-form .company-settings-uploads .upload-kit .upload-kit-input,
  #company-form .company-settings-uploads .upload-kit .upload-kit-item {
    min-width: 0;
    width: 100%;
    max-width: 9.25rem;
    border-radius: 0.5rem;
    background-size: 7rem;
  }



  #company-form .company-settings-uploads .upload-kit .upload-kit-item.image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
  }

 
}

.reserve-custom-select {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.reserve-custom-select__label {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  color: #1F2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reserve-custom-select__label--placeholder {
  color: #9CA3AF;
}

.reserve-custom-select__caret {
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 200ms ease;
}

.reserve-custom-select--open .reserve-custom-select__caret {
  transform: rotate(180deg);
}

.reserve-custom-select__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: -14px;
  right: -14px;
  z-index: 9999;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12), 0 4px 12px rgba(17, 24, 39, 0.06);
  padding: 6px 0;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.reserve-custom-select__menu::-webkit-scrollbar {
  width: 4px;
}

.reserve-custom-select__menu::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 4px;
}

.reserve-custom-select--open .reserve-custom-select__menu {
  display: block;
}

.reserve-custom-select__search {
  padding: 6px 8px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.reserve-custom-select__search-input {
  width: 100%;
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
  font-size: 0.8125rem;
  color: #374151;
  background: #F9FAFB !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 150ms ease;
  height: auto !important;
  margin: 0 !important;
}

.reserve-custom-select__search-input:focus {
  border-color: #34087a !important;
  background: #fff !important;
}

.reserve-custom-select__option {
  padding: 9px 14px;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reserve-custom-select__option:hover {
  color: #34087a;
}

.reserve-custom-select__option--active {
  color: #1230AF;
  font-weight: 600;
}

[data-rsw-role="search-form"] > div,
.search-form-box {
  box-shadow:
    0 0 0 1px rgba(14, 63, 126, 0.06),
    0 2px 4px -1px rgba(42, 51, 69, 0.06),
    0 8px 16px -4px rgba(42, 51, 70, 0.08),
    0 20px 40px -8px rgba(14, 63, 126, 0.10);
  border-radius: 1em;
  transition: box-shadow 0.25s ease;
}

[data-rsw-role="search-form"] > div:hover,
.search-form-box:hover {
  box-shadow:
    0 0 0 1px rgba(14, 63, 126, 0.08),
    0 4px 8px -2px rgba(42, 51, 69, 0.08),
    0 12px 24px -6px rgba(42, 51, 70, 0.12),
    0 28px 56px -12px rgba(14, 63, 126, 0.14);
}

/* Place-order chef card – match RestaurantCard design */
.place-order-chef-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
}

.place-order-chef-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.place-order-chef-card:hover .place-order-chef-card-img {
  transform: scale(1.05);
}

.place-order-chef-card .place-order-chef-card-img {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.place-order-chef-card .line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Overlay badges on image */
.place-order-chef-card .bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.6);
}

.place-order-chef-card .bg-amber-500\/90 {
  background-color: rgba(245, 158, 11, 0.9);
}

.place-order-chef-card .bg-green-600\/90 {
  background-color: rgba(22, 163, 74, 0.9);
}

.place-order-chef-card .backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.place-order-chef-card .rounded-lg {
  border-radius: 0.5rem;
}

.place-order-chef-card .gap-1\.5 {
  gap: 0.375rem;
}

.place-order-chef-card .gap-2 {
  gap: 0.5rem;
}

.place-order-chef-card .px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.place-order-chef-card .py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.place-order-chef-card .border-gray-200 {
  border-color: #e5e7eb;
}

.place-order-chef-card .transition-all {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
}

.place-order-chef-card .duration-300 {
  transition-duration: 0.3s;
}

.place-order-chef-card .min-h-0 {
  min-height: 0;
}

.place-order-chef-card .mt-auto {
  margin-top: auto;
}

.place-order-chef-card .text-\[14px\] {
  font-size: 14px;
}

.place-order-chef-card .text-\[13px\] {
  font-size: 13px;
}

.place-order-chef-card .justify-between {
  justify-content: space-between;
}

.place-order-chef-card.flex {
  display: flex;
}

.place-order-chef-card .flex {
  display: flex;
}

.place-order-chef-card .flex-col {
  flex-direction: column;
}

.place-order-chef-card .flex-wrap {
  flex-wrap: wrap;
}

.place-order-chef-card .h-full {
  height: 100%;
}

.place-order-chef-card .relative {
  position: relative;
}

.place-order-chef-card .absolute {
  position: absolute;
}

.place-order-chef-card .bottom-3 {
  bottom: 0.75rem;
}

.place-order-chef-card .left-3 {
  left: 0.75rem;
}

.place-order-chef-card .right-3 {
  right: 0.75rem;
}

.place-order-chef-card .p-4 {
  padding: 1rem;
}

.place-order-chef-card .mb-2 {
  margin-bottom: 0.5rem;
}

.place-order-chef-card .mb-3 {
  margin-bottom: 0.75rem;
}

.place-order-chef-card .w-full {
  width: 100%;
}

.place-order-chef-card .object-cover {
  object-fit: cover;
}

.place-order-chef-card .text-white {
  color: #fff;
}

.place-order-chef-card .text-xs {
  font-size: 0.75rem;
}

.place-order-chef-card .font-semibold {
  font-weight: 600;
}

.place-order-chef-card .text-gray-900 {
  color: #111827;
}

.place-order-chef-card .text-gray-600 {
  color: #4b5563;
}

.place-order-chef-card .text-gray-500 {
  color: #6b7280;
}

.place-order-chef-card .text-gray-700 {
  color: #374151;
}

.place-order-chef-card .rounded-md {
  border-radius: 0.375rem;
}

.place-order-chef-card .border-transparent {
  border-color: transparent;
}

.place-order-chef-card .py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.place-order-chef-card .bg-gray-100 {
  background-color: #f3f4f6;
}

.place-order-chef-card .font-normal {
  font-weight: 400;
}

.place-order-chef-card .inline-flex {
  display: inline-flex;
}

.place-order-chef-card .shrink-0 {
  flex-shrink: 0;
}

.place-order-chef-card .overflow-hidden {
  overflow: hidden;
}

/* Image overlay pills (delivery time, distance, closed, offer) — compact on small screens */
@media (max-width: 767px) {
  .place-order-chef-card .place-order-chef-card-overlay-badge {
    font-size: 0.6875rem;
    line-height: 1.25;
    padding: 0.25rem 0.375rem;
    gap: 0.25rem;
  }

  .place-order-chef-card .place-order-chef-card-overlay-badge i {
    font-size: 11px !important;
  }
}

/* Place-order listing grid (chef cards) */
.place-order-listing-cards .grid {
  display: grid;
  gap: 1rem;
}

.place-order-listing-cards .grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .place-order-listing-cards .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .place-order-listing-cards .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.place-order-listing-cards .gap-4 {
  gap: 1.5rem;
}

/* Skeleton shimmer (place-order, catering, grocery listing cards) */
.skeleton-shimmer-grid {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

/* Light gray card base so the white shimmer sweep is visible */
.skeleton-shimmer-grid>div {
  background-color: #f3f4f6 !important;
}

.skeleton-shimmer-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 255, 255, 0.75) 50%,
      transparent 65%,
      transparent 100%);
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes skeleton-shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(250%);
  }
}

/* Chef/store listings: blue spinner (matches reservation .rsw-scroll-loader__spinner) */
.b2b-listing-loader-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-listing-loader-wrap--initial {
  padding: 48px 24px 64px;
  min-height: 200px;
}

.b2b-listing-loader-wrap--scroll {
  padding: 24px 0 8px;
}

.b2b-listing-loader-wrap__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e7eb;
  border-top-color: #34087a;
  border-radius: 50%;
  animation: b2b-listing-loader-spin 0.7s linear infinite;
}

@keyframes b2b-listing-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.start-2 {
  left: 0.5rem;
}

.end-2 {
  right: 0.5rem;
}

.top-2 {
  top: 0.5rem;
}

.bottom-2 {
  bottom: 0.5rem;
}

/* Quotation view & content: prevent horizontal overflow on mobile */
#contentContainer {
  max-width: 100%;
  overflow-x: hidden;
}

.kt-container {
  max-width: 100%;
  min-width: 0;
}

.kt-scrollable-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
}

.pt-0 {
  padding-top: 0 !important;
}

/* on lg gap-6 */
@media (min-width: 1024px) {
  .lg\:gap-6 {
    gap: 1.5rem;
  }
}

/* Dashboard quick cards: fluid on small screens, single row on desktop */
#quick-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 1200px) {
  #quick-cards-container {
    display: flex;
    flex-wrap: nowrap;
  }
}

@media (min-width: 640px) {
  #quick-cards-container {
    gap: 1.25rem;
  }
}

@media (min-width: 900px) {
  #quick-cards-container {
    gap: 1.5rem;
  }
}

@media (min-width: 1400px) {
  #quick-cards-container {
    gap: 1.875rem;
  }
}

#quick-cards-container .kt-card {
  min-width: 0;
  height: 200px;
}

/* Keep quick-card header actions on one line */
#quick-cards-container .short-text {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  #quick-cards-container .kt-card {
    flex: 1 1 0;
  }
}

@media (-webkit-min-device-pixel-ratio: 1.25) and (-webkit-max-device-pixel-ratio: 1.49) {
  /* 125% scaling adjustments for dashboard quick cards only */
  #quick-cards-container {
    gap: 1rem !important;
  }
  .scale-link{
    min-width: 80px;
    padding: 20px 19px;
  }
  .quick-links-container {
    gap: 0.5rem !important;
  }
  #quick-cards-container .kt-card {
    min-height: 170px;
  }

  #quick-cards-container .kt-card .text-3xl {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }

  #quick-cards-container .kt-card .text-sm {
    font-size: 0.75rem !important;
    line-height: 1.25rem !important;
  }

  #quick-cards-container .quick-link-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
  }

  #quick-cards-container .quick-link-icon-wrapper i.text-2xl {
    font-size: 1.125rem !important;
    line-height: 1 !important;
  }

  #quick-cards-container .short-text {
    font-size: 0.6875rem !important;
    white-space: nowrap;
  }
}
.w-\[160px\] {
  width: 160px;
}
#search-chefs-form {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  #search-chefs-form {
    width: 75%;
  }
}

/* B2B listing search: stack on mobile, same proportions as legacy 60/40 + button on sm+ */
.b2b-search-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .b2b-search-form__row {
    gap: 1.5rem;
  }
}

.b2b-search-form__field {
  width: 100%;
  min-width: 0;
}

.b2b-search-form__btn-wrap {
  width: 100%;
  flex-shrink: 0;
  align-self: stretch;
}

.b2b-search-form__btn {
  width: 100%;
}

@media (min-width: 640px) {
  .b2b-search-form__row {
    flex-direction: row;
    align-items: flex-end;
  }

  .b2b-search-form__row--three .b2b-search-form__field--q {
    flex: 3 1 0%;
    min-width: 0;
  }

  .b2b-search-form__row--three .b2b-search-form__field--city {
    flex: 2 1 0%;
    min-width: 0;
  }

  .b2b-search-form__row--two .b2b-search-form__field--q {
    flex: 1 1 0%;
    min-width: 0;
  }

  .b2b-search-form__btn-wrap {
    width: auto;
    align-self: flex-end;
  }

  .b2b-search-form__btn {
    width: 10rem;
  }
}


.text-gold {
  color: #ebbc32 ;
}
.chef-card-v2__rating-badge {
 
  background: rgba(255,255,255,0.92);

  color: #111827;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e5e7eb;
}
.chef-card-v2__rating-badge .star-icon {
  color: #F59E0B;
  font-size: 11px;
}


.disabled-button {
  cursor: not-allowed !important;
  background-color: #f3f4f6 !important;
}

.opacity-90 {
  opacity: 0.9;
}

/* Promocode form option cards (scope + usage limit) */
.usage-limit-section__title-row {
  display: flex;
  align-items: base-line;
  gap: 12px;
  margin-bottom: 4px;
}

.usage-limit-section__step {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9efff;
  color: #3456d1;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.usage-limit-section__cards,
.benefit-scope-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.usage-limit-card,
.benefit-scope-card {
  border: 1px solid #d7dce8;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  min-height: 86px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all .15s ease-in-out;
}

.usage-limit-card:hover,
.benefit-scope-card:hover {
  border-color: #9cb0ff;
}

.usage-limit-card__dot,
.benefit-scope-card__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #b8bfcd;
  margin-top: 2px;
  position: relative;
  flex-shrink: 0;
}

.usage-limit-card__title,
.benefit-scope-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.1;
}

.usage-limit-card__subtitle,
.benefit-scope-card__subtitle {
  font-size: 13px;
  color: #5f6b84;
  line-height: 1.2;
  margin-top: 4px;
}

.usage-limit-card.is-active,
.benefit-scope-card.is-active {
  background: #eef3ff;
  border-color: #3456d1;
}

.usage-limit-card.is-active .usage-limit-card__dot,
.benefit-scope-card.is-active .benefit-scope-card__dot {
  border-color: #3456d1;
}

.usage-limit-card.is-active .usage-limit-card__dot::after,
.benefit-scope-card.is-active .benefit-scope-card__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3456d1;
  position: absolute;
  inset: 0;
  margin: auto;
}

@media (max-width: 768px) {
  .usage-limit-section__cards,
  .benefit-scope-cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .sm\:w-40 {
    width: 10rem;
  }
}

:root {
  --primary: #34087a !important;
}

.demo1
{
  --sidebar-width: 300px;
}

/* Reservation search fields: 34px on small screens only; md:h-12 must win from 768px up (do not leave .h-[34px] unscoped — it overrides .md\:h-12). */
@media (max-width: 767.98px) {
  .h-\[34px\] {
    height: 34px;
  }
}

@media (min-width: 768px) {
  .md\:h-12 {
    height: 3rem;
  }
}

.cursor-default{
  cursor: default;
}
.opacity-50 {
  opacity: 0.5;
}
.pointer-events-none {
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════
   Request Event Quote Banner  (.reb-banner)
   Used on: Catering index page — /b2b/views/catering/index.php
   ══════════════════════════════════════════════════════════════════ */
@keyframes reb-fadeup {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reb-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 30px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: linear-gradient(120deg, #34087a 0%, #3b55e0 100%);
    box-shadow: 0 4px 24px rgba(20, 54, 199, 0.20);
    animation: reb-fadeup 0.4s ease both;
    width: 50%;
}

/* Left: badge + title + description */
.reb-banner__left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.reb-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.90);
}

.reb-banner__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.reb-banner__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
}

/* Right: CTA button */
.reb-banner__right {
    flex-shrink: 0;
}

.reb-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #ffffff;
    color: #34087a !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
    transition: background 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}
.reb-banner__btn:hover {
    background: #EEF2FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.reb-banner__btn:active {
    transform: scale(0.97);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
    .reb-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
        gap: 16px;
    }
    .reb-banner__title {
        font-size: 17px;
    }
    .reb-banner__right {
        width: 100%;
    }
    .reb-banner__btn {
        width: 100%;
        justify-content: center;
    }
}

.mb-6 {
  margin-bottom: 1.5rem;
}
.p-6 {
  padding: 1.5rem;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.w-48-f {
  width: 12rem !important;
}
.w-56-f {
  width: 14rem !important;
}

@media (min-width: 640px) {
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sm\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }


}
.max-w-\[640px\]{
  max-width: 640px;
}

/* KT Date Picker / Vanilla Calendar — RTL month navigation arrows */
html[dir="rtl"] [data-vc="controls"] {
  flex-direction: row-reverse;
}

html[dir="rtl"] .rtl\:scale-x-\[-1\] {
  transform: scaleX(-1);
}
/* Category / invoice line tabs — horizontal scroll (same as place-order chef category tabs) */
.category-tabs {
  scrollbar-width: thin;
  scrollbar-color: var(--kt-border-color) transparent;
}
.category-tabs::-webkit-scrollbar {
  height: 4px;
}
.category-tabs::-webkit-scrollbar-thumb {
  background: var(--kt-border-color);
  border-radius: 2px;
}

@media (width >=40rem) {
  .sm\:ms-20 {
    margin-inline-start: calc(var(--spacing) * 20);
  }
  .sm\:ps-5 {
    padding-inline-start: calc(var(--spacing) * 5);
  }
  .sm\:block{
    display: block;
  }
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider span {
  padding: 0 12px;
  color: #666;
  font-size: 14px;
}

.w-50{
  width: 200px;
}


@media (min-width: 1024px) {
.lg\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
.opacity-60{
  opacity: 0.6;
}
.pbar {
    height: 6px;
    border-radius: 3px;
    background: var(--color-bg-hover, #f3f4f6);
    margin-top: 3px;
    overflow: hidden;
    border: 1px solid var(--color-border, #d1d5db);
}

.pfill {
    height: 100%;
    border-radius: 3px;
    background: var(--color-primary);
    transition: width 0.4s ease;
}

.pbar.kt-progress-success .pfill {
    --color-primary: #22c55e;
}

.pbar.kt-progress-info .pfill {
    --color-primary: #3b82f6;
}

.pbar.kt-progress-warning .pfill {
    --color-primary: #f59e0b;
}

.pbar.kt-progress-destructive .pfill {
            --color-primary: #ef4444;
}


@media (min-width: 640px) {
.sm\:w-1\/3 {
  width: 33.333333%;
}
.sm\:justify-between {
  justify-content: space-between;
}
}

.h-3{
  height: 0.75rem;
}


[dir="rtl"] .rtl\:reverse {
  transform: scaleX(-1);
}
[dir="rtl"] .vc-arrow {
  transform: scaleX(-1);
}