@charset "UTF-8";/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@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% .013 17.38);
    --color-red-100: oklch(93.6% .032 17.717);
    --color-red-500: oklch(63.7% .237 25.331);
    --color-red-600: oklch(57.7% .245 27.325);
    --color-red-900: oklch(39.6% .141 25.723);
    --color-orange-100: oklch(95.4% .038 75.164);
    --color-orange-200: oklch(90.1% .076 70.697);
    --color-orange-500: oklch(70.5% .213 47.604);
    --color-orange-600: oklch(64.6% .222 41.116);
    --color-amber-100: oklch(96.2% .059 95.617);
    --color-amber-500: oklch(76.9% .188 70.08);
    --color-amber-600: oklch(66.6% .179 58.318);
    --color-yellow-100: oklch(97.3% .071 103.193);
    --color-green-800: oklch(44.8% .119 151.328);
    --color-emerald-100: oklch(95% .052 163.051);
    --color-emerald-500: oklch(69.6% .17 162.48);
    --color-emerald-600: oklch(59.6% .145 163.225);
    --color-sky-100: oklch(95.1% .026 236.824);
    --color-sky-500: oklch(68.5% .169 237.323);
    --color-sky-600: oklch(58.8% .158 241.966);
    --color-blue-100: oklch(93.2% .032 255.585);
    --color-blue-200: oklch(88.2% .059 254.128);
    --color-blue-500: oklch(62.3% .214 259.815);
    --color-blue-600: oklch(54.6% .245 262.881);
    --color-blue-800: oklch(42.4% .199 265.638);
    --color-blue-900: oklch(37.9% .146 265.522);
    --color-indigo-100: oklch(93% .034 272.788);
    --color-indigo-500: oklch(58.5% .233 277.117);
    --color-indigo-600: oklch(51.1% .262 276.966);
    --color-purple-100: oklch(94.6% .033 307.174);
    --color-purple-500: oklch(62.7% .265 303.9);
    --color-purple-600: oklch(55.8% .288 302.321);
    --color-rose-100: oklch(94.1% .03 12.58);
    --color-rose-500: oklch(64.5% .246 16.439);
    --color-rose-600: oklch(58.6% .253 17.585);
    --color-slate-100: oklch(96.8% .007 247.896);
    --color-slate-400: oklch(70.4% .04 256.788);
    --color-slate-600: oklch(44.6% .043 257.281);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-400: oklch(70.7% .022 261.325);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --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);
    --font-weight-bold: 700;
    --animate-spin: spin 1s linear infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    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;
    -webkit-text-decoration: 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 {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.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 {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

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

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :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-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

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

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

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

  ::file-selector-button {
    appearance: button;
  }

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

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

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

@layer components;

@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .top-0 {
    top: calc(var(--spacing) * 0);
  }

  .right-0 {
    right: calc(var(--spacing) * 0);
  }

  .bottom-0 {
    bottom: calc(var(--spacing) * 0);
  }

  .float-right {
    float: right;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-auto {
    margin-top: auto;
  }

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }

  .ml-auto {
    margin-left: auto;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .table {
    display: table;
  }

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

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

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

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

  .h-full {
    height: 100%;
  }

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

  .w-4 {
    width: calc(var(--spacing) * 4);
  }

  .w-5 {
    width: calc(var(--spacing) * 5);
  }

  .w-6 {
    width: calc(var(--spacing) * 6);
  }

  .w-10 {
    width: calc(var(--spacing) * 10);
  }

  .w-full {
    width: 100%;
  }

  .flex-1 {
    flex: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .resize {
    resize: both;
  }

  .flex-col {
    flex-direction: column;
  }

  .items-center {
    align-items: center;
  }

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

  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .overflow-auto {
    overflow: auto;
  }

  .rounded {
    border-radius: .25rem;
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }

  .border-4 {
    border-style: var(--tw-border-style);
    border-width: 4px;
  }

  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }

  .border-none {
    --tw-border-style: none;
    border-style: none;
  }

  .border-\(--color-accent-primary\) {
    border-color: var(--color-accent-primary);
  }

  .border-black {
    border-color: var(--color-black);
  }

  .border-gray-400 {
    border-color: var(--color-gray-400);
  }

  .border-red-500 {
    border-color: var(--color-red-500);
  }

  .border-t-transparent {
    border-top-color: #0000;
  }

  .bg-\(--color-bg-primary\) {
    background-color: var(--color-bg-primary);
  }

  .bg-amber-100 {
    background-color: var(--color-amber-100);
  }

  .bg-blue-100 {
    background-color: var(--color-blue-100);
  }

  .bg-blue-200 {
    background-color: var(--color-blue-200);
  }

  .bg-blue-500 {
    background-color: var(--color-blue-500);
  }

  .bg-emerald-100 {
    background-color: var(--color-emerald-100);
  }

  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }

  .bg-indigo-100 {
    background-color: var(--color-indigo-100);
  }

  .bg-orange-100 {
    background-color: var(--color-orange-100);
  }

  .bg-orange-200 {
    background-color: var(--color-orange-200);
  }

  .bg-purple-100 {
    background-color: var(--color-purple-100);
  }

  .bg-red-50 {
    background-color: var(--color-red-50);
  }

  .bg-rose-100 {
    background-color: var(--color-rose-100);
  }

  .bg-sky-100 {
    background-color: var(--color-sky-100);
  }

  .bg-slate-100 {
    background-color: var(--color-slate-100);
  }

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

  .bg-yellow-100 {
    background-color: var(--color-yellow-100);
  }

  .p-0 {
    padding: calc(var(--spacing) * 0);
  }

  .p-1 {
    padding: calc(var(--spacing) * 1);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .p-10 {
    padding: calc(var(--spacing) * 10);
  }

  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .pt-1 {
    padding-top: calc(var(--spacing) * 1);
  }

  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }

  .pr-4 {
    padding-right: calc(var(--spacing) * 4);
  }

  .pr-8 {
    padding-right: calc(var(--spacing) * 8);
  }

  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }

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

  .text-left {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

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

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .text-\(--color-text-secondary\) {
    color: var(--color-text-secondary);
  }

  .text-amber-600 {
    color: var(--color-amber-600);
  }

  .text-black {
    color: var(--color-black);
  }

  .text-blue-600 {
    color: var(--color-blue-600);
  }

  .text-blue-800 {
    color: var(--color-blue-800);
  }

  .text-blue-900 {
    color: var(--color-blue-900);
  }

  .text-emerald-600 {
    color: var(--color-emerald-600);
  }

  .text-green-800 {
    color: var(--color-green-800);
  }

  .text-indigo-600 {
    color: var(--color-indigo-600);
  }

  .text-orange-600 {
    color: var(--color-orange-600);
  }

  .text-purple-600 {
    color: var(--color-purple-600);
  }

  .text-red-600 {
    color: var(--color-red-600);
  }

  .text-red-900 {
    color: var(--color-red-900);
  }

  .text-rose-600 {
    color: var(--color-rose-600);
  }

  .text-sky-600 {
    color: var(--color-sky-600);
  }

  .text-slate-600 {
    color: var(--color-slate-600);
  }

  .text-white {
    color: var(--color-white);
  }

  .underline {
    text-decoration-line: underline;
  }

  .accent-black {
    accent-color: var(--color-black);
  }

  .opacity-50 {
    opacity: .5;
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  @media (hover: hover) {
    .hover\:border-amber-500:hover {
      border-color: var(--color-amber-500);
    }

    .hover\:border-blue-500:hover {
      border-color: var(--color-blue-500);
    }

    .hover\:border-emerald-500:hover {
      border-color: var(--color-emerald-500);
    }

    .hover\:border-indigo-500:hover {
      border-color: var(--color-indigo-500);
    }

    .hover\:border-orange-500:hover {
      border-color: var(--color-orange-500);
    }

    .hover\:border-purple-500:hover {
      border-color: var(--color-purple-500);
    }

    .hover\:border-rose-500:hover {
      border-color: var(--color-rose-500);
    }

    .hover\:border-sky-500:hover {
      border-color: var(--color-sky-500);
    }

    .hover\:border-slate-400:hover {
      border-color: var(--color-slate-400);
    }

    .hover\:bg-gray-100:hover {
      background-color: var(--color-gray-100);
    }

    .hover\:bg-red-100:hover {
      background-color: var(--color-red-100);
    }
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

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

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

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

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

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

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.text-bold {
  font-weight: bold !important;
}

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

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

.w-full {
  width: 100% !important;
}

.w-half {
  width: 50%;
}

.w-50 {
  width: 50px !important;
}

.w-60 {
  width: 60px !important;
}

.w-70 {
  width: 70px !important;
}

.w-80 {
  width: 80px !important;
}

.w-100 {
  width: 100px !important;
}

.w-120 {
  width: 120px !important;
}

.w-166 {
  width: 166px !important;
}

.w-auto {
  width: auto !important;
}

.font-bold {
  font-weight: bold !important;
}

.text-sm {
  font-size: 12px !important;
}

.text-xs {
  font-size: 10px !important;
}

.text-xl {
  font-size: 20px !important;
}

.text-lg {
  font-size: 16px !important;
}

.ml-2 {
  margin-left: 8px !important;
}

.ml-4 {
  margin-left: 16px !important;
}

.ml-8 {
  margin-left: 32px !important;
}

.ml-auto {
  margin-left: auto !important;
}

.mr-2 {
  margin-right: 8px !important;
}

.mt-1 {
  margin-top: 4px !important;
}

.mt-auto {
  margin-top: auto !important;
}

.mb-1 {
  margin-bottom: 4px !important;
}

.p-1 {
  padding: 4px !important;
}

.gap-1 {
  gap: 4px !important;
}

.flex {
  display: flex !important;
}

.flex-col {
  flex-direction: column !important;
}

.flex-1 {
  flex: 1 !important;
}

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

.justify-between {
  justify-content: space-between !important;
}

.overflow-auto {
  overflow: auto !important;
}

.h-full {
  height: 100% !important;
}

.h-4 {
  height: 16px !important;
}

.bg-white {
  background: white !important;
}

.bg-gray-100 {
  background: #f3f4f6 !important;
}

.bg-gray-300 {
  background: #d1d5db !important;
}

.bg-yellow-100 {
  background: #ffffcc !important;
}

.bg-orange-200 {
  background: #fed7aa !important;
}

.bg-blue-100 {
  background: #dbeafe !important;
}

.bg-blue-200 {
  background: #bfdbfe !important;
}

.bg-blue-500 {
  background: #3b82f6 !important;
}

.text-white {
  color: white !important;
}

.text-blue-900 {
  color: #1e3a8a !important;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.right-0 {
  right: 0;
}

.top-0 {
  top: 0;
}

.pr-4 {
  padding-right: 16px;
}

.help-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.help-modal {
  background: #f0f0f0;
  border: 3px solid white;
  border-radius: 0;
  min-width: 450px;
  max-width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.help-modal__header {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #94a3b8;
}
.help-modal__header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: white;
}
.help-modal__close {
  background: #c0c0c0;
  border: 2px outset #ddd;
  color: #000;
  font-size: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.help-modal__close:hover {
  background: #d0d0d0;
}
.help-modal__close:active {
  border-style: inset;
}
.help-modal__content {
  padding: 16px;
  background: #f0f0f0;
}
.help-modal__table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid #000;
}
.help-modal__table th,
.help-modal__table td {
  padding: 8px 12px;
  text-align: left;
  border: 1px solid #ccc;
  font-size: 13px;
  color: #000;
}
.help-modal__table th {
  background: #e0e0e0;
  font-weight: 600;
}
.help-modal__table td {
  color: #333;
}
.help-modal__table tr:nth-child(even) {
  background: #f9f9f9;
}
.help-modal__table tr:hover {
  background: #ffffcc;
}
.help-modal__table kbd {
  background: #333;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 12px;
  font-weight: 600;
}
.help-modal__footer {
  padding: 12px 16px;
  background: #e0e0e0;
  text-align: center;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #ccc;
}

.page-header {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 3px solid;
  border-bottom: none;
  flex-shrink: 0;
}
.page-header__company-section {
  padding: 2px 8px;
  border: 2px solid;
  margin: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-header__company-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px 0;
  line-height: 1.2;
}
.page-header__company-name::before, .page-header__company-name::after {
  content: " ॥ ";
}
.page-header__company-details {
  font-size: 11px;
  margin: 0;
  line-height: 1.2;
}
.page-header__title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 12px;
  border: 2px solid;
  margin: 2px;
  min-width: 200px;
}
.page-header__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
}
.page-header__title-sub {
  font-size: 12px;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}
.page-header__shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 2px 8px;
  background: #4a5568;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  color: white;
  height: 18px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  flex-shrink: 0;
}

.table-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 2px solid #000;
  position: relative;
}
.table-content .data-table {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white !important;
}
.table-content .data-table__search-container {
  display: none !important;
}
.table-content .data-table__wrapper {
  flex: 1;
  overflow-y: scroll !important;
  overflow-x: hidden;
  background: white !important;
  scrollbar-gutter: stable;
}
.table-content .data-table__wrapper::-webkit-scrollbar {
  width: 18px !important;
  background-color: #e8e8e8 !important;
}
.table-content .data-table__wrapper::-webkit-scrollbar-track {
  background: #e8e8e8 !important;
  border-left: 1px solid #888 !important;
}
.table-content .data-table__wrapper::-webkit-scrollbar-thumb {
  background: #c0c0c0 !important;
  border: 1px solid #666 !important;
  border-radius: 0 !important;
  min-height: 40px !important;
}
.table-content .data-table__wrapper::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8 !important;
}
.table-content .data-table__wrapper::-webkit-scrollbar-thumb:active {
  background: #909090 !important;
}
.table-content .data-table__wrapper::-webkit-scrollbar-corner {
  background: #e8e8e8;
}
.table-content .data-table__wrapper {
  scrollbar-width: auto;
  scrollbar-color: #c0c0c0 #e8e8e8;
}
.table-content .data-table__spinner-container {
  background: white !important;
}
.table-content .data-table table {
  border-collapse: collapse;
  width: 100%;
  background: white !important;
}
.table-content .data-table table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}
.table-content .data-table table th {
  background: #f0f0f0 !important;
  color: #000 !important;
  border: 1px solid #999 !important;
  padding: 6px 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: left !important;
}
.table-content .data-table table td {
  background: white !important;
  color: #000 !important;
  border: 1px solid #ccc;
  padding: 6px 10px !important;
  font-size: 14px !important;
}
.table-content .data-table table tbody {
  background: white !important;
}
.table-content .data-table table tr:hover td {
  background: #e8f4fc !important;
}
.table-content .data-table table tr.selected td,
.table-content .data-table table tr[data-selected=true] td {
  background: #cce5ff !important;
  color: #000 !important;
}
.table-content .data-table__pagination {
  display: none !important;
}
.table-content .data-table__empty {
  background: white !important;
  color: #666 !important;
  padding: 20px !important;
}

.windows-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 70px !important;
  min-height: 32px !important;
  border-radius: 0 !important;
  padding: 6px 12px !important;
  overflow: visible !important;
  transition: all 0.1s ease;
  border: 2px outset #f0f0f0 !important;
  font-weight: 600 !important;
  text-transform: none !important;
  cursor: pointer !important;
}
.windows-btn--active, .windows-btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  border-style: inset !important;
}
.windows-btn:hover:not(:disabled) {
  background: #e0e0e0 !important;
  color: #000 !important;
}
.windows-btn:disabled {
  background: #d0d0d0 !important;
  color: #888 !important;
  border-color: #ccc !important;
  border-style: solid !important;
  cursor: not-allowed;
}

.windows-btn-text {
  font-size: 13px;
  font-weight: 600;
}

.windows-btn-key {
  position: absolute;
  top: -8px;
  right: -2px;
  background: #333;
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 9px;
  font-weight: 600;
  border: 1px solid #555;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background-color: var(--color-bg-secondary);
}
.auth-layout__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.auth-layout__gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.auth-layout__gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  top: -200px;
  right: -100px;
}
.auth-layout__gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6366f1 0%, #60a5fa 100%);
  bottom: -100px;
  left: -100px;
}
.auth-layout__gradient-orb--3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #60a5fa 0%, #06b6d4 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
}
.auth-layout__theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: var(--color-bg-elevated);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border-primary);
  z-index: 10;
}
.auth-layout__theme-toggle svg {
  width: 20px;
  height: 20px;
}
.auth-layout__theme-toggle:hover {
  background-color: var(--color-bg-tertiary);
  transform: scale(1.05);
}
.auth-layout__theme-toggle:active {
  transform: scale(0.95);
}
.auth-layout__container {
  width: 100%;
  max-width: 420px;
  z-index: 1;
}
.auth-layout__card {
  background-color: var(--color-card-bg);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px var(--color-card-shadow);
  border: 1px solid var(--color-border-primary);
}
@media (min-width: 768px) {
  .auth-layout__card {
    padding: 2.5rem;
  }
}
.auth-layout__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.auth-layout__logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.auth-layout__logo-icon svg {
  width: 28px;
  height: 28px;
}
.auth-layout__brand-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-layout__logo-subtext {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 700;
  text-align: center;
}
.auth-layout__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.025em;
}
.auth-layout__header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-layout__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .auth-layout__title {
    font-size: 1.875rem;
  }
}
.auth-layout__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}
.auth-layout__content {
  width: 100%;
}
.auth-layout__footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}
.auth-layout .auth-form__group {
  margin-bottom: 1.25rem;
}
.auth-layout .auth-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
.auth-layout .auth-form__input-wrapper {
  position: relative;
}
.auth-layout .auth-form__input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  pointer-events: none;
}
.auth-layout .auth-form__input-icon svg {
  width: 20px;
  height: 20px;
}
.auth-layout .auth-form__input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  padding-left: calc(1rem + 20px + 0.75rem);
  font-size: 1rem;
  color: var(--color-text-primary);
  background-color: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: 0.5rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-layout .auth-form__input::placeholder {
  color: var(--color-text-muted);
}
.auth-layout .auth-form__input:hover {
  border-color: var(--color-border-secondary);
}
.auth-layout .auth-form__input:focus {
  outline: none;
  border-color: var(--color-input-focus-ring);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.auth-layout .auth-form__input--error {
  border-color: #ef4444;
}
.auth-layout .auth-form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.auth-layout .auth-form__password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-layout .auth-form__password-toggle svg {
  width: 20px;
  height: 20px;
}
.auth-layout .auth-form__password-toggle:hover {
  color: var(--color-text-primary);
}
.auth-layout .auth-form__error {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #ef4444;
}
.auth-layout .auth-form__error svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.auth-layout .auth-form__checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.auth-layout .auth-form__checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-input-border);
  border-radius: 0.125rem;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  background-color: var(--color-input-bg);
}
.auth-layout .auth-form__checkbox:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.auth-layout .auth-form__checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.auth-layout .auth-form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  width: fit-content;
}
.auth-layout .auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.auth-layout .auth-form__link {
  font-size: 0.875rem;
  color: var(--color-accent-primary);
  font-weight: 500;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-layout .auth-form__link:hover {
  color: var(--color-accent-primary-hover);
  text-decoration: underline;
}
.auth-layout .auth-form__submit {
  width: 100%;
  height: 48px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.auth-layout .auth-form__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-layout .auth-form__submit span {
  position: relative;
  z-index: 1;
}
.auth-layout .auth-form__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}
.auth-layout .auth-form__submit:hover:not(:disabled)::before {
  opacity: 1;
}
.auth-layout .auth-form__submit:active:not(:disabled) {
  transform: translateY(0);
}
.auth-layout .auth-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.auth-layout .auth-form__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.auth-layout .auth-form__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.auth-layout .auth-form__divider::before, .auth-layout .auth-form__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--color-border-primary);
}
.auth-layout .auth-form__divider span {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
}
.auth-layout .auth-form__footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.auth-layout .auth-form__footer a {
  color: var(--color-accent-primary);
  font-weight: 500;
}
.auth-layout .auth-form__alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.auth-layout .auth-form__alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.auth-layout .auth-form__alert--error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.auth-layout .auth-form__alert--success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.new-dashboard {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #1e293b;
  overflow: hidden;
}
.new-dashboard ::selection {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}
.new-dashboard__header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}
.new-dashboard__header-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.new-dashboard__header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.new-dashboard__logo {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}
.new-dashboard__logo .material-symbols-rounded {
  font-size: 1.25rem;
}
.new-dashboard__company-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.new-dashboard__header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.new-dashboard__user-info {
  text-align: right;
}
.new-dashboard__user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  padding-top: 12px;
}
.new-dashboard__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
.new-dashboard__avatar svg {
  width: 1.25rem;
  height: 1.25rem;
}
.new-dashboard__user-dropdown-wrapper {
  position: relative;
}
.new-dashboard__user-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}
.new-dashboard__user-trigger:hover {
  background: rgba(0, 0, 0, 0.05);
}
.new-dashboard__dropdown-arrow {
  font-size: 1.25rem;
  color: #64748b;
  transition: transform 0.2s ease;
}
.new-dashboard__user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 100;
  overflow: hidden;
  animation: dropdownFadeIn 0.15s ease-out;
}
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.new-dashboard__dropdown-header {
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.new-dashboard__dropdown-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}
.new-dashboard__dropdown-email {
  font-size: 0.75rem;
  color: #64748b;
}
.new-dashboard__dropdown-divider {
  height: 1px;
  background: #e2e8f0;
}
.new-dashboard__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: background 0.15s ease;
  text-align: left;
}
.new-dashboard__dropdown-item:hover {
  background: #f8fafc;
}
.new-dashboard__dropdown-item .material-symbols-rounded {
  font-size: 1.25rem;
}
.new-dashboard__dropdown-item--logout {
  color: #ef4444;
}
.new-dashboard__dropdown-item--logout:hover {
  background: #fef2f2;
}
.new-dashboard__dropdown-item--logout .material-symbols-rounded {
  color: #ef4444;
}
.new-dashboard__main {
  flex: 1;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
}
@media (min-width: 640px) {
  .new-dashboard__main {
    padding: 1.5rem;
  }
}
.new-dashboard__main::-webkit-scrollbar {
  width: 6px;
}
.new-dashboard__main::-webkit-scrollbar-track {
  background: transparent;
}
.new-dashboard__main::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.new-dashboard__main::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.new-dashboard__title-section {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .new-dashboard__title-section {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
  }
}
.new-dashboard__page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .new-dashboard__page-title {
    font-size: 2rem;
  }
}
.new-dashboard__subtitle {
  color: #64748b;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.new-dashboard__date-picker-wrapper {
  align-self: flex-start;
}
.new-dashboard__date-picker-wrapper .custom-date-field__input-wrapper {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.new-dashboard__date-picker-wrapper .custom-date-field__input {
  border: none !important;
  background: transparent !important;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  box-shadow: none !important;
}
.new-dashboard__date-picker-wrapper .custom-date-field__input:focus {
  outline: none;
  box-shadow: none !important;
}
.new-dashboard__date-picker-wrapper .custom-date-field__calendar-btn {
  padding: 0.5rem 0.75rem;
}
.new-dashboard__date-picker-wrapper .custom-date-field__calendar-btn:hover {
  background: #f1f5f9;
}
.new-dashboard__date-field {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}
.new-dashboard__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .new-dashboard__grid {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
  }
}
@media (min-width: 1280px) {
  .new-dashboard__grid {
    grid-template-columns: 1fr 360px;
  }
}
.new-dashboard__menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .new-dashboard__menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  .new-dashboard__menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.new-dashboard__menu-card {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 120px;
}
.new-dashboard__menu-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.new-dashboard__menu-shortcut {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.new-dashboard__menu-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}
.new-dashboard__menu-card:hover .new-dashboard__menu-icon {
  transform: scale(1.1);
}
.new-dashboard__menu-icon .material-symbols-rounded {
  font-size: 1.5rem;
}
.new-dashboard__menu-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin-top: auto;
}
.new-dashboard__sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .new-dashboard__sidebar {
    position: sticky;
    top: 6rem;
  }
}
.new-dashboard__stat-card {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: 1.25rem;
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}
.new-dashboard__stat-card ::selection {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.new-dashboard__stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.new-dashboard__stat-icon {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
}
.new-dashboard__stat-icon .material-symbols-rounded {
  font-size: 1.25rem;
}
.new-dashboard__stat-badge {
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}
.new-dashboard__stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
}
.new-dashboard__stat-amount {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0.25rem;
}
.new-dashboard__stat-comparison {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
}
.new-dashboard__stat-trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.375rem;
  border-radius: 0.25rem;
}
.new-dashboard__stat-trend .material-symbols-rounded {
  font-size: 0.875rem;
}
.new-dashboard__stat-trend--up {
  color: #ecfdf5;
}
.new-dashboard__stat-trend--down {
  color: #fef2f2;
}
.new-dashboard__stat-compare-label {
  color: rgba(255, 255, 255, 0.7);
}
.new-dashboard__recent-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}
.new-dashboard__recent-card ::selection {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}
.new-dashboard__recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.new-dashboard__recent-header h4 {
  font-weight: 700;
  font-size: 0.875rem;
  color: #1e293b;
}
.new-dashboard__view-all {
  color: #10b981;
  font-size: 0.6875rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  transition: text-decoration 0.2s ease;
}
.new-dashboard__view-all:hover {
  text-decoration: underline;
}
.new-dashboard__recent-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.new-dashboard__recent-list::-webkit-scrollbar {
  width: 4px;
}
.new-dashboard__recent-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}
.new-dashboard__recent-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}
.new-dashboard__recent-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.new-dashboard__recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.25rem;
  margin: -0.25rem;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
}
.new-dashboard__recent-item:hover {
  background: #f8fafc;
}
.new-dashboard__recent-party {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.new-dashboard__recent-initials {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #64748b;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.new-dashboard__recent-item:hover .new-dashboard__recent-initials {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.new-dashboard__recent-name {
  font-weight: 500;
  color: #475569;
}
.new-dashboard__recent-amount {
  font-weight: 700;
}
.new-dashboard__recent-amount--positive {
  color: #10b981;
}
.new-dashboard__recent-amount--negative {
  color: #ef4444;
}
.new-dashboard__recent-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  padding: 1rem 0;
}
.new-dashboard__new-entry {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}
.new-dashboard__new-entry h4 {
  font-weight: 700;
  font-size: 0.875rem;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.new-dashboard__new-entry p {
  color: #64748b;
  font-size: 0.6875rem;
  margin-bottom: 1rem;
}
.new-dashboard__add-icon {
  width: 3rem;
  height: 3rem;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  margin: 0 auto 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.new-dashboard__add-icon:hover {
  transform: scale(1.1);
  color: #10b981;
}
.new-dashboard__add-icon .material-symbols-rounded {
  font-size: 1.5rem;
}
.new-dashboard__quick-start {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}
.new-dashboard__quick-start:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}
.new-dashboard__quick-start:active {
  transform: translateY(0);
}
.new-dashboard__footer {
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1.5rem;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.new-dashboard__footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.new-dashboard__footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.new-dashboard__indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}
.new-dashboard__indicator-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.2s ease;
}
.new-dashboard__indicator-dot--active {
  background: #10b981;
}
.new-dashboard__footer-right {
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  text-align: right;
  display: flex;
  align-items: center;
}
.new-dashboard__footer-right p {
  margin: 0;
  line-height: 1;
}
@media (max-width: 1024px) {
  .new-dashboard__grid {
    grid-template-columns: 1fr;
  }
  .new-dashboard__sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .new-dashboard__menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .new-dashboard__header-content {
    padding: 0 1rem;
  }
  .new-dashboard__main {
    padding: 1rem;
  }
  .new-dashboard__footer {
    padding: 0.5rem 1rem;
  }
}
@media (max-width: 480px) {
  .new-dashboard__menu-grid {
    grid-template-columns: 1fr;
  }
  .new-dashboard__menu-card {
    min-height: 100px;
  }
}

.app-layout {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  display: flex;
  flex-direction: column;
}
.app-layout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border-primary);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--shadow-sm);
}
@supports (backdrop-filter: blur(12px)) {
  .app-layout__header {
    background-color: rgba(var(--color-bg-elevated-rgb), 0.85);
    backdrop-filter: blur(12px);
  }
}
@media (min-width: 768px) {
  .app-layout__header {
    padding: 0.75rem 2rem;
  }
}
.app-layout__header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.app-layout__header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .app-layout__header-right {
    gap: 1rem;
  }
}
.app-layout__home-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.app-layout__home-btn:hover {
  background-color: var(--color-bg-tertiary);
}
.app-layout__home-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.app-layout__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.app-layout__logo-icon svg {
  width: 20px;
  height: 20px;
}
.app-layout__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  display: none;
}
@media (min-width: 768px) {
  .app-layout__logo-text {
    display: block;
  }
}
.app-layout__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-border-primary);
  cursor: pointer;
}
.app-layout__icon-btn svg {
  width: 18px;
  height: 18px;
}
.app-layout__icon-btn:hover {
  background-color: var(--color-bg-elevated);
  color: var(--color-text-primary);
  border-color: var(--color-accent-primary);
  box-shadow: var(--shadow-sm);
}
.app-layout__icon-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.app-layout__lang-indicator {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.app-layout__user-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--color-bg-tertiary);
  border-radius: 0.5rem;
  border: 1px solid var(--color-border-primary);
}
.app-layout__user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.app-layout__user-info {
  display: none;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .app-layout__user-info {
    display: flex;
  }
}
.app-layout__user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
.app-layout__user-role {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}
.app-layout__logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
}
.app-layout__logout-btn svg {
  width: 16px;
  height: 16px;
}
.app-layout__logout-btn span {
  display: none;
}
@media (min-width: 768px) {
  .app-layout__logout-btn span {
    display: inline;
  }
}
.app-layout__logout-btn:hover {
  background-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.app-layout__logout-btn:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}
.app-layout__main {
  flex: 1;
  padding: 1.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .app-layout__main {
    padding: 2rem;
    padding-bottom: 5rem;
  }
}
.app-layout__shortcuts-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border-primary);
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  z-index: 1020;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 2rem);
  overflow-x: auto;
}
@supports (backdrop-filter: blur(12px)) {
  .app-layout__shortcuts-bar {
    background-color: rgba(var(--color-bg-elevated-rgb), 0.9);
    backdrop-filter: blur(12px);
  }
}
.app-layout .page-layout {
  max-width: 1400px;
  margin: 0 auto;
}
.app-layout .page-layout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.app-layout .page-layout__title-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.app-layout .page-layout__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .app-layout .page-layout__title {
    font-size: 1.875rem;
  }
}
.app-layout .page-layout__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.app-layout .page-layout__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.app-layout .page-layout__content {
  background-color: var(--color-card-bg);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border-primary);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.app-layout .page-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 2rem;
  text-align: center;
}
.app-layout .page-placeholder__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.app-layout .page-placeholder__icon svg {
  width: 40px;
  height: 40px;
}
.app-layout .page-placeholder__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.app-layout .page-placeholder__description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 400px;
}
.app-layout .page-placeholder__shortcut {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
}
.app-layout .page-placeholder__shortcut kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 0.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: 0.375rem;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.keyboard-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.keyboard-modal-overlay .keyboard-modal {
  background: #fdfdfd;
  color: #1a1a1a;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  width: 96%;
  max-width: 1600px;
  overflow: hidden;
  animation: slideUp 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
  font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif;
}
.keyboard-modal-overlay .keyboard-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.keyboard-modal-overlay .keyboard-modal__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.keyboard-modal-overlay .keyboard-modal__icon {
  width: 24px;
  height: 24px;
  color: #0067c0;
}
.keyboard-modal-overlay .keyboard-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: #444;
  cursor: pointer;
  transition: all 0.1s ease;
}
.keyboard-modal-overlay .keyboard-modal__close svg {
  width: 18px;
  height: 18px;
}
.keyboard-modal-overlay .keyboard-modal__close:hover {
  background: #e81123;
  color: white;
}
.keyboard-modal-overlay .keyboard-modal__close:active {
  transform: scale(0.95);
}
.keyboard-modal-overlay .keyboard-modal__content {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-height: 80vh;
  overflow-y: auto;
}
.keyboard-modal-overlay .keyboard-modal__section {
  background: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 16px;
}
.keyboard-modal-overlay .keyboard-modal__section-title {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.keyboard-modal-overlay .keyboard-modal__shortcuts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.keyboard-modal-overlay .keyboard-modal__description {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.keyboard-modal-overlay .keyboard-modal__description-guj {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.keyboard-modal-overlay .keyboard-modal__description-eng {
  font-size: 12px;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.keyboard-modal-overlay .keyboard-modal__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-bottom: 2px solid #cecece;
  border-radius: 5px;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.keyboard-modal-overlay .keyboard-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f9f9f9;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.keyboard-modal-overlay .keyboard-modal__hint {
  font-size: 13px;
  color: #666;
}
.keyboard-modal-overlay .keyboard-modal__hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 6px;
  margin: 0 4px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 11px;
  font-weight: 600;
  color: #333;
}
.keyboard-modal-overlay .keyboard-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f9f9f9;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn__icon svg {
  width: 1.25em;
  height: 1.25em;
}
.btn__spinner {
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.75s linear infinite;
}
.btn--sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
}
.btn--md {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}
.btn--lg {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}
.btn--primary {
  background-color: #3b82f6;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn--primary:hover:not(:disabled) {
  background-color: #2563eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.btn--primary:active:not(:disabled) {
  transform: translateY(0);
  background-color: rgb(20.7142857143, 84.9285714286, 225.7857142857);
}
.btn--secondary {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn--secondary:hover:not(:disabled) {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.btn--secondary:active:not(:disabled) {
  background-color: #f1f5f9;
}
.btn--danger {
  background-color: #ef4444;
  border-color: transparent;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: #ffffff;
}
.btn--danger:hover:not(:disabled) {
  background-color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.btn--danger:active:not(:disabled) {
  background-color: rgb(212.3325123153, 18.1674876847, 18.1674876847);
}
.btn--warning {
  background-color: #f59e0b;
  border-color: transparent;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn--warning:hover:not(:disabled) {
  background-color: rgb(196.9291338583, 126.7125984252, 8.0708661417);
}
.btn--success {
  background-color: #90ee90 !important;
  border-color: #90ee90 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn--success:hover:not(:disabled) {
  background: #7ccd7c !important;
  border-style: outset !important;
}
.btn--ghost {
  background-color: transparent;
  color: #475569;
  border-color: transparent;
}
.btn--ghost:hover:not(:disabled) {
  background-color: rgba(226, 232, 240, 0.5);
  color: #0f172a;
}
.btn--ghost:active:not(:disabled) {
  background-color: rgba(226, 232, 240, 0.8);
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 99999 !important;
  backdrop-filter: blur(2px);
}

.modal {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  outline: none;
}
.modal--sm {
  width: 300px;
}
.modal--md {
  width: 500px;
}
.modal--lg {
  width: 800px;
}
.modal--xl {
  width: 1024px;
}
.modal--full {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.modal--full .modal__header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border: none;
  padding: 10px;
  width: auto;
}
.modal--full .modal__title {
  display: none;
}
.modal--full .modal__close {
  position: fixed;
  top: 70px;
  right: 30px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100000;
  border: 2px solid white;
}
.modal--full .modal__close:hover {
  background: #b91c1c;
  color: white;
  transform: scale(1.1);
}
.modal--full .modal__close svg {
  width: 32px;
  height: 32px;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}
.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-right: 12px;
  color: #64748b;
  border-radius: 0.375rem;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  border: none;
  position: relative;
  z-index: 10;
}
.modal__close:hover {
  background-color: #f1f5f9;
  color: #ef4444;
  transform: scale(1.1);
}
.modal__close svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
}
.modal__body {
  flex: 1;
  position: relative;
}
.modal__loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
}
.modal__loading-spinner {
  position: relative;
  width: 96px;
  height: 96px;
}
.modal__loading-ring {
  position: absolute;
  border-radius: 50%;
}
.modal__loading-ring--outer {
  inset: 0;
  border: 4px solid #334155;
  animation: modal-pulse 2s infinite;
}
.modal__loading-ring--spin1 {
  inset: 0;
  border: 4px solid transparent;
  border-top-color: #3b82f6;
  animation: modal-spin 1s linear infinite;
}
.modal__loading-ring--spin2 {
  inset: 8px;
  border: 4px solid transparent;
  border-top-color: #10b981;
  animation: modal-spin 1.5s linear infinite reverse;
}
.modal__loading-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__loading-icon svg {
  animation: modal-pulse 2s infinite;
}
.modal__loading-text {
  margin-top: 32px;
  text-align: center;
  color: black;
}
.modal__loading-title {
  font-size: 20px;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
  color: black;
}
.modal__loading-subtitle {
  font-size: 14px;
  color: black;
}
.modal__loading-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.modal__loading-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: modal-bounce 1s infinite;
}
.modal__loading-dot:nth-child(1) {
  background-color: #3b82f6;
}
.modal__loading-dot:nth-child(2) {
  background-color: #10b981;
}
.modal__loading-dot:nth-child(3) {
  background-color: #8b5cf6;
}

.app-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-primary);
}
.app-loading__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.app-loading__spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid var(--color-accent-primary);
  border-top-color: transparent;
  border-radius: 9999px;
  animation: spin 1s linear infinite;
}
.app-loading__text {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes modal-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes modal-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes modal-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.party-master {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.party-master__body {
  display: grid;
  grid-template-columns: minmax(500px, 40%) 1fr;
  flex: 1;
  overflow: auto;
  border: 3px solid #ca8a04;
  border-top: none;
  border-bottom: none;
  background: #f0efbf;
}
@media (max-width: 960px) {
  .party-master__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
}
.party-master__left-panel {
  display: flex;
  flex-direction: column;
  background: #f0efbf;
  border-right: 2px solid #eab308;
  overflow: hidden;
  padding: var(--spacing-md);
}
.party-master__form-content {
  flex: 1;
  overflow-y: auto;
}
.party-master__form-content::-webkit-scrollbar {
  width: 6px;
}
.party-master__form-content::-webkit-scrollbar-track {
  background: #fefce8;
}
.party-master__form-content::-webkit-scrollbar-thumb {
  background: #fde047;
  border-radius: var(--radius-full);
}
.party-master__form-content::-webkit-scrollbar-thumb:hover {
  background: #facc15;
}
.party-master__center-panel {
  display: flex;
  flex-direction: column;
  background: #f0efbf;
  overflow: hidden;
  padding: var(--spacing-xs);
}
.party-master__table-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  background: #f0efbf;
  margin-bottom: 4px;
}
.party-master__table-filter-row label {
  font-weight: 700;
  color: #422006;
  font-size: 14px;
  white-space: nowrap;
}
.party-master__filter-input {
  flex: 1;
  padding: 4px 8px;
  height: 30px;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 14px;
  color: #000;
  background: #fff;
}
.party-master__filter-input:focus {
  outline: 2px solid #2196f3;
  border-color: #2196f3;
}
.party-master__filter-input {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 8px;
  height: auto;
}
.party-master__charge-btn-group {
  display: flex;
  gap: 12px;
}
.party-master__charge-btn {
  padding: 8px 24px;
  height: 40px;
  font-size: 15px;
  font-weight: 500;
  border: 2px outset #ddd;
  border-radius: 0;
  cursor: pointer;
  min-width: 60px;
  transition: all 0.1s;
  background: #f0f0f0;
  color: #000;
}
.party-master__charge-btn:active {
  border-style: inset;
}
.party-master__charge-btn--yes {
  background: #d1fae5;
}
.party-master__charge-btn--yes.active {
  background: #86efac;
  border-style: inset;
  font-weight: bold;
}
.party-master__charge-btn--no {
  background: #fee2e2;
}
.party-master__charge-btn--no.active {
  background: #fca5a5;
  border-style: inset;
  font-weight: bold;
}
.party-master__account-box {
  margin-top: 20px;
  border: 2px dashed #ca8a04;
  border-radius: 6px;
  padding: 16px;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
}
.party-master__account-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 16px;
  text-decoration: underline;
  color: #422006;
  font-size: 15px;
}
.party-master__form-content .form-field {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.party-master__form-content .form-field--inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.party-master__form-content .form-field--inline .form-field__label {
  width: auto;
  min-width: fit-content;
  text-align: right;
}
.party-master__form-content .form-field--inline .form-field__input {
  flex: 1;
  min-width: 0;
}
.party-master__form-content .form-field--party-code-row {
  display: grid;
  grid-template-columns: 110px 1fr auto 100px;
  gap: 10px;
  align-items: center;
}
.party-master__form-content .form-field--area-row {
  display: grid;
  grid-template-columns: 110px 1.5fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.party-master__form-content .form-field__input-wrapper {
  flex: 1;
}
.party-master__form-content .form-field__label {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  padding-top: 0;
  white-space: normal;
}
.party-master__form-content .form-field__label span {
  display: block;
}
.party-master__form-content .form-field__input, .party-master__form-content .form-field__select, .party-master__form-content .form-field__textarea {
  width: 100%;
  padding: 8px 10px;
  background: white;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 16px;
  color: #000;
  height: 40px;
}
.party-master__form-content .form-field__input:focus, .party-master__form-content .form-field__select:focus, .party-master__form-content .form-field__textarea:focus {
  outline: none;
  background: #ffffcc;
}
.party-master__form-content .form-field__input:disabled, .party-master__form-content .form-field__select:disabled, .party-master__form-content .form-field__textarea:disabled {
  background: #f0f0f0;
  color: #666;
}
.party-master__form-content .form-field__input--readonly-code, .party-master__form-content .form-field__select--readonly-code, .party-master__form-content .form-field__textarea--readonly-code {
  background: #f3f4f6;
  text-align: center;
}
.party-master__form-content .form-field__textarea {
  height: 80px;
  resize: none;
  font-family: inherit;
}
.party-master__form-content .form-field__phone-container {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #000;
  height: 40px;
  width: 100%;
  padding-left: 10px;
}
.party-master__form-content .form-field__phone-container:focus-within {
  background: #ffffcc;
}
.party-master__form-content .form-field__phone-container:focus-within .form-field__phone-input {
  background: #ffffcc;
}
.party-master__form-content .form-field__phone-prefix {
  font-weight: 600;
  color: #000;
  user-select: none;
}
.party-master__form-content .form-field__phone-separator {
  color: #ccc;
  margin: 0 8px;
  user-select: none;
  font-weight: 300;
}
.party-master__form-content .form-field__phone-input {
  border: none !important;
  outline: none !important;
  flex: 1;
  padding-left: 0 !important;
  height: 100% !important;
  background: transparent !important;
}
.party-master__form-content .form-field__phone-input:focus {
  background: transparent !important;
}
.party-master__border-group {
  border: 2px dashed #ca8a04;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .party-master__border-group {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
}
.party-master__border-group__inline-field:nth-child(2) {
  flex: 1;
  min-width: 250px;
}
.party-master__inline-field {
  display: flex;
  align-items: center;
  gap: 12px;
}
.party-master__inline-field .form-field__label {
  width: auto;
  min-width: unset;
  text-align: right;
  padding-top: 0;
  white-space: nowrap;
  font-weight: 600;
  color: #333;
}
.party-master__inline-field .form-field__select {
  flex: 1;
  width: 100%;
}
.party-master__inline-field__charge-btn-group {
  display: flex;
  gap: 10px;
}
.party-master__inline-field__charge-btn-group button {
  min-width: 65px;
  padding: 5px 12px;
}
.party-master__bulk-user-charge {
  margin-top: 25px;
  grid-template-columns: auto 1fr !important;
  gap: 15px;
}

.searchable-select {
  border: 1px solid #000000;
  position: relative;
  width: 100%;
}
.searchable-select__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: text;
  transition: border-color 0.15s ease-in-out;
}
.searchable-select__input:focus-within {
  background-color: #ffffcc;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}
.searchable-select__input--error {
  border-color: #ef4444;
}
.searchable-select__text-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #111827;
}
.searchable-select__value {
  font-size: 16px;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.searchable-select__value--placeholder {
  color: #9ca3af;
}
.searchable-select__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 100%;
  margin-top: 4px;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 240px;
  overflow-y: auto;
}
.searchable-select__option {
  padding: 8px 12px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  border-bottom: 1px solid #d1d5db;
}
.searchable-select__option:hover, .searchable-select__option--highlighted {
  background-color: #ffffcc;
  color: #1e40af;
}
.searchable-select__option--empty {
  color: #6b7280;
  font-style: italic;
  cursor: default;
}
.searchable-select__option--empty:hover {
  background-color: transparent;
}
.searchable-select__option--add-new {
  border-top: 1px solid #e5e7eb;
  color: #2563eb;
  font-weight: 500;
}
.searchable-select__option--add-new:hover, .searchable-select__option--add-new--highlighted {
  background-color: #ffffcc;
}
.searchable-select__sub-label {
  font-size: 16px;
  color: #6b7280;
  margin-left: 8px;
}

.carat-master {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #c8e6c9;
  overflow: hidden;
}
.carat-master__user-badge {
  font-size: var(--font-size-xs);
  color: #1b5e20;
  margin: 0;
  padding: var(--spacing-2xs) var(--spacing-sm);
  background: #a5d6a7;
  border: 1px solid #66bb6a;
  border-radius: var(--radius-sm);
  display: inline-block;
}
.carat-master__body {
  display: grid;
  grid-template-columns: minmax(350px, 40%) 1fr;
  flex: 1;
  overflow: auto;
  border: 3px solid #2e7d32;
  border-top: none;
  border-bottom: none;
  background: #bfefd7;
}
@media (max-width: 1200px) {
  .carat-master__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
}
.carat-master__form-panel {
  display: flex;
  flex-direction: column;
  background: #bfefd7;
  border-right: 2px solid #388e3c;
  overflow: auto;
  padding: var(--spacing-md);
}
.carat-master__form-content {
  flex: 1;
  overflow-y: auto;
}
.carat-master__form-content::-webkit-scrollbar {
  width: 6px;
}
.carat-master__form-content::-webkit-scrollbar-track {
  background: #c8e6c9;
}
.carat-master__form-content::-webkit-scrollbar-thumb {
  background: #81c784;
  border-radius: var(--radius-full);
}
.carat-master__form-content::-webkit-scrollbar-thumb:hover {
  background: #66bb6a;
}
.carat-master__table-panel {
  display: flex;
  flex-direction: column;
  background: #bfefd7;
  overflow: auto;
  padding: var(--spacing-xs);
}
.carat-master__form-content .form-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 10px;
  margin-bottom: 14px;
}
.carat-master__form-content .form-field__label {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  padding-top: 4px;
  white-space: nowrap;
}
.carat-master__form-content .form-field__label > span {
  display: block;
}
.carat-master__form-content .form-field__label .required-mark {
  color: red;
  display: inline;
}
.carat-master__form-content .form-field__label small {
  display: block;
  font-size: 13px;
  color: #333;
  font-weight: normal;
  white-space: nowrap;
}
.carat-master__form-content .form-field__input, .carat-master__form-content .form-field__select {
  width: 100%;
  padding: 6px 10px;
  background: white;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 15px;
  color: #000;
}
.carat-master__form-content .form-field__input:focus, .carat-master__form-content .form-field__select:focus {
  outline: none;
  background: #ffffcc;
}
.carat-master__form-content .form-field__input:disabled, .carat-master__form-content .form-field__select:disabled {
  background: #f0f0f0;
  color: #666;
}

.carat-open-stock-entry {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #e0f7fa;
  overflow: hidden;
}
.carat-open-stock-entry__body {
  display: grid;
  grid-template-columns: minmax(350px, 30%) 1fr;
  flex: 1;
  overflow: auto;
  border: 3px solid #006064;
  border-top: none;
  border-bottom: none;
  background: #b2ebf2;
}
@media (max-width: 1200px) {
  .carat-open-stock-entry__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
}
.carat-open-stock-entry__form-panel {
  display: flex;
  flex-direction: column;
  background: #b2ebf2;
  border-right: 2px solid #00838f;
  padding: var(--spacing-md);
}
.carat-open-stock-entry__form-content {
  flex: 1;
  overflow-y: auto;
}
.carat-open-stock-entry__form-content::-webkit-scrollbar {
  width: 6px;
}
.carat-open-stock-entry__form-content::-webkit-scrollbar-track {
  background: #e0f7fa;
}
.carat-open-stock-entry__form-content::-webkit-scrollbar-thumb {
  background: #4dd0e1;
  border-radius: var(--radius-full);
}
.carat-open-stock-entry__form-content::-webkit-scrollbar-thumb:hover {
  background: #26c6da;
}
.carat-open-stock-entry__table-panel {
  display: flex;
  flex-direction: column;
  background: #b2ebf2;
  overflow: hidden;
  padding: var(--spacing-xs);
}
.carat-open-stock-entry__form-content .form-section {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #00838f;
  padding: 10px;
  margin-bottom: 15px;
  position: relative;
}
.carat-open-stock-entry__form-content .form-section__title {
  font-size: 13px;
  font-weight: 700;
  color: #006064;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #00838f;
  padding-bottom: 4px;
}
.carat-open-stock-entry__form-content .form-row-split {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.carat-open-stock-entry__form-content .form-row-split .form-field {
  margin-bottom: 0;
}
@media (max-width: 1200px) {
  .carat-open-stock-entry__form-content .form-row-split .form-field {
    flex-grow: 1;
  }
}
.carat-open-stock-entry__form-content .form-field {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.carat-open-stock-entry__form-content .form-field--full {
  width: 100%;
}
.carat-open-stock-entry__form-content .form-field__label {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  white-space: nowrap;
}
.carat-open-stock-entry__form-content .form-field__label > span {
  display: block;
}
.carat-open-stock-entry__form-content .form-field__label .required-mark {
  color: red;
  display: inline;
}
.carat-open-stock-entry__form-content .form-field__label small {
  display: block;
  font-size: 13px;
  color: #333;
  font-weight: normal;
  white-space: nowrap;
}
.carat-open-stock-entry__form-content .form-field__input, .carat-open-stock-entry__form-content .form-field__select {
  width: 100%;
  padding: 6px 10px;
  background: white;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 15px;
  color: #000;
}
.carat-open-stock-entry__form-content .form-field__input:focus, .carat-open-stock-entry__form-content .form-field__select:focus {
  outline: none;
  background: #ffffcc;
}
.carat-open-stock-entry__form-content .form-field__input:disabled, .carat-open-stock-entry__form-content .form-field__select:disabled {
  background: #f0f0f0;
  color: #666;
}

.plank-master {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #efebe9;
  overflow: hidden;
}
.plank-master__body {
  display: grid;
  grid-template-columns: minmax(350px, 40%) 1fr;
  flex: 1;
  overflow: auto;
  border: 3px solid #4e342e;
  border-top: none;
  border-bottom: none;
  background: #e1ccdd;
}
@media (max-width: 1200px) {
  .plank-master__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
}
.plank-master__form-panel {
  display: flex;
  flex-direction: column;
  background: #e1ccdd;
  border-right: 2px solid #5d4037;
  overflow: hidden;
  padding: var(--spacing-md);
}
.plank-master__form-content {
  flex: 1;
  overflow-y: auto;
}
.plank-master__form-content::-webkit-scrollbar {
  width: 6px;
}
.plank-master__form-content::-webkit-scrollbar-track {
  background: #efebe9;
}
.plank-master__form-content::-webkit-scrollbar-thumb {
  background: #a1887f;
  border-radius: var(--radius-full);
}
.plank-master__form-content::-webkit-scrollbar-thumb:hover {
  background: #8d6e63;
}
.plank-master__table-panel {
  display: flex;
  flex-direction: column;
  background: #e1ccdd;
  overflow: hidden;
  padding: var(--spacing-xs);
}
.plank-master__form-content .form-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 10px;
  margin-bottom: 14px;
}
.plank-master__form-content .form-field__label {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  padding-top: 8px;
  white-space: nowrap;
}
.plank-master__form-content .form-field__label > span {
  display: block;
}
.plank-master__form-content .form-field__label .required-mark {
  color: red;
  display: inline;
}
.plank-master__form-content .form-field__label small {
  display: block;
  font-size: 13px;
  color: #333;
  font-weight: normal;
  white-space: nowrap;
}
.plank-master__form-content .form-field__input, .plank-master__form-content .form-field__select {
  width: 100%;
  padding: 6px 10px;
  background: white;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 15px;
  color: #000;
}
.plank-master__form-content .form-field__input:focus, .plank-master__form-content .form-field__select:focus {
  outline: none;
  background: #ffffcc;
}
.plank-master__form-content .form-field__input:disabled, .plank-master__form-content .form-field__select:disabled {
  background: #f0f0f0;
  color: #666;
}

.item-master {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #fefce8;
  overflow: hidden;
}
.item-master__body {
  display: grid;
  grid-template-columns: minmax(600px, 40%) 1fr;
  flex: 1;
  overflow: auto;
  border: 3px solid #ca8a04;
  border-top: none;
  border-bottom: none;
  background: #f0efbf;
}
@media (max-width: 1200px) {
  .item-master__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
}
.item-master__left-panel {
  display: flex;
  flex-direction: column;
  background: #f0efbf;
  border-right: 2px solid #eab308;
  overflow: hidden;
  padding: var(--spacing-md);
}
.item-master__form-content {
  flex: 1;
  overflow-y: auto;
}
.item-master__form-content::-webkit-scrollbar {
  width: 6px;
}
.item-master__form-content::-webkit-scrollbar-track {
  background: #fefce8;
}
.item-master__form-content::-webkit-scrollbar-thumb {
  background: #fde047;
  border-radius: var(--radius-full);
}
.item-master__form-content::-webkit-scrollbar-thumb:hover {
  background: #facc15;
}
.item-master__center-panel {
  display: flex;
  flex-direction: column;
  background: #f0efbf;
  overflow: hidden;
  padding: var(--spacing-xs);
}
.item-master__table-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  background: #f0efbf;
  margin-bottom: 4px;
}
.item-master__table-filter-row label {
  font-weight: 700;
  color: #422006;
  font-size: 14px;
  white-space: nowrap;
}
.item-master__filter-input {
  flex: 1;
  padding: 4px 8px;
  height: 30px;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 14px;
  color: #000;
  background: #fff;
}
.item-master__filter-input:focus {
  outline: 2px solid #2196f3;
  border-color: #2196f3;
}
.item-master__filter-input {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 8px;
  height: auto;
}
.item-master__btn-group {
  display: flex;
  gap: 12px;
}
.item-master__radio-btn {
  padding: 0 16px;
  height: 32px;
  font-size: 14px;
  font-weight: 500;
  border: 2px outset #ddd;
  border-radius: 0;
  cursor: pointer;
  min-width: 60px;
  transition: all 0.1s;
  background: #f0f0f0;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-master__radio-btn:active, .item-master__radio-btn.active {
  border-style: inset;
  background: #d0d0d0;
  font-weight: bold;
}
.item-master__radio-btn--yes {
  background: #d1fae5;
}
.item-master__radio-btn--yes.active {
  background: #86efac;
}
.item-master__radio-btn--no {
  background: #fee2e2;
}
.item-master__radio-btn--no.active {
  background: #fca5a5;
}
.item-master__bulk-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
}
.item-master__bulk-btn {
  flex: 1;
  padding: 6px 12px;
  background: #a0a0a0;
  border: 2px outset #f0f0f0;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  border-radius: 0;
}
.item-master__bulk-btn:active {
  border-style: inset;
  background: #909090;
}
.item-master__bulk-btn:disabled {
  color: #666;
  background: #d0d0d0;
  cursor: not-allowed;
}
.item-master__form-content .form-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.item-master__form-content .form-field--inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.item-master__form-content .form-field--inline .form-field__label {
  width: auto;
  min-width: fit-content;
  text-align: right;
}
.item-master__form-content .form-field--inline .form-field__input {
  flex: 1;
  min-width: 0;
}
.item-master__form-content .form-field--top-aligned {
  align-items: flex-start;
}
.item-master__form-content .form-field--top-aligned .form-field__label {
  padding-top: 6px;
}
.item-master__form-content .form-field--item-code-row {
  display: grid;
  grid-template-columns: 140px 1fr auto 100px;
  gap: 10px;
  align-items: center;
}
.item-master__form-content .form-field__input-wrapper {
  flex: 1;
}
.item-master__form-content .form-field__label {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  padding-top: 0;
}
.item-master__form-content .form-field__label span {
  display: block;
}
.item-master__form-content .form-field__label--auto-width {
  text-align: right;
  min-width: auto;
}
.item-master__form-content .form-field__input, .item-master__form-content .form-field__select, .item-master__form-content .form-field__textarea {
  width: 100%;
  padding: 4px 8px;
  background: white;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 16px;
  color: #000;
  height: 38px;
}
.item-master__form-content .form-field__input:focus, .item-master__form-content .form-field__select:focus, .item-master__form-content .form-field__textarea:focus {
  outline: none;
  background: #ffffcc;
}
.item-master__form-content .form-field__input:disabled, .item-master__form-content .form-field__select:disabled, .item-master__form-content .form-field__textarea:disabled {
  background: #f0f0f0;
  color: #666;
}
.item-master__form-content .form-field__input--readonly-code, .item-master__form-content .form-field__select--readonly-code, .item-master__form-content .form-field__textarea--readonly-code {
  background: #f3f4f6;
  text-align: center;
}
.item-master__form-content .form-field__textarea {
  height: 80px;
  resize: none;
  font-family: inherit;
}
.item-master__form-content .form-field__radio-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 4px 0;
}
.item-master__form-content .form-field__radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  user-select: none;
}
.item-master__form-content .form-field__radio-label input[type=radio] {
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #0078d7;
}
.item-master__form-content .form-field__radio-label span {
  display: block;
  padding-top: 2px;
}
.item-master__form-content .form-field__checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  padding: 4px 0;
  width: 100%;
}
.item-master__form-content .form-field__checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  user-select: none;
}
.item-master__form-content .form-field__checkbox-label input[type=checkbox] {
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #0078d7;
}
.item-master__form-content .form-field__checkbox-label span {
  display: block;
  padding-top: 2px;
}
.item-master .group-border {
  border: 2px dashed #ca8a04;
  padding: 10px 0px 0px 0px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.item-master-modal {
  background: #f0f0f0 !important;
  border: 2px outset #ffffff !important;
  border-radius: 0 !important;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5) !important;
  padding: 0 !important;
  max-width: 400px !important;
  color: black;
  font-family: inherit;
}
.item-master-modal .modal__header {
  background: #edf0c0;
  padding: 4px 8px;
  margin: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d4d416;
}
.item-master-modal .modal__close {
  background: #c0c0c0;
  border: 2px outset #ffffff;
  border-radius: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  color: black;
}
.item-master-modal .modal__close svg {
  width: 16px;
  height: 16px;
}
.item-master-modal .modal__close:hover {
  background: #d0d0d0;
}
.item-master-modal .modal__close:active {
  border-style: inset;
}
.item-master-modal .modal__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f0f0f0;
}
.item-master-modal .bulk-update-content .form-group {
  margin-bottom: 15px;
}
.item-master-modal .bulk-update-content .form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333300;
}
.item-master-modal .bulk-update-content .form-group input {
  width: 100%;
  padding: 8px;
  border: 2px inset #ffffff;
  background: white;
  font-size: 1rem;
}
.item-master-modal .bulk-update-content .form-group input:focus {
  outline: 2px solid #d4d416;
}
.item-master-modal .bulk-update-content .modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.header-indicators {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-right: 1rem;
}
.header-indicators .indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 2px 4px;
  background-color: #eeeeee;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #848484;
  border-bottom: 1px solid #848484;
  box-shadow: 1px 1px 0 0 #000000;
  opacity: 0.6;
  transition: all 0.1s;
  cursor: default;
  min-width: 70px;
  justify-content: center;
  margin-top: -8px;
  margin-bottom: 2px;
}
.header-indicators .indicator--active {
  opacity: 1;
}
.header-indicators .indicator--active .indicator__light {
  background-color: #00ff00;
  box-shadow: 0 0 5px #00ff00;
  border: 1px solid #004d00;
}
.header-indicators .indicator--active .indicator__label {
  color: #000000;
  text-shadow: none;
}
.header-indicators .indicator__light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #555;
  border: 1px solid #333;
  box-shadow: inset 1px 1px 1px #000;
}
.header-indicators .indicator__label {
  color: #444;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background-color: var(--color-bg-secondary);
  text-align: center;
}
.not-found__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.not-found__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.not-found__orb--1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  top: -150px;
  right: -150px;
}
.not-found__orb--2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6366f1 0%, #60a5fa 100%);
  bottom: -100px;
  left: -100px;
}
.not-found__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px var(--color-card-shadow);
  border: 1px solid var(--color-border-primary);
  background-color: rgba(255, 255, 255, 0.05);
}
@media (min-width: 768px) {
  .not-found__content {
    padding: 3rem 2rem;
  }
}
.not-found__code {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #3b82f6;
  letter-spacing: -0.05em;
}
@media (min-width: 768px) {
  .not-found__code {
    font-size: 10rem;
  }
}
.not-found__code {
  animation: float 6s ease-in-out infinite;
}
.not-found__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .not-found__title {
    font-size: 1.875rem;
  }
}
.not-found__description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.not-found__action {
  display: flex;
  justify-content: center;
}
.not-found__action .btn {
  min-width: 200px;
  height: 50px;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.not-found__action .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
:root body .data-table__row {
  cursor: pointer;
  transition: all 0.1s ease;
}
:root body .data-table__row:hover td {
  background-color: #e0f2fe !important;
}
:root body .data-table__row.data-table__row--selected, :root body .data-table__row.data-table__row--checked {
  background-color: #bae6fd !important;
}
:root body .data-table__row.data-table__row--selected td, :root body .data-table__row.data-table__row--checked td {
  background-color: #bae6fd !important;
  color: #000 !important;
  border-top: 2px solid #0ea5e9 !important;
  border-bottom: 2px solid #0ea5e9 !important;
}
:root body .data-table__row.data-table__row--selected td:first-child, :root body .data-table__row.data-table__row--checked td:first-child {
  border-left: 2px solid #0ea5e9 !important;
}
:root body .data-table__row.data-table__row--selected td:last-child, :root body .data-table__row.data-table__row--checked td:last-child {
  border-right: 2px solid #0ea5e9 !important;
}
:root body .data-table__row.data-table__row--selected *, :root body .data-table__row.data-table__row--checked * {
  color: #000 !important;
}
:root body .data-table__foot {
  position: sticky;
  bottom: 0;
  z-index: 20;
}
:root body .data-table__foot td,
:root body .data-table__foot tr {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin-top: -5px;
  background-color: #fce7f3;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.data-table__search {
  position: relative;
  margin-bottom: 1rem;
  max-width: 300px;
}
.data-table__search-input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s;
  font-size: 0.875rem;
}
.data-table__search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.data-table__search-clear {
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  border-radius: 9999px;
  color: #94a3b8;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.data-table__search-clear:hover {
  background-color: #f1f5f9;
  color: #ef4444;
}
.data-table__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
}
.data-table__pagination-info {
  font-size: 0.875rem;
  color: #64748b;
}
.data-table__pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.data-table__pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  line-height: 1;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  color: #64748b;
  background-color: transparent;
  transition: all 0.2s;
}
.data-table__pagination-btn:hover:not(:disabled) {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}
.data-table__pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8fafc;
}
.data-table__pagination-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.5;
}
.data-table__pagination-page {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  padding: 0 0.5rem;
}

.settings-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #e0e0e0;
  overflow: hidden;
}
.settings-page__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: auto;
  border: 3px solid #666;
  border-top: none;
  border-bottom: none;
  background: #dcdcdc;
  padding: var(--spacing-md);
}
.settings-page__form-container {
  flex: 1;
  overflow-y: auto;
  padding-right: var(--spacing-md);
}
.settings-page__form-container::-webkit-scrollbar {
  width: 6px;
}
.settings-page__form-container::-webkit-scrollbar-track {
  background: #e0e0e0;
}
.settings-page__form-container::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: var(--radius-full);
}
.settings-page__form-container::-webkit-scrollbar-thumb:hover {
  background: #777;
}
.settings-page__group {
  background: #e0e0e0;
  border: 2px solid #999;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}
.settings-page__group-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: var(--spacing-md);
  border-bottom: 2px solid #999;
  padding-bottom: var(--spacing-xs);
  text-transform: uppercase;
}
.settings-page .form-field {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  max-width: 800px;
}
.settings-page .form-field__label {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}
.settings-page .form-field__input, .settings-page .form-field__select {
  width: 100%;
  padding: 8px 12px;
  background: white;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 15px;
  color: #000;
}
.settings-page .form-field__input:focus, .settings-page .form-field__select:focus {
  outline: none;
  background: #ffffcc;
}
.settings-page .form-field__input:disabled, .settings-page .form-field__select:disabled {
  background: #e0e0e0;
  color: #555;
  font-style: italic;
}
.settings-page .form-field__hint {
  grid-column: 2;
  font-size: 12px;
  color: #666;
  margin-top: -10px;
}

.entry-form {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #ced5ea;
  overflow: hidden;
  /* -------------------------------------------------------------------------- */
  /*                                    Body                                    */
  /* -------------------------------------------------------------------------- */
}
.entry-form__body {
  display: flex;
  flex: 1;
  overflow: auto;
  border-top: 1px solid white;
  color: #36457a;
}
.entry-form {
  /* -------------------------------------------------------------------------- */
  /*                                 Left Panel                                 */
  /* -------------------------------------------------------------------------- */
}
.entry-form__left-panel {
  width: 30%;
  min-width: 580px;
  border-right: 3px solid #7a82a0;
  padding: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #e6ebf5;
}
.entry-form__form-content {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  overflow-x: hidden;
}
.entry-form__top-fields {
  padding-bottom: 8px;
}
.entry-form__top-fields .date-field,
.entry-form__top-fields .bill-no {
  width: 330px !important;
}
.entry-form__transaction-fields {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding-top: 8px;
}
.entry-form__transaction-fields .transaction-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.entry-form__divider {
  height: 12px;
  background: linear-gradient(to bottom, #cfd7ed 0%, #f0f4fc 50%, #cfd7ed 100%);
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  margin: 4px -8px;
}
.entry-form {
  /* -------------------------------------------------------------------------- */
  /*                                Right Panel                                 */
  /* -------------------------------------------------------------------------- */
}
.entry-form__right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ced5ea;
}
.entry-form__right-top {
  height: 280px;
  display: flex;
  border-bottom: 3px solid #7a82a0;
  padding: 8px;
  gap: 4px;
  background: #ced5ea;
}
.entry-form .right-col-inputs {
  width: 35%;
  display: flex;
  flex-direction: column;
}
.entry-form .market-cess-container {
  border: 2px solid #9ba3bf;
  background: #b6bad8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 1px;
  margin-left: -4.5px;
}
.entry-form .market-cess-container .cess-box {
  background: #90ee90;
  border: 1px solid #7a82a0;
  padding: 2px 40px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}
.entry-form .top-fields {
  width: 330px !important;
}
.entry-form .right-col-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #b6bad8;
  border: 2px solid #9ba3bf;
  padding: 2px;
  font-weight: bold;
  font-size: 16px;
  overflow-y: scroll;
}
.entry-form .right-col-list .list-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px;
  border-bottom: 1px solid #999;
  color: #36457a;
}
.entry-form .right-col-list .list-row:last-child {
  border-bottom: none;
}
.entry-form .right-col-list .list-num {
  font-weight: 800;
}
.entry-form .right-col-list .list-total {
  margin-top: auto;
  text-align: right;
  padding: 4px;
  font-size: 16px;
  font-weight: 800;
  border-top: 2px solid #7a82a0;
}
.entry-form .right-col-accounting {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.entry-form .right-col-accounting .ac-section {
  border: 2px solid #9ba3bf;
  background: #b6bad8;
  padding: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.entry-form .right-col-accounting .section-label {
  font-weight: bold;
  font-size: 12px;
  text-align: left;
  background: #e0e0e0;
  margin-bottom: 2px;
  border: 1px solid #999;
}
.entry-form .right-col-accounting .ac-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.entry-form .right-col-accounting .ac-row label {
  width: 55px;
  text-align: right;
  font-size: 14px;
  font-weight: bold;
}
.entry-form .right-col-accounting .ac-row .ac-input {
  flex: 1;
  border: 1px solid #7a82a0;
  padding: 0 4px;
  font-weight: bold;
  height: 22px;
  background: white;
  text-align: right;
  width: 100%;
}
.entry-form .right-col-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 2px solid #7a82a0;
  background: white;
  margin-left: 2px;
}
.entry-form .right-col-table .box-qty-table-wrapper {
  flex: 1;
  overflow: auto;
}
.entry-form .right-col-table .table-footer {
  border-top: 2px solid #7a82a0;
  background: #e0e0e0;
  padding: 2px 4px;
  font-weight: bold;
  display: flex;
  font-size: 13px;
}
.entry-form {
  /* -------------------------------------------------------------------------- */
  /*                                Right Bottom                                */
  /* -------------------------------------------------------------------------- */
}
.entry-form__right-bottom {
  flex: 1;
  display: flex;
  padding: 4px;
  gap: 4px;
  overflow: hidden;
}
.entry-form .grid-section {
  border: 2px solid #7a82a0;
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.entry-form .entry-grid-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #7a82a0;
}
.entry-form .section-header {
  background: #ced5ea;
  border-bottom: 1px solid #7a82a0;
  padding: 2px 4px;
  font-weight: bold;
  font-size: 13px;
  color: #36457a;
  text-align: center;
}
.entry-form .section-footer {
  border-top: 1px solid #7a82a0;
  padding: 2px 4px;
  font-weight: bold;
  font-size: 13px;
  display: flex;
}
.entry-form {
  /* -------------------------------------------------------------------------- */
  /*                            Common Form Elements                            */
  /* -------------------------------------------------------------------------- */
}
.entry-form .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.entry-form .form-label {
  width: 120px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 8px;
  font-weight: 700;
  font-size: 16px;
  color: #36457a;
  white-space: nowrap;
}
.entry-form .form-input {
  width: 100%;
  height: 28px;
  padding: 0 6px;
  border: 1px solid #7a82a0;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  background: white;
}
.entry-form .form-input:focus {
  outline: 2px solid #5a6b7d;
  background: #ffffcc;
}
.entry-form .form-input--orange {
  background: #ffcc80 !important;
}
.entry-form .form-input--bold {
  font-weight: 800;
}
.entry-form .form-input--blue {
  background: #b3c7ff;
}
.entry-form .form-input--blue-box {
  background: #b3c7ff;
  border: 1px solid #36457a;
  text-align: center;
}
.entry-form .form-input::placeholder {
  color: #36457a;
}
.entry-form .form-input:disabled {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(0, 0, 0, 0.2);
}
.entry-form .info-text,
.entry-form .display-text {
  font-weight: bold;
  color: #36457a;
  font-size: 16px;
}
.entry-form {
  /* -------------------------------------------------------------------------- */
  /*                                   Tables                                   */
  /* -------------------------------------------------------------------------- */
}
.entry-form .mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.entry-form .mini-table thead {
  position: sticky;
  top: 0;
  background: #e0e0e0;
  z-index: 1;
}
.entry-form .mini-table thead th {
  border: 1px solid #999;
  padding: 1px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  color: #000;
}
.entry-form .mini-table td {
  border: 1px solid #ccc;
  padding: 1px 4px;
  color: #000;
}
.entry-form .mini-table td button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #ff0000;
}
.entry-form .mini-table td button svg {
  width: 16px;
  height: 16px;
  display: block;
  color: #ff0000;
}
.entry-form .mini-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}
.entry-form .mini-table tr.selected-row {
  background-color: #3b82f6 !important;
  color: white !important;
}
.entry-form .mini-table tr.selected-row td {
  background-color: #3b82f6 !important;
  color: white !important;
  border-color: #2563eb;
}
.entry-form__legend-overlay {
  position: static;
  background: #e6ebf5;
  border: 2px solid #7a82a0;
  padding: 6px 12px;
  width: 155px;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}
.entry-form__legend-overlay .legend-title {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 6px;
  text-decoration: underline;
}
.entry-form__legend-overlay .legend-list {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.entry-form__legend-overlay .legend-list li {
  margin-bottom: 1px;
  white-space: nowrap;
}
.entry-form {
  /* -------------------------------------------------------------------------- */
  /*                            Refactored Classes                              */
  /* -------------------------------------------------------------------------- */
}
.entry-form__transaction-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.entry-form__inputs-col {
  display: flex;
  flex-direction: column;
}
.entry-form__input-std {
  width: 232px !important;
}
.entry-form__input-price {
  width: 169px !important;
}
.entry-form__input-comm {
  width: 60px !important;
  margin-left: 3px !important;
}
.entry-form__input-info {
  height: 36px;
  width: 60px !important;
  margin-left: 5px;
}
.entry-form__suffix {
  margin-left: 5px;
  font-weight: bold;
}
.entry-form__suffix--pt {
  padding-top: 5px;
}
.entry-form__legend-container {
  position: static;
  width: 155px;
  flex-shrink: 0;
}
.entry-form__legend-separator {
  display: block;
  border-bottom: 1px dashed black;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}
.entry-form__cess-wrapper {
  border: none !important;
  background: transparent !important;
  margin-left: 0 !important;
}
.entry-form__cess-title {
  font-size: 14px;
}
.entry-form__cess-box {
  padding: 2px !important;
  font-size: 16px !important;
}
.entry-form__cess-box--commission {
  background: #e0f2f1 !important;
}
.entry-form__carat-section--disabled {
  opacity: 0.5;
  pointer-events: none;
}
.entry-form__carat-label {
  width: 50px;
}
.entry-form__carat-input {
  height: 36px;
  width: 340px !important;
}
.entry-form__table-act-header {
  width: 30px;
}
.entry-form__footer {
  background-color: #ced5ea;
  border: 3px solid #7a82a0;
  border-top: 2px solid #68749e;
}
.entry-form {
  /* -------------------------------------------------------------------------- */
  /*                                Responsive 1366px (Compact Laptop)          */
  /* -------------------------------------------------------------------------- */
}
@media (max-width: 1366px) {
  .entry-form__left-panel {
    min-width: 380px;
    width: 35%;
    padding: 2px;
  }
  .entry-form__right-top {
    height: 240px;
  }
  .entry-form .form-row {
    margin-bottom: 1px;
  }
  .entry-form .form-label {
    width: 100px;
    font-size: 13px;
    padding-right: 6px;
  }
  .entry-form .form-input {
    height: 22px;
    font-size: 13px;
    padding: 0 4px;
  }
  .entry-form__divider {
    height: 4px;
    margin: 2px -4px;
  }
  .entry-form__top-fields {
    padding-bottom: 2px;
  }
  .entry-form__top-fields .bill-no,
  .entry-form__top-fields .date-field {
    width: 250px !important;
  }
  .entry-form__transaction-fields {
    padding-top: 2px;
  }
  .entry-form .info-text,
  .entry-form .display-text {
    font-size: 13px;
  }
  .entry-form__input-std {
    width: 200px !important;
  }
  .entry-form__input-price {
    width: 140px !important;
  }
  .entry-form__input-comm {
    width: 50px !important;
  }
  .entry-form__input-info {
    height: 22px;
    width: 50px !important;
  }
  .entry-form__legend-container {
    width: 130px;
  }
  .entry-form__legend-container .legend-title {
    font-size: 13px;
    margin-bottom: 2px;
  }
  .entry-form__legend-container .legend-list {
    font-size: 11px;
  }
  .entry-form__legend-container .legend-list li {
    margin-bottom: 0;
  }
  .entry-form__legend-container__legend-separator {
    margin: 4px 0;
  }
  .entry-form__cess-title {
    font-size: 12px;
  }
  .entry-form__cess-box {
    font-size: 13px !important;
    padding: 0px 10px !important;
  }
  .entry-form .right-col-inputs {
    width: 32%;
  }
  .entry-form .market-cess-container {
    gap: 2px;
  }
  .entry-form .right-col-list {
    font-size: 12px;
  }
  .entry-form .right-col-list .list-total {
    font-size: 12px;
    padding: 2px;
  }
  .entry-form .section-label {
    font-size: 11px;
    margin-bottom: 1px;
  }
  .entry-form .ac-row {
    gap: 1px;
  }
  .entry-form .ac-row label {
    width: 45px;
    font-size: 12px;
  }
  .entry-form .ac-row .ac-input {
    font-size: 12px;
    height: 20px;
  }
  .entry-form .mini-table {
    font-size: 11px;
  }
  .entry-form .mini-table th,
  .entry-form .mini-table td {
    padding: 0px 2px;
  }
  .entry-form .section-header {
    font-size: 11px;
    padding: 1px 4px;
  }
  .entry-form .section-footer {
    font-size: 11px;
    padding: 1px 4px;
  }
  .entry-form__carat-label {
    width: 40px;
    font-size: 12px;
  }
  .entry-form__carat-input {
    height: 28px;
    width: 240px !important;
  }
  .entry-form .windows-btn {
    height: 28px;
    padding: 0 6px;
  }
  .entry-form .windows-btn-text {
    font-size: 12px;
  }
  .entry-form .windows-btn-key {
    font-size: 10px;
  }
  .entry-form__transaction-container {
    gap: 6px;
  }
  .entry-form__top-fields .form-input {
    max-width: 280px;
  }
  .entry-form {
    /* Fix for CustomDateField visibility in compact mode */
  }
  .entry-form .custom-date-field__input {
    padding-right: 30px !important;
  }
  .entry-form .custom-date-field__calendar-btn {
    padding: 1px !important;
    height: 20px;
    width: 20px;
    right: 2px;
  }
  .entry-form .custom-date-field__calendar-btn span {
    font-size: 14px;
    line-height: 1;
  }
  .entry-form {
    /* Fix for SearchableSelect sizing in compact mode */
  }
  .entry-form .searchable-select__input {
    min-height: 22px !important;
    height: 22px !important;
    padding: 0 4px !important;
    font-size: 13px;
  }
  .entry-form .searchable-select__value, .entry-form .searchable-select__text-input {
    font-size: 13px !important;
    line-height: 20px;
  }
  .entry-form .searchable-select__sub-label {
    font-size: 12px !important;
  }
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100002;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-container > * {
  pointer-events: auto;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
.toast-container .toast {
  min-width: 320px;
  max-width: 450px;
  padding: 16px 20px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  position: relative;
  overflow: hidden;
  border-left: 6px solid transparent;
}
.toast-container .toast__content {
  flex: 1;
  margin-right: 12px;
}
.toast-container .toast__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}
.toast-container .toast__close:hover {
  color: #333;
}
.toast-container .toast--success {
  border-left-color: #10b981;
  background: #f0fdf4;
  color: #166534;
}
.toast-container .toast--success .toast__close {
  color: #166534;
  opacity: 0.6;
}
.toast-container .toast--success .toast__close:hover {
  opacity: 1;
}
.toast-container .toast--error {
  border-left-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}
.toast-container .toast--error .toast__close {
  color: #991b1b;
  opacity: 0.6;
}
.toast-container .toast--error .toast__close:hover {
  opacity: 1;
}
.toast-container .toast--info {
  border-left-color: #3b82f6;
  background: #eff6ff;
  color: #1e40af;
}
.toast-container .toast--info .toast__close {
  color: #1e40af;
  opacity: 0.6;
}
.toast-container .toast--info .toast__close:hover {
  opacity: 1;
}
.toast-container .toast--warning {
  border-left-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}
.toast-container .toast--warning .toast__close {
  color: #92400e;
  opacity: 0.6;
}
.toast-container .toast--warning .toast__close:hover {
  opacity: 1;
}
.toast-container .toast.is-exiting {
  animation: fadeOutRight 0.4s ease-in forwards;
}

.custom-date-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.custom-date-field__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.custom-date-field__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.custom-date-field__input {
  width: 100%;
  font-weight: 700;
}
.custom-date-field__input--error {
  border-color: var(--color-danger);
}
.custom-date-field__calendar-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin-right: 2px;
}
.custom-date-field__calendar-btn:hover {
  background-color: var(--color-bg-hover);
}
.custom-date-field__hidden-date {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
}
.custom-date-field__error-msg {
  font-size: 0.75rem;
  color: var(--color-danger);
  margin-top: 0.25rem;
}

.credit-entry-form {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #e6dcd5;
  overflow: hidden;
  /* -------------------------------------------------------------------------- */
  /*                                    Body                                    */
  /* -------------------------------------------------------------------------- */
}
.credit-entry-form__body {
  display: flex;
  flex: 1;
  overflow: auto;
  border-top: 1px solid white;
  padding: 8px;
  gap: 8px;
}
.credit-entry-form {
  /* -------------------------------------------------------------------------- */
  /*                                 Left Panel                                 */
  /* -------------------------------------------------------------------------- */
}
.credit-entry-form__left-panel {
  width: 35%;
  min-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credit-entry-form .form-section {
  border: 2px solid #8d6e63;
  border-radius: 4px;
  padding: 8px;
  background: #efebe9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.credit-entry-form .form-section--info {
  background: #d7ccc8;
}
.credit-entry-form .input-with-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.credit-entry-form .input-with-icon-wrapper .form-input {
  width: 100%;
  padding-right: 24px;
}
.credit-entry-form .input-with-icon-wrapper .input-icon-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  color: #5d4037;
}
.credit-entry-form .input-with-icon-wrapper .input-icon-btn:hover {
  color: #3e2723;
}
.credit-entry-form .party-info-grid {
  display: grid;
  grid-template-columns: 127px 1fr;
  border: 1px solid #795548;
  background: #fff;
  margin-top: 10px;
}
.credit-entry-form .party-info-grid__cell {
  padding: 2px 6px;
  border-right: 1px solid #795548;
  border-bottom: 1px solid #795548;
  font-size: 14px;
  font-weight: bold;
  background: #fff9c4;
  color: #3e2723;
}
.credit-entry-form .party-info-grid__cell:nth-child(2n) {
  border-right: none;
}
.credit-entry-form .party-info-grid__cell:nth-last-child(-n+2) {
  border-bottom: none;
}
.credit-entry-form .party-info-grid__cell--header {
  text-align: right;
  background: #5d4037;
  color: #efebe9;
  font-weight: bold;
}
.credit-entry-form {
  /* -------------------------------------------------------------------------- */
  /*                                Right Panel                                 */
  /* -------------------------------------------------------------------------- */
}
.credit-entry-form__right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credit-entry-form .data-grid-container {
  flex: 1;
  border: 2px solid #8d6e63;
  border-radius: 4px;
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.credit-entry-form {
  /* -------------------------------------------------------------------------- */
  /*                            Common Form Elements                            */
  /* -------------------------------------------------------------------------- */
}
.credit-entry-form .form-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.credit-entry-form .form-label {
  width: 120px;
  text-align: right;
  font-weight: bold;
  font-size: 16px;
  color: #3e2723;
  white-space: nowrap;
}
.credit-entry-form .form-input {
  flex: 1;
  height: 28px;
  padding: 0 6px;
  border: 1px solid #a1887f;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  background: white;
}
.credit-entry-form .form-input:focus {
  outline: 2px solid #5d4037;
  background: #fff8e1;
}
.credit-entry-form .form-input--yellow {
  background: #fff9c4;
}
.credit-entry-form .form-input--readonly {
  background: gray;
  color: black;
}

.carat-entry-form {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #eed9c1;
  overflow: hidden;
}
.carat-entry-form__body {
  display: flex;
  flex: 1;
  overflow: auto;
  border-top: 1px solid white;
  padding: 5px;
  gap: 5px;
}
.carat-entry-form .panel {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.carat-entry-form .panel--left {
  width: 30%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.carat-entry-form .panel--right {
  flex: 1;
  min-width: 0;
}
.carat-entry-form .adjust-section {
  display: flex;
  flex-direction: row;
  gap: 5px;
  width: 100%;
}
.carat-entry-form .adjust-section > div {
  flex: 1;
  min-width: 0;
}
.carat-entry-form .adjust-section .form-row--spread .form-label {
  min-width: unset;
  flex: 1;
  text-align: right;
}
.carat-entry-form .adjust-section .form-row--spread .form-input {
  width: 75%;
  text-align: right;
}
.carat-entry-form .input-with-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.carat-entry-form .input-with-icon-wrapper .input-icon-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  color: #5d4037;
}
.carat-entry-form .input-with-icon-wrapper .input-icon-btn:hover {
  color: #3e2723;
}
.carat-entry-form .form-group-box {
  border: 2px solid #5d4037;
  padding: 8px;
  background: #efebe9;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 4px;
}
.carat-entry-form .form-group-box__title {
  font-weight: 700;
  font-size: 13px;
  color: #3e2723;
  background: #d7ccc8;
  padding: 2px 6px;
  margin: -8px -8px 4px -8px;
  border-bottom: 1px solid #5d4037;
  border-radius: 2px 2px 0 0;
}
.carat-entry-form .form-group-box--bottom {
  margin-top: auto;
}
.carat-entry-form .form-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carat-entry-form .form-row--spread {
  justify-content: space-between;
}
.carat-entry-form .form-label {
  font-weight: 800;
  color: #3e2723;
  font-size: 16px;
  white-space: nowrap;
  min-width: 100px;
  text-align: right;
}
.carat-entry-form .form-label--small {
  min-width: 60px;
  font-size: 14px;
}
.carat-entry-form .form-input {
  width: 100%;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #7a82a0;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  background: white;
}
.carat-entry-form .form-input:focus {
  outline: 2px solid #5a6b7d;
  background: #ffffcc;
}
.carat-entry-form .form-input--yellow {
  background: #fff9c4;
}
.carat-entry-form .form-input--orange {
  background: #ffcc80;
}
.carat-entry-form .form-input--bold {
  font-weight: 800;
}
.carat-entry-form .grid-container {
  border: 2px solid #5d4037;
  background: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}
.carat-entry-form .data-table {
  width: 100%;
  border-collapse: collapse;
}
.carat-entry-form .data-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #e0e0e0;
}
.carat-entry-form .data-table thead th {
  border: 1px solid #9e9e9e;
  padding: 4px;
  text-align: left;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}
.carat-entry-form .data-table tbody td {
  border: 1px solid #e0e0e0;
  padding: 2px 4px;
  font-size: 14px;
}
.carat-entry-form .data-table tbody tr:nth-child(even) {
  background: #f5f5f5;
}
.carat-entry-form .data-table tbody tr:hover {
  background: #e3f2fd;
  cursor: pointer;
}
.carat-entry-form .data-table tbody tr.selected {
  background: #bbdefb;
}
.carat-entry-form .table-header {
  font-weight: 700;
  font-size: 13px;
  color: #3e2723;
  background: #d7ccc8;
  padding: 6px 10px;
  border-bottom: 1px solid #5d4037;
  border-radius: 2px 2px 0 0;
}

.carat-collection {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #dcedc0;
  overflow: hidden;
}
.carat-collection__body {
  flex: 1;
  overflow: auto;
  border: 3px solid #000000;
  border-top: none;
  border-bottom: none;
  background: #d8f0c0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.carat-collection__top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 4px;
}
.carat-collection__top-bar .form-row {
  display: flex;
  align-items: center;
  width: 50%;
  gap: 10px;
  position: relative;
}
.carat-collection__top-bar .form-label {
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  font-size: 16px;
}
.carat-collection__top-bar .date-input {
  width: 150px;
  padding: 4px 8px;
  padding-right: 30px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid #000;
  outline: none;
  text-align: center;
  background-color: white;
}
.carat-collection__top-bar .date-input:focus {
  background: #fff;
  border: 2px solid #000;
}
.carat-collection__top-bar .calendar-icon-btn {
  margin-left: -25px;
}
.carat-collection__top-bar .hidden-date-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.carat-collection__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  background: #dcedc0;
  border: 3px solid #000000;
  border-top: 2px solid #000000;
  flex-shrink: 0;
}

.collection-letter {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #edf0c0;
  overflow: hidden;
}
.collection-letter__body {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto 1fr;
  flex: 1;
  overflow: auto;
  border: 1px solid #4a4d1a;
  border-bottom: none;
  background: white;
  padding: 0;
  gap: 0;
}
.collection-letter__date-row {
  background: #edf0c0;
  border-bottom: 3px solid #7a82a0;
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-right: 3px solid #7a82a0;
}
.collection-letter__right-header {
  background: #008000;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border-bottom: 3px solid #7a82a0;
}
.collection-letter__controls-section {
  background: #edf0c0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.collection-letter__date-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #000;
}
.collection-letter__date-group .day-name {
  margin-left: 16px;
  font-style: italic;
  font-weight: bold;
}
.collection-letter__summary-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.collection-letter__summary-row label {
  font-weight: bold;
  color: #000;
  text-align: right;
  font-size: 14px;
  flex: 1;
}
.collection-letter__summary-row input {
  width: 120px;
  padding: 4px;
  border: 1px solid #777;
  font-weight: bold;
  color: #000;
  text-align: right;
  font-size: 14px;
}
.collection-letter__summary-row input:disabled {
  opacity: 1;
  -webkit-text-fill-color: #000;
  border-color: #555;
}
.collection-letter .summary-box--debit {
  background-color: #ffe4e1;
}
.collection-letter .summary-box--deposit {
  background-color: #ffb74d;
}
.collection-letter .summary-box--balance {
  background-color: #ff8c00;
}
.collection-letter .summary-box--carat {
  background-color: #b0c4de;
}
.collection-letter__info-box {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.collection-letter__info-box--selected {
  background: #4b0082;
  color: white;
  padding: 4px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.collection-letter__info-box--pages {
  background: #556b2f;
  color: white;
  padding: 4px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}
.collection-letter__confirm-modal {
  background: #f0f0f0 !important;
  border: 2px outset #ffffff !important;
  border-radius: 0 !important;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5) !important;
  padding: 0 !important;
  max-width: 400px !important;
  color: black;
}
.collection-letter__confirm-modal .modal__header {
  background: #edf0c0;
  padding: 4px 8px;
  margin: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.collection-letter__confirm-modal .modal__close {
  background: #c0c0c0;
  border: 2px outset #ffffff;
  border-radius: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
}
.collection-letter__confirm-modal .modal__close svg {
  width: 16px;
  height: 16px;
}
.collection-letter__confirm-modal .modal__close:hover {
  background: #d0d0d0;
}
.collection-letter__confirm-modal .modal__close:active {
  border-style: inset;
}
.collection-letter__confirm-modal .modal__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #f0f0f0;
}
.collection-letter__confirm-modal h3 {
  font-size: 16px;
  margin: 0;
  font-family: sans-serif;
}
.collection-letter__confirm-modal .print-modal-prompt {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}
.collection-letter__confirm-modal .print-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.carat-sheet {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #d9ecf2;
  overflow: hidden;
}
.carat-sheet__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 3px solid #8bc0d4;
  border-top: none;
  border-bottom: none;
  background: #d9ecf2;
}
.carat-sheet__controls {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid #8bc0d4;
  background: #eaf6fa;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 5px;
}
.carat-sheet__radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.carat-sheet__control-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #0d4e68;
  font-weight: 500;
  cursor: pointer;
}
.carat-sheet__control-label input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: #0d4e68;
}
.carat-sheet__date-selection {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carat-sheet__date-selection input {
  width: 150px;
  padding: 4px 8px;
  background-color: white;
  border-width: 1px;
  border-style: solid;
  border-color: black;
}
.carat-sheet__date-selection span {
  margin-left: 10px;
  font-weight: 600;
  color: #1a4c5a;
}
.carat-sheet__report-info {
  display: flex;
  gap: 24px;
  padding: 8px 0;
  font-size: 14px;
  color: #0d4e68;
  border-top: 1px solid #8bc0d4;
  margin-top: 8px;
  padding-top: 12px;
}
.carat-sheet__report-date, .carat-sheet__filter-type {
  font-weight: 500;
}
.carat-sheet__loading, .carat-sheet__error, .carat-sheet__empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  font-size: 18px;
  color: #0d4e68;
}
.carat-sheet__error {
  color: #c53030;
}
.carat-sheet__empty {
  color: #718096;
}
.carat-sheet .table-content {
  flex: 1;
  width: 100%;
  overflow: auto;
}
.carat-sheet .table-content .data-table {
  width: 100%;
}
.carat-sheet .table-content .data-table__wrapper {
  overflow-x: auto;
  max-width: 100%;
}
.carat-sheet .table-content .data-table__table {
  min-width: max-content;
}
.carat-sheet .table-content table {
  min-width: 100%;
}
.carat-sheet .table-content table th,
.carat-sheet .table-content table td {
  text-align: center;
  white-space: nowrap;
  padding: 8px 12px;
}
.carat-sheet .table-content table th:first-child,
.carat-sheet .table-content table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: #eaf6fa;
  z-index: 1;
  border-right: 2px solid #8bc0d4;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
}
.carat-sheet .table-content table th:last-child,
.carat-sheet .table-content table td:last-child {
  font-weight: 600;
  background: #d9ecf2;
}

.account-statement {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #dae0ca;
  overflow: hidden;
}
.account-statement__body {
  display: grid;
  grid-template-columns: 40% 60%;
  flex: 1;
  overflow: auto;
  border: 3px solid #dae0ca;
  border-top: none;
  border-bottom: none;
  background: #dae0ca;
}
@media (max-width: 960px) {
  .account-statement__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }
}
.account-statement__left-panel {
  display: flex;
  flex-direction: column;
  border-right: 2px solid white;
  overflow: hidden;
  padding: var(--spacing-md);
  background: #dae0ca;
  padding-top: 30px;
}
.account-statement__form-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-statement__form-content .form-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-statement__form-content .form-row label {
  min-width: 140px;
  text-align: right;
  font-weight: bold;
  color: #000;
  font-size: 16px;
  white-space: nowrap;
}
.account-statement__form-content .form-row .form-input {
  padding: 4px 8px;
  border: 1px solid #777;
  font-size: 16px;
  height: 32px;
  background-color: white;
}
.account-statement__form-content .form-row .form-input:focus {
  background-color: #ffffcc;
  outline: 1px solid blue;
}
.account-statement__form-content .form-row .form-input:disabled {
  background-color: #ffffe0;
  color: #000;
  border-color: #999;
}
.account-statement__form-content .form-row .date-input-wrapper {
  position: relative;
  width: 150px;
  display: flex;
  align-items: center;
}
.account-statement__form-content .form-row .date-input-wrapper input {
  padding-right: 25px;
}
.account-statement__calculated-row {
  margin-top: 4px;
}
.account-statement__dual-input-group {
  display: flex;
  flex-direction: row;
  gap: 4px;
  width: 100%;
}
.account-statement__dual-input-group .form-input {
  width: 100%;
}
.account-statement__single-input-group {
  width: 100%;
}
.account-statement__single-input-group .form-input {
  width: 100%;
}
.account-statement__right-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--spacing-xs);
  background: #fefce8;
}

.reconciliation {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: white;
  overflow: hidden;
}
.reconciliation__body {
  flex: 1;
  overflow: auto;
  border: 3px solid white;
  border-top: none;
  border-bottom: none;
  background: white;
  padding: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.reconciliation__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  background: #87bcc7;
  border: 3px solid white;
  border-top: 2px solid white;
  flex-shrink: 0;
}

.average-report {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: #dfd0cb;
  overflow: hidden;
}
.average-report__body {
  flex: 1;
  overflow: hidden;
  border: 3px solid #dfd0cb;
  border-top: none;
  border-bottom: none;
  background: #dfd0cb;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.average-report__top-controls {
  display: grid;
  grid-template-columns: 1fr 150px 150px;
  border: 2px solid #888;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
}
.average-report__controls-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.average-report__radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.average-report__date-selection {
  display: flex;
  align-items: center;
  gap: 12px;
}
.average-report__date-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.average-report__date-range-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.average-report__date-label {
  font-weight: 600;
  color: #5d4037;
  font-size: 14px;
}
.average-report__date-input {
  padding: 4px 8px;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-size: 14px;
  background: white;
}
.average-report__gujarati-day {
  font-weight: bold;
  color: #5d4037;
  font-size: 15px;
}
.average-report__control-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #3e2723;
  font-size: 16px;
  cursor: pointer;
}
.average-report__control-label input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: #5d4037;
  cursor: pointer;
}

.outgoing-match {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background-color: #ebebeb;
  overflow: hidden;
}
.outgoing-match__body {
  flex: 1;
  overflow: hidden;
  border: 3px solid white;
  border-top: none;
  border-bottom: none;
  background: white;
  padding: 4px;
  display: flex;
  flex-direction: column;
}
.outgoing-match__content-wrapper {
  flex: 1;
  border: 2px solid #6eb068;
  border-radius: 4px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.outgoing-match__controls {
  background: #e8e8e8;
  padding: 12px;
  border-bottom: 2px solid #6eb068;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.outgoing-match__control-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}
.outgoing-match__label {
  font-weight: bold;
  font-size: 16px;
  color: #1b5e20;
}
.outgoing-match__date-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.outgoing-match__sub-label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}
.outgoing-match__date-input-field {
  padding: 4px 8px;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-size: 14px;
}

.carat-account-statement {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background-color: #ebebeb;
  overflow: hidden;
}
.carat-account-statement__body {
  flex: 1;
  overflow: auto;
  border: 3px solid #ebebeb;
  border-top: none;
  border-bottom: none;
  background: #ebebeb;
  padding: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.carat-account-statement__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  background-color: #ebebeb;
  border: 3px solid #ebebeb;
  border-top: 2px solid white;
  flex-shrink: 0;
}

.collection-report {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background-color: #555555;
  overflow: hidden;
}
.collection-report__body {
  flex: 1;
  overflow: hidden;
  border: 3px solid #666;
  border-top: none;
  border-bottom: none;
  background: #444;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.collection-report__top-section {
  display: flex;
  gap: 12px;
}
.collection-report__controls-left {
  width: 330px;
  border: 2px solid #666;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: white;
}
.collection-report__controls-left .control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
}
.collection-report__controls-left .control-row.centered-text {
  justify-content: center;
  color: #ccc;
  font-size: 16px;
  margin-top: -8px;
}
.collection-report__controls-left .control-row label {
  min-width: 100px;
}
.collection-report__controls-left .date-input-display {
  background: #d0d0ff;
  color: black;
  padding: 4px 8px;
  font-family: monospace;
  font-weight: bold;
  font-size: 20px;
  border-radius: 4px;
  width: 100%;
  text-align: center;
}
.collection-report__controls-left .vistar-select {
  width: 100%;
  padding: 4px;
  font-size: 16px;
  font-weight: bold;
}
.collection-report__filter-panel {
  flex: 1;
  border: 2px solid #cc298c;
  border-radius: 8px;
  background: #ffe4f0;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.collection-report__filter-panel .filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.collection-report__filter-panel .filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.collection-report__filter-panel .filter-group label {
  font-weight: bold;
  color: #880e4f;
  font-size: 14px;
  white-space: nowrap;
}
.collection-report__filter-panel .filter-select {
  padding: 6px 10px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #cc298c;
  border-radius: 4px;
  background: white;
  color: #333;
  min-width: 120px;
  cursor: pointer;
}
.collection-report__filter-panel .filter-select:focus {
  outline: none;
  border-color: #a81f73;
  box-shadow: 0 0 4px rgba(204, 41, 140, 0.4);
}
.collection-report__filter-panel .filter-searchable-select {
  min-width: 250px;
}
.collection-report__filter-panel .filter-searchable-select .searchable-select__input {
  padding: 5px 8px;
  font-size: 13px;
  font-weight: bold;
  border: 2px solid #cc298c;
  border-radius: 4px;
  background: white;
  color: #333;
}
.collection-report__filter-panel .filter-searchable-select .searchable-select__input:focus {
  outline: none;
  border-color: #a81f73;
  box-shadow: 0 0 4px rgba(204, 41, 140, 0.4);
}
.collection-report__filter-panel .filter-searchable-select .searchable-select__dropdown {
  border: 2px solid #cc298c;
  border-radius: 4px;
  background: white;
  max-height: 200px;
}
.collection-report__filter-panel .filter-searchable-select .searchable-select__dropdown .searchable-select__option {
  padding: 6px 10px;
  font-size: 13px;
}
.collection-report__filter-panel .filter-searchable-select .searchable-select__dropdown .searchable-select__option:hover, .collection-report__filter-panel .filter-searchable-select .searchable-select__dropdown .searchable-select__option--highlighted {
  background: #ffe4f0;
  color: #880e4f;
}
.collection-report__filter-panel .filter-searchable-select .searchable-select__dropdown .searchable-select__option--selected {
  background: #cc298c;
  color: white;
}
.collection-report__filter-panel .arrival-row {
  justify-content: space-between;
  border-top: 1px solid #e57ab5;
  padding-top: 10px;
  margin-top: 2px;
}
.collection-report__filter-panel .arrival-options {
  display: flex;
  gap: 16px;
}
.collection-report__filter-panel .arrival-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #880e4f;
  font-size: 14px;
}
.collection-report__filter-panel .arrival-option input[type=radio] {
  width: 16px;
  height: 16px;
  accent-color: #cc298c;
  cursor: pointer;
}
.collection-report__filter-panel .arrival-option span {
  white-space: nowrap;
}
.collection-report__filter-panel .arrival-option:hover {
  color: #a81f73;
}
.collection-report__filter-panel .clear-filter-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: bold;
  background: linear-gradient(to bottom, #cc298c, #a81f73);
  color: white;
  border: 2px solid #880e4f;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.collection-report__filter-panel .clear-filter-btn:hover {
  background: linear-gradient(to bottom, #e03ba0, #cc298c);
}
.collection-report__filter-panel .clear-filter-btn:active {
  transform: translateY(1px);
}
.collection-report__bottom-panel {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #444;
  justify-content: center;
}
.collection-report__bottom-panel .collection-btn {
  background: linear-gradient(to bottom, #777, #555);
  border: 2px outset #999;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  min-width: 100px;
  text-shadow: 1px 1px 1px black;
}
.collection-report__bottom-panel .collection-btn:active {
  border-style: inset;
}
.collection-report__bottom-panel .collection-btn.disabled {
  opacity: 0.7;
  color: #ccc;
}
@media (max-width: 1600px) {
  .collection-report__filter-panel .filter-searchable-select {
    min-width: 200px;
  }
}
@media (max-width: 1400px) {
  .collection-report__top-section {
    flex-direction: column;
    gap: 8px;
  }
  .collection-report__controls-left {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
  }
  .collection-report__controls-left .control-row {
    font-size: 16px;
  }
  .collection-report__controls-left .control-row:last-child {
    margin-left: auto;
  }
  .collection-report__filter-panel .filter-row {
    gap: 12px;
  }
  .collection-report__filter-panel .filter-searchable-select {
    min-width: 180px;
  }
  .collection-report__filter-panel .filter-group label {
    font-size: 13px;
  }
}
@media (max-width: 1200px) {
  .collection-report__filter-panel .filter-row {
    gap: 10px;
  }
  .collection-report__filter-panel .filter-searchable-select {
    min-width: 150px;
  }
  .collection-report__filter-panel .filter-group {
    gap: 6px;
  }
  .collection-report__filter-panel .filter-group label {
    font-size: 12px;
  }
  .collection-report__filter-panel .arrival-options {
    gap: 12px;
  }
  .collection-report__filter-panel .arrival-option {
    font-size: 12px;
  }
  .collection-report__filter-panel .arrival-option input[type=radio] {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 1024px) {
  .collection-report__filter-panel {
    padding: 8px 10px;
  }
  .collection-report__filter-panel .filter-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .collection-report__filter-panel .filter-group {
    flex: 1 1 calc(50% - 8px);
    min-width: 200px;
  }
  .collection-report__filter-panel .filter-searchable-select {
    flex: 1;
    min-width: 120px;
  }
  .collection-report__filter-panel .arrival-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .collection-report__filter-panel .arrival-options {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .collection-report__controls-left {
    flex-direction: column;
    gap: 8px;
  }
  .collection-report__controls-left .control-row {
    width: 100%;
    justify-content: center;
  }
  .collection-report__filter-panel .filter-group {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .collection-report__filter-panel .filter-group label {
    margin-bottom: 4px;
  }
  .collection-report__filter-panel .filter-searchable-select {
    min-width: 100%;
  }
  .collection-report__filter-panel .arrival-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .collection-report__filter-panel .arrival-options {
    justify-content: flex-start;
  }
  .collection-report__filter-panel .clear-filter-btn {
    width: 100%;
  }
}

.firm-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-top: 4px;
  padding: 6px;
  border: 1px solid #bcaaa4;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
}
.firm-selector .checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: #efebe9;
  color: #3e2723;
  border-radius: 4px;
  user-select: none;
  flex: 1 1 250px;
  min-height: 50px;
  text-align: left;
  word-break: break-word;
  line-height: 1.2;
}
.firm-selector .checkbox-label input[type=checkbox] {
  width: 28px;
  height: 20px;
  accent-color: #5d4037;
  flex-shrink: 0;
}
.firm-selector .checkbox-label:hover {
  background: #d7ccc8;
}
.firm-selector .checkbox-label.firm-checkbox--yellow {
  background: #fff9c4;
  border-color: #fbc02d;
}
.firm-selector .checkbox-label.firm-checkbox--yellow.active {
  background: #ffeb3b;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}
.firm-selector .checkbox-label.firm-checkbox--red {
  background: #ffcdd2;
  border-color: #e57373;
}
.firm-selector .checkbox-label.firm-checkbox--red.active {
  background: #ef5350;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--red.active input[type=checkbox] {
  accent-color: #b71c1c;
}
.firm-selector .checkbox-label.firm-checkbox--green {
  background: #c8e6c9;
  border-color: #66bb6a;
}
.firm-selector .checkbox-label.firm-checkbox--green.active {
  background: #4caf50;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--green.active input[type=checkbox] {
  accent-color: #1b5e20;
}
.firm-selector .checkbox-label.firm-checkbox--blue {
  background: #bbdefb;
  border-color: #42a5f5;
}
.firm-selector .checkbox-label.firm-checkbox--blue.active {
  background: #2196f3;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--blue.active input[type=checkbox] {
  accent-color: #0d47a1;
}
.firm-selector .checkbox-label.firm-checkbox--orange {
  background: #ffe0b2;
  border-color: #ffa726;
}
.firm-selector .checkbox-label.firm-checkbox--orange.active {
  background: #ff9800;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--orange.active input[type=checkbox] {
  accent-color: #e65100;
}
.firm-selector .checkbox-label.firm-checkbox--purple {
  background: #e1bee7;
  border-color: #ab47bc;
}
.firm-selector .checkbox-label.firm-checkbox--purple.active {
  background: #9c27b0;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--purple.active input[type=checkbox] {
  accent-color: #4a148c;
}
.firm-selector .checkbox-label.firm-checkbox--teal {
  background: #b2dfdb;
  border-color: #4db6ac;
}
.firm-selector .checkbox-label.firm-checkbox--teal.active {
  background: #009688;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--teal.active input[type=checkbox] {
  accent-color: #004d40;
}
.firm-selector .checkbox-label.firm-checkbox--pink {
  background: #f8bbd0;
  border-color: #f06292;
}
.firm-selector .checkbox-label.firm-checkbox--pink.active {
  background: #e91e63;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--pink.active input[type=checkbox] {
  accent-color: #880e4f;
}
.firm-selector .checkbox-label.firm-checkbox--indigo {
  background: #c5cae9;
  border-color: #7986cb;
}
.firm-selector .checkbox-label.firm-checkbox--indigo.active {
  background: #3f51b5;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--indigo.active input[type=checkbox] {
  accent-color: #1a237e;
}
.firm-selector .checkbox-label.firm-checkbox--brown {
  background: #d7ccc8;
  border-color: #8d6e63;
}
.firm-selector .checkbox-label.firm-checkbox--brown.active {
  background: #795548;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--brown.active input[type=checkbox] {
  accent-color: #3e2723;
}
.firm-selector .checkbox-label.firm-checkbox--cyan {
  background: #b2ebf2;
  border-color: #4dd0e1;
}
.firm-selector .checkbox-label.firm-checkbox--cyan.active {
  background: #00bcd4;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--cyan.active input[type=checkbox] {
  accent-color: #006064;
}
.firm-selector .checkbox-label.firm-checkbox--lime {
  background: #f0f4c3;
  border-color: #dce775;
}
.firm-selector .checkbox-label.firm-checkbox--lime.active {
  background: #cddc39;
  color: #000;
}
.firm-selector .checkbox-label.firm-checkbox--lime.active input[type=checkbox] {
  accent-color: #827717;
}
.firm-selector .checkbox-label.firm-checkbox--amber {
  background: #ffecb3;
  border-color: #ffd54f;
}
.firm-selector .checkbox-label.firm-checkbox--amber.active {
  background: #ffc107;
  color: #000;
}
.firm-selector .checkbox-label.firm-checkbox--amber.active input[type=checkbox] {
  accent-color: #ff6f00;
}
.firm-selector .checkbox-label.firm-checkbox--deep-purple {
  background: #d1c4e9;
  border-color: #9575cd;
}
.firm-selector .checkbox-label.firm-checkbox--deep-purple.active {
  background: #673ab7;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--deep-purple.active input[type=checkbox] {
  accent-color: #311b92;
}
.firm-selector .checkbox-label.firm-checkbox--light-blue {
  background: #b3e5fc;
  border-color: #4fc3f7;
}
.firm-selector .checkbox-label.firm-checkbox--light-blue.active {
  background: #03a9f4;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--light-blue.active input[type=checkbox] {
  accent-color: #01579b;
}
.firm-selector .checkbox-label.firm-checkbox--light-green {
  background: #dcedc8;
  border-color: #aed581;
}
.firm-selector .checkbox-label.firm-checkbox--light-green.active {
  background: #8bc34a;
  color: white;
}
.firm-selector .checkbox-label.firm-checkbox--light-green.active input[type=checkbox] {
  accent-color: #33691e;
}
.firm-selector .checkbox-label.active-all {
  background: #cfd8dc;
  border-color: #90a4ae;
  background: #b0bec5;
}

.admin-panel {
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  padding: 0;
  overflow: hidden;
}
.admin-panel__header {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
  padding: 16px 32px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.3);
  position: relative;
  flex-shrink: 0;
}
.admin-panel__header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  pointer-events: none;
}
.admin-panel__header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
}
.admin-panel__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-panel__title-main {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: white;
  text-shadow: 0 2px 4px rgba(255, 247, 247, 0.5);
  margin: 0;
}
.admin-panel__title-sub {
  font-size: 13px;
  opacity: 0.8;
  font-weight: 400;
}
.admin-panel__user-menu-container {
  position: relative;
}
.admin-panel__user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}
.admin-panel__user-info:hover {
  background: rgba(255, 255, 255, 0.25);
}
.admin-panel__user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  min-width: 150px;
  z-index: 50;
  padding: 4px 0;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}
.admin-panel__dropdown-item {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}
.admin-panel__dropdown-item:hover {
  background-color: #f1f5f9;
}
.admin-panel__dropdown-item--danger {
  color: #ef4444;
}
.admin-panel__dropdown-item--danger:hover {
  background-color: #fee2e2;
}
.admin-panel__dropdown-item svg {
  width: 16px;
  height: 16px;
}
.admin-panel__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4fd1c5 0%, #38b2ac 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.admin-panel__user-name {
  font-size: 14px;
  font-weight: 500;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.admin-panel__tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 32px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}
.admin-panel__tab {
  padding: 14px 24px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-panel__tab:hover {
  color: #3182ce;
  background: rgba(49, 130, 206, 0.05);
}
.admin-panel__tab--active {
  color: #3182ce;
  border-bottom-color: #3182ce;
  background: rgba(49, 130, 206, 0.05);
}
.admin-panel__tab svg {
  width: 18px;
  height: 18px;
}
.admin-panel__content {
  flex: 1;
  width: 100%;
  padding: 16px 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.admin-panel__section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.admin-panel__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
  flex-shrink: 0;
}
.admin-panel__toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-panel__toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-panel__info {
  color: #64748b;
  font-size: 13px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-panel__info svg {
  width: 16px;
  height: 16px;
}
.admin-panel__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}
.admin-panel__add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(49, 130, 206, 0.4);
}
.admin-panel__add-btn:active {
  transform: translateY(0);
}
.admin-panel__add-btn svg {
  width: 16px;
  height: 16px;
}
.admin-panel__table-wrapper {
  padding: 0;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.admin-panel__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}
.admin-panel__form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .admin-panel__form-row {
    grid-template-columns: 1fr;
  }
}
.admin-panel__form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-panel__form-group--full-width {
  grid-column: 1/-1;
}
.admin-panel__form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: default;
  user-select: none;
}
.admin-panel__form-input, .admin-panel__form-select, .admin-panel__form-textarea {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #fff;
}
.admin-panel__form-input:focus, .admin-panel__form-select:focus, .admin-panel__form-textarea:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}
.admin-panel__form-input::placeholder, .admin-panel__form-select::placeholder, .admin-panel__form-textarea::placeholder {
  color: #94a3b8;
}
.admin-panel__form-textarea {
  resize: vertical;
  min-height: 80px;
}
.admin-panel__firm-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.admin-panel__firm-multiselect {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  max-height: 200px;
  overflow-y: auto;
}
.admin-panel__firm-checkbox {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.admin-panel__firm-checkbox:hover {
  border-color: #3182ce;
  background: rgba(49, 130, 206, 0.05);
}
.admin-panel__firm-checkbox input:checked + span {
  color: #3182ce;
  font-weight: 600;
}
.admin-panel__checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #334155;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  user-select: none;
}
.admin-panel__checkbox-label:hover {
  border-color: #3182ce;
  background: rgba(49, 130, 206, 0.05);
}
.admin-panel__checkbox-label input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #3182ce;
}
.admin-panel__checkbox-label span {
  cursor: pointer;
}
.admin-panel__modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}
.admin-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-panel__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.admin-panel__btn--primary {
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}
.admin-panel__btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(49, 130, 206, 0.4);
}
.admin-panel__btn--secondary {
  background: #f1f5f9;
  color: #475569;
}
.admin-panel__btn--secondary:hover:not(:disabled) {
  background: #e2e8f0;
}
.admin-panel__btn--danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.admin-panel__btn--danger:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}
.admin-panel__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.admin-panel__status--active {
  background: #dcfce7;
  color: #166534;
}
.admin-panel__status--inactive {
  background: #fee2e2;
  color: #991b1b;
}
.admin-panel__role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.admin-panel__role-badge--admin {
  background: #dbeafe;
  color: #1e40af;
}
.admin-panel__role-badge--user {
  background: #f3e8ff;
  color: #6b21a8;
}
.admin-panel__roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 24px;
}
.admin-panel__role-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}
.admin-panel__role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(49, 130, 206, 0.15);
  border-color: rgba(49, 130, 206, 0.3);
}
.admin-panel__role-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.admin-panel__role-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-panel__role-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}
.admin-panel__role-info {
  flex: 1;
  min-width: 0;
}
.admin-panel__role-name {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
}
.admin-panel__role-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.admin-panel__role-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-panel__permission-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.admin-panel__loading {
  text-align: center;
  padding: 40px;
  color: #64748b;
  font-size: 14px;
}
.admin-panel__permissions-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 4px;
}
.admin-panel__permission-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.admin-panel__permission-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.admin-panel__permission-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.admin-panel__permission-resource {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-panel__permission-resource-name {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin: 0;
  text-transform: capitalize;
}
.admin-panel__permission-resource-count {
  font-size: 12px;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 10px;
}
.admin-panel__toggle-all {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  color: #64748b;
  user-select: none;
}
.admin-panel__toggle-all input {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #3182ce;
}
.admin-panel__toggle-all:hover {
  color: #3182ce;
}
.admin-panel__permission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-panel__permission-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  user-select: none;
}
.admin-panel__permission-toggle input {
  display: none;
}
.admin-panel__permission-toggle:hover {
  border-color: #3182ce;
  background: rgba(49, 130, 206, 0.05);
}
.admin-panel__permission-toggle--active {
  background: linear-gradient(135deg, #ebf8ff 0%, #dbeafe 100%);
  border-color: #3182ce;
}
.admin-panel__permission-toggle--active .admin-panel__toggle-switch {
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
}
.admin-panel__permission-toggle--active .admin-panel__toggle-switch::after {
  transform: translateX(14px);
}
.admin-panel__permission-toggle--active .admin-panel__toggle-label {
  color: #1e40af;
  font-weight: 600;
}
.admin-panel__toggle-switch {
  position: relative;
  width: 32px;
  height: 18px;
  background: #cbd5e1;
  border-radius: 9px;
  transition: all 0.3s ease;
}
.admin-panel__toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.admin-panel__toggle-label {
  font-size: 13px;
  color: #475569;
  transition: all 0.2s ease;
  text-transform: capitalize;
}
.admin-panel__count-text {
  font-size: 14px;
  color: #64748b;
}
.admin-panel__dropdown-icon {
  width: 20px;
  height: 20px;
  margin-left: 4px;
}
.admin-panel__firms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.admin-panel__info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
}
.admin-panel__info svg {
  width: 16px;
  height: 16px;
}

.modal__header {
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.modal__body {
  padding: 0;
  max-height: calc(90vh - 130px);
  overflow-y: auto;
}
.modal__title {
  margin: 0;
  padding-right: 40px;
}

.admin-panel .data-table {
  border: none;
  box-shadow: none;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.admin-panel .data-table__search {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  flex-shrink: 0;
}
.admin-panel .data-table__search-input {
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  width: 300px !important;
  transition: all 0.2s ease !important;
}
.admin-panel .data-table__search-input:focus {
  border-color: #3182ce !important;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1) !important;
  outline: none !important;
}
.admin-panel .data-table__wrapper {
  overflow: auto;
  flex: 1;
  border-bottom: 1px solid #f1f5f9;
}
.admin-panel .data-table__table {
  width: 100%;
  border-collapse: collapse;
}
.admin-panel .data-table__head {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  position: sticky;
  top: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.admin-panel .data-table__th {
  padding: 14px 20px !important;
  text-align: left;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f8fafc !important;
  border-bottom: 2px solid #e2e8f0 !important;
}
.admin-panel .data-table__td {
  padding: 14px 20px !important;
  font-size: 14px !important;
  color: #334155 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #fff !important;
}
.admin-panel .data-table__row {
  transition: all 0.15s ease;
  cursor: pointer;
}
.admin-panel .data-table__row:hover td {
  background: #f8fafc !important;
}
.admin-panel .data-table__empty, .admin-panel .data-table__loading {
  padding: 40px 20px !important;
  text-align: center;
  color: #64748b;
}
.admin-panel .data-table__pagination {
  padding: 12px 24px !important;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc !important;
  flex-shrink: 0;
}
.admin-panel .data-table__pagination-info {
  font-size: 13px;
  color: #64748b;
}
.admin-panel .data-table__pagination-btn {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-panel .data-table__pagination-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #3182ce;
}
.admin-panel .data-table__pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.user-dropdown {
  position: relative;
  display: inline-block;
}
.user-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.user-dropdown__trigger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.user-dropdown__trigger:active {
  transform: translateY(0);
}
.user-dropdown__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.user-dropdown__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}
.user-dropdown__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown__role {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.2;
}
.user-dropdown__chevron {
  width: 16px;
  height: 16px;
  color: #6b7280;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.user-dropdown__chevron--open {
  transform: rotate(180deg);
}
.user-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
  z-index: 1000;
  overflow: hidden;
  animation: userDropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top right;
}
@keyframes userDropdownSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.user-dropdown__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}
.user-dropdown__header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}
.user-dropdown__header-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}
.user-dropdown__header-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown__header-email {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.08) 85%, transparent 100%);
  margin: 0;
}
.user-dropdown__nav {
  padding: 0.5rem;
}
.user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.user-dropdown__item svg {
  width: 20px;
  height: 20px;
  color: #6b7280;
  transition: color 0.15s ease;
  flex-shrink: 0;
}
.user-dropdown__item span {
  flex: 1;
}
.user-dropdown__item:hover {
  background: rgba(102, 126, 234, 0.08);
  color: #4f46e5;
}
.user-dropdown__item:hover svg {
  color: #4f46e5;
}
.user-dropdown__item:active {
  background: rgba(102, 126, 234, 0.12);
}
.user-dropdown__item--danger {
  margin: 0.5rem;
  width: calc(100% - 1rem);
  color: #dc2626;
  background: rgba(239, 68, 68, 0.05);
}
.user-dropdown__item--danger svg {
  color: #dc2626;
}
.user-dropdown__item--danger:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
.user-dropdown__item--danger:hover svg {
  color: #b91c1c;
}
.user-dropdown__item--danger:active {
  background: rgba(239, 68, 68, 0.18);
}

.new-dashboard .user-dropdown__trigger {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}
.new-dashboard .user-dropdown__trigger:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
}
.new-dashboard .user-dropdown__name {
  color: #1f2937;
}
.new-dashboard .user-dropdown__role {
  color: #6b7280;
}
.new-dashboard .user-dropdown__chevron {
  color: #4b5563;
}

.admin-panel__header .user-dropdown__trigger {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}
.admin-panel__header .user-dropdown__trigger:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}
.admin-panel__header .user-dropdown__name {
  color: white;
}
.admin-panel__header .user-dropdown__role {
  color: rgba(255, 255, 255, 0.7);
}
.admin-panel__header .user-dropdown__chevron {
  color: rgba(255, 255, 255, 0.8);
}
.admin-panel__header .user-dropdown__avatar {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}

@media (max-width: 640px) {
  .user-dropdown__info {
    display: none;
  }
  .user-dropdown__trigger {
    padding: 0.375rem 0.5rem;
    gap: 0.5rem;
  }
  .user-dropdown__avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .user-dropdown__menu {
    min-width: 260px;
    right: -8px;
  }
}
.firm-switcher-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.firm-switcher-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.firm-switcher-modal__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
}
.firm-switcher-modal__content {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: firmModalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.firm-switcher-modal__header {
  text-align: center;
  margin-bottom: 2rem;
}
.firm-switcher-modal__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.firm-switcher-modal__subtitle {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}
.firm-switcher-modal__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  overflow-y: scroll;
  max-height: 600px;
  padding-right: 10px;
  padding-top: 10px;
}
.firm-switcher-modal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 160px;
}
.firm-switcher-modal__card:hover {
  transform: translateY(-6px);
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.15), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
}
.firm-switcher-modal__card:active {
  transform: translateY(-2px) scale(0.98);
}
.firm-switcher-modal__card--selected {
  border-color: #6366f1;
  border-width: 2px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.25), 0 0 0 2px rgba(99, 102, 241, 0.1);
}
.firm-switcher-modal__card--selected .firm-switcher-modal__card-icon {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.firm-switcher-modal__card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 14px;
  color: #64748b;
  transition: all 0.3s ease;
}
.firm-switcher-modal__card-icon svg {
  width: 28px;
  height: 28px;
}
.firm-switcher-modal__card-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  line-height: 1.4;
}
.firm-switcher-modal__card-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  color: #6366f1;
  animation: firmCheckPop 0.3s ease-out;
}
.firm-switcher-modal__card-check svg {
  width: 100%;
  height: 100%;
}

@keyframes firmModalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes firmCheckPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 480px) {
  .firm-switcher-modal__content {
    padding: 1.5rem;
    border-radius: 20px;
  }
  .firm-switcher-modal__title {
    font-size: 1.5rem;
  }
  .firm-switcher-modal__cards {
    grid-template-columns: 1fr;
  }
  .firm-switcher-modal__card {
    padding: 1.5rem;
    min-height: 120px;
  }
}
.firm-switcher-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border: 2px solid #858452;
  border-radius: 4px;
  padding: 6px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.firm-switcher-buttons__btn {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 80px;
  text-align: center;
}
.firm-switcher-buttons__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.firm-switcher-buttons__btn:active:not(:disabled) {
  transform: translateY(0);
}
.firm-switcher-buttons__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.firm-switcher-buttons__btn--selected {
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.firm-switcher-buttons__btn--all {
  background-color: #e3f2fd;
  border-color: #1976d2;
  color: #0d47a1;
}
.firm-switcher-buttons__btn--all.firm-switcher-buttons__btn--selected {
  background-color: #1976d2;
  color: #fff;
}
.firm-switcher-buttons__control-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}
.firm-switcher-buttons__control-row label {
  font-weight: bold;
  font-size: 16px;
  color: #1b5e20;
}

:root {
  --spacing-2xs: 0.125rem;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 0.75rem;
  --spacing-lg: 1rem;
  --spacing-xl: 1.5rem;
  --spacing-2xl: 2rem;
  --spacing-3xl: 3rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-elevated: #ffffff;
  --color-bg-elevated-rgb: 255, 255, 255;
  --color-bg-overlay: rgba(15, 23, 42, 0.6);
  --color-bg-hover: rgba(0, 0, 0, 0.04);
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-tertiary: #64748b;
  --color-text-inverse: #ffffff;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-primary: #e2e8f0;
  --color-border-secondary: #cbd5e1;
  --color-border-focus: #3b82f6;
  --color-accent-primary: #3b82f6;
  --color-accent-primary-rgb: 59, 130, 246;
  --color-accent-primary-hover: #2563eb;
  --color-accent-secondary: #6366f1;
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;
  --color-danger: #ef4444;
  --color-danger-bg: #fef2f2;
  --color-danger-hover: #dc2626;
  --color-info: #06b6d4;
  --color-info-bg: #ecfeff;
  --color-input-bg: #ffffff;
  --color-input-border: #d1d5db;
  --color-input-focus-ring: #3b82f6;
  --color-card-bg: #ffffff;
  --color-card-shadow: rgba(0, 0, 0, 0.08);
  --scrollbar-track: #f1f5f9;
  --scrollbar-thumb: #cbd5e1;
  --scrollbar-thumb-hover: #94a3b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  background-color: var(--color-bg-primary);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
label,
div,
td,
th,
header,
footer,
section,
article,
aside,
nav,
li,
ul,
ol,
dl,
dt,
dd,
strong,
em,
b,
i,
small {
  cursor: default !important;
}

a,
button,
[role=button],
[type=button],
[type=submit] {
  cursor: pointer !important;
}

input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]),
select,
textarea {
  cursor: text !important;
}

input[type=checkbox],
input[type=radio] {
  cursor: pointer !important;
}

label:has(input[type=checkbox]),
label:has(input[type=radio]),
.checkbox-label,
.admin-panel__checkbox-label {
  cursor: pointer !important;
}

[tabindex]:not([tabindex="-1"]) {
  cursor: auto;
}

a,
button,
[role=button],
[type=button],
[type=submit] {
  cursor: pointer;
}

input,
select,
textarea {
  cursor: text;
}

input[type=checkbox],
input[type=radio] {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
  color: var(--color-accent-primary-hover);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

::selection {
  background-color: var(--color-accent-primary);
  color: var(--color-text-inverse);
}

:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}