/* [project]/app/globals.css [app-client] (css) */
@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-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-outline-style: solid;
      --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;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
    }
  }
}

@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-slate-50: #f8fafc;
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --radius-sm: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) 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);
  }

  @supports (color: lab(0% 0 0)) {
    :root, :host {
      --color-slate-50: lab(98.1434% -.369519 -1.05966);
    }
  }
}

@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;
    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 {
  .collapse {
    visibility: collapse;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .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;
    }
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .border-collapse {
    border-collapse: collapse;
  }

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

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

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

  .resize {
    resize: both;
  }

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

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

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

  .break-all {
    word-break: break-all;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

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

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

  .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\:bg-slate-50:hover {
      background-color: var(--color-slate-50);
    }
  }

  @media (hover: hover) {
    .hover\:opacity-90:hover {
      opacity: .9;
    }
  }

  .active\:scale-95:active {
    --tw-scale-x: 95%;
    --tw-scale-y: 95%;
    --tw-scale-z: 95%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
}

:root {
  --primary: #6e7d3b;
  --primary-dark: #4e5c28;
  --primary-light: #8a9b4a;
  --secondary: #c9a46a;
  --accent: #7b5634;
  --success: #4caf50;
  --warning: #d99b2b;
  --error: #c94c4c;
  --info: #5b8def;
  --bg-main: #f8f7f2;
  --bg-sidebar: #f1eee4;
  --bg-card: #fff;
  --bg-hover: #ece7da;
  --bg-active: #6e7d3b;
  --divider: #ddd7c9;
  --text-primary: #2d2d2d;
  --text-secondary: #5f5f5f;
  --text-disabled: #9a9a9a;
  --text-on-primary: #fff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px #0000000f, 0 1px 2px #0000000a;
  --shadow-md: 0 4px 12px #00000014, 0 2px 4px #0000000a;
  --shadow-lg: 0 8px 24px #0000001a, 0 4px 8px #0000000a;
  --sidebar-width: 240px;
  --font-sans: "Google Sans Flex", system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

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

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.375rem;
}

h3 {
  font-size: 1.125rem;
}

h4 {
  font-size: 1rem;
}

p {
  color: var(--text-secondary);
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--divider);
}

.btn {
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  white-space: nowrap;
  border: none;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  text-decoration: none;
  transition: all .15s;
  display: inline-flex;
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover:not(:disabled) {
  background: #b8914c;
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: none;
}

.btn-outline:hover:not(:disabled) {
  background: var(--bg-hover);
}

.btn-ghost {
  color: var(--text-secondary);
  background: none;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-danger {
  background: var(--error);
  color: #fff;
}

.btn-danger:hover:not(:disabled) {
  background: #b03a3a;
}

.btn-sm {
  padding: 5px 12px;
  font-size: .8125rem;
}

.btn-icon {
  border-radius: var(--radius-sm);
  padding: 8px;
}

.form-label {
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-size: .8125rem;
  font-weight: 500;
  display: block;
}

.form-input {
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  width: 100%;
  font-size: .9375rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-card);
  outline: none;
  padding: 10px 14px;
  transition: border-color .15s, box-shadow .15s;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #6e7d3b1f;
}

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

.form-input:disabled {
  background: var(--bg-hover);
  cursor: not-allowed;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235F5F5F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.form-group {
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  display: flex;
}

.form-error {
  color: var(--error);
  margin-top: 4px;
  font-size: .8125rem;
}

.table-container {
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  border: 1px solid var(--divider);
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  background: var(--bg-card);
  width: 100%;
  font-size: .9rem;
}

thead {
  background: var(--bg-sidebar);
}

th {
  text-align: left;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  border-bottom: 1px solid var(--divider);
  padding: 12px 16px;
  font-size: .8125rem;
  font-weight: 600;
}

td {
  color: var(--text-primary);
  border-bottom: 1px solid var(--divider);
  vertical-align: middle;
  padding: 13px 16px;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background .12s;
}

tbody tr:hover {
  background: var(--bg-main);
}

.badge {
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: 999px;
  align-items: center;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
}

.badge-active, .badge-completed {
  color: #2e7d32;
  background: #e8f5e9;
}

.badge-inactive, .badge-cancelled {
  color: #c62828;
  background: #ffebee;
}

.badge-pending {
  color: #f57f17;
  background: #fff8e1;
}

.badge-processing {
  color: #1565c0;
  background: #e3f2fd;
}

.badge-draft {
  color: #616161;
  background: #f5f5f5;
}

.modal-overlay {
  z-index: 100;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #2d2d2d73;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  animation: .18s modal-in;
  overflow-y: auto;
}

.modal-lg {
  max-width: 720px;
}

.modal-header {
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 0;
  display: flex;
}

.modal-body {
  padding: 20px 28px;
}

.modal-footer {
  justify-content: flex-end;
  gap: 10px;
  padding: 0 28px 24px;
  display: flex;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px)scale(.98);
  }

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

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--divider);
  z-index: 40;
  flex-direction: column;
  height: 100vh;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

.sidebar-logo {
  border-bottom: 1px solid var(--divider);
  margin-bottom: 8px;
  padding: 20px 20px 12px;
}

.sidebar-section-label {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-disabled);
  padding: 12px 20px 4px;
  font-size: .7rem;
  font-weight: 700;
}

.sidebar-item {
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  margin: 1px 8px;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
}

.sidebar-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sidebar-item.active {
  background: var(--primary);
  color: #fff;
}

.sidebar-item.active svg {
  color: #fff;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.admin-layout {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

.admin-content {
  margin-left: var(--sidebar-width);
  min-width: 0;
  min-height: 100vh;
  max-width: calc(100vw - var(--sidebar-width));
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow-x: hidden;
}

.page-content {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 28px;
}

.page-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  display: flex;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--divider);
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px;
  display: flex;
}

.stat-icon {
  border-radius: var(--radius-md);
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.empty-state {
  text-align: center;
  color: var(--text-disabled);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 24px;
  display: flex;
}

.alert {
  border-radius: var(--radius-md);
  border: 1px solid #0000;
  margin-bottom: 16px;
  padding: 12px 16px;
  font-size: .9rem;
  font-weight: 500;
}

.alert-success {
  color: #2e7d32;
  background: #e8f5e9;
  border-color: #a5d6a7;
}

.alert-error {
  color: #c62828;
  background: #ffebee;
  border-color: #ef9a9a;
}

.alert-warning {
  color: #f57f17;
  background: #fff8e1;
  border-color: #ffe082;
}

.alert-info {
  color: #1565c0;
  background: #e3f2fd;
  border-color: #90caf9;
}

.pagination {
  align-items: center;
  gap: 6px;
  padding: 16px 0 0;
  display: flex;
}

.page-btn {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--divider);
  background: var(--bg-card);
  min-width: 36px;
  height: 36px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: .875rem;
  font-family: var(--font-sans);
  justify-content: center;
  align-items: center;
  transition: all .12s;
  display: flex;
}

.page-btn:hover {
  background: var(--bg-hover);
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

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

.text-xs {
  font-size: .8125rem;
}

.divider {
  background: var(--divider);
  border: none;
  height: 1px;
  margin: 20px 0;
}

.grid-stats {
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  display: grid;
}

@media (min-width: 576px) {
  .grid-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.flex-between {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
  display: flex;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.w-full {
  width: 100%;
}

.mt-4 {
  margin-top: 16px;
}

.mb-4 {
  margin-bottom: 16px;
}

.login-page {
  background: var(--bg-main);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  display: flex;
}

.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--divider);
  width: 100%;
  max-width: 440px;
  padding: 48px 44px;
}

.otp-container {
  justify-content: center;
  gap: 10px;
  display: flex;
}

.otp-input {
  text-align: center;
  border: 2px solid var(--divider);
  border-radius: var(--radius-sm);
  width: 48px;
  height: 54px;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.otp-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #6e7d3b1f;
}

.filter-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  display: flex;
}

.search-input-wrap {
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  position: relative;
}

.search-input-wrap svg {
  color: var(--text-disabled);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.search-input-wrap .form-input {
  padding-left: 38px;
}

.tabs {
  border-bottom: 2px solid var(--divider);
  gap: 0;
  margin-bottom: 24px;
  display: flex;
}

.tab {
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid #0000;
  margin-bottom: -2px;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 500;
  transition: all .15s;
}

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

.tab:hover:not(.active) {
  color: var(--text-primary);
}

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

.spinner {
  border: 3px solid var(--divider);
  border-top-color: var(--primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: .8s linear infinite spin;
}

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

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--divider);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-disabled);
}

.mobile-header-bar {
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--divider);
  z-index: 35;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  display: none;
  position: sticky;
  top: 0;
}

.mobile-menu-toggle {
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 6px;
  display: flex;
}

.mobile-menu-toggle:hover {
  background: var(--bg-hover);
}

.sidebar-close-btn {
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  padding: 4px;
  display: none;
}

.sidebar-close-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.mobile-overlay {
  -webkit-backdrop-filter: blur(3px);
  z-index: 90;
  background: #0000008c;
  animation: .2s fade-in;
  position: fixed;
  inset: 0;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  .mobile-header-bar {
    display: flex;
  }

  .sidebar {
    z-index: 100;
    width: 280px;
    max-width: 82vw;
    height: 100vh;
    box-shadow: var(--shadow-lg);
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close-btn {
    display: flex;
  }

  .admin-content {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
  }

  .page-content {
    padding: 20px 16px;
  }
}

@media (max-width: 900px) {
  .login-container {
    background: #f8f7f2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px 12px;
  }

  .login-brand-panel {
    background: linear-gradient(145deg, #4e5c28 0%, #6e7d3b 50%, #8a9b4a 100%) !important;
    border-radius: 20px 20px 0 0 !important;
    flex: none !important;
    width: 100% !important;
    max-width: 440px !important;
    padding: 24px 20px 20px !important;
  }

  .login-logo-wrap {
    width: 90px !important;
    height: 90px !important;
    margin-bottom: 12px !important;
  }

  .login-brand-text h1 {
    margin-bottom: 2px !important;
    font-size: 1.4rem !important;
  }

  .login-brand-text p {
    letter-spacing: .12em !important;
    margin-bottom: 0 !important;
    font-size: .72rem !important;
  }

  .login-brand-divider, .login-feature-pills, .login-copyright-text {
    display: none !important;
  }

  .login-form-panel {
    border-radius: 0 0 20px 20px !important;
    width: 100% !important;
    max-width: 440px !important;
    padding: 24px 20px !important;
    position: relative !important;
    box-shadow: 0 8px 24px #00000014 !important;
  }
}

@media (max-width: 767px) {
  .page-content {
    padding: 16px 12px;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-header > div:last-child {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    display: flex;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .form-select, .form-input, select, input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .card[style*="display: flex"], .card[style*="display:flex"] {
    flex-direction: column;
    align-items: stretch !important;
  }

  .card[style*="display: flex"] > div, .card[style*="display:flex"] > div {
    flex-direction: column;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .search-input-wrap {
    min-width: 100%;
    max-width: 100%;
  }

  .modal {
    width: calc(100% - 20px);
    max-height: 92vh;
    margin: 10px;
  }

  .modal-header {
    padding: 18px 20px 0;
  }

  .modal-body {
    padding: 16px 20px;
  }

  .modal-footer {
    flex-wrap: wrap;
    padding: 0 20px 18px;
  }

  .pagination-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
  }

  .pagination-container > div {
    justify-content: center;
    width: 100%;
    margin-left: 0 !important;
  }

  .tabs {
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  .tab {
    padding: 8px 14px;
    font-size: .85rem;
  }

  .otp-container {
    gap: 6px;
  }

  .otp-input {
    width: 42px;
    height: 48px;
    font-size: 1.1rem;
  }
}

.table-container, .table-responsive {
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

.table-container::-webkit-scrollbar {
  height: 5px;
}

.table-responsive::-webkit-scrollbar {
  height: 5px;
}

.table-container::-webkit-scrollbar-thumb {
  background: #6e7d3b4d;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #6e7d3b4d;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

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

.animate-slide-in {
  animation: .3s cubic-bezier(.16, 1, .3, 1) forwards slideInRight;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.animate-pulse {
  animation: 1.8s ease-in-out infinite pulseGlow;
}

@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-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

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

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

@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
}

@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/