@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap";
/* [project]/src/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-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;
    }
  }
}

@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;
    --spacing: .25rem;
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --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;
    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 {
  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

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

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

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

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

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

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

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

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

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

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

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

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

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

  .cursor-pointer {
    cursor: pointer;
  }

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

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

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

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

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

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

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

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

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

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

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

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

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

  .border-\[\#ffffff1a\] {
    border-color: #ffffff1a;
  }

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

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

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

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

  .italic {
    font-style: italic;
  }

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

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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: #ffffff10;
  --border-active: #6366f140;
  --accent: #6366f1;
  --accent-glow: #6366f133;
  --accent-light: #818cf8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #4b5563;
  --sidebar-width: 260px;
}

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

html, body {
  background: var(--bg-primary);
  height: 100%;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  font-family: Inter, Noto Sans Thai, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

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

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

::-webkit-scrollbar-thumb {
  background: #ffffff20;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff40;
}

.dashboard-layout {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  flex-direction: column;
  flex-shrink: 0;
  display: flex;
  overflow-y: auto;
}

.sidebar-logo {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  display: flex;
}

.sidebar-logo-icon {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  width: 36px;
  height: 36px;
  box-shadow: 0 0 20px var(--accent-glow);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  display: flex;
}

.sidebar-logo-text {
  background: linear-gradient(to right, var(--accent-light), #c4b5fd);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  font-size: 16px;
  font-weight: 700;
}

.business-selector {
  border-bottom: 1px solid var(--border);
  padding: 12px;
}

.business-selector select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  width: 100%;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 8px;
  outline: none;
  padding: 8px 12px;
  font-size: 13px;
  transition: border-color .2s;
}

.business-selector select:focus {
  border-color: var(--accent);
}

.sidebar-nav {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  padding: 12px 8px;
  display: flex;
}

.nav-section-label {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 8px 8px 4px;
  font-size: 10px;
  font-weight: 600;
}

.nav-item {
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
  display: flex;
}

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

.nav-item.active {
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid var(--border-active);
}

.nav-item .badge {
  background: var(--danger);
  color: #fff;
  text-align: center;
  border-radius: 999px;
  min-width: 18px;
  margin-left: auto;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
}

.main-content {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow-y: auto;
}

.top-bar {
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  display: flex;
}

.page-title {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

.page-subtitle {
  color: var(--text-secondary);
  margin-top: 1px;
  font-size: 12px;
}

.content-area {
  flex: 1;
  padding: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color .2s, box-shadow .2s;
}

.card:hover {
  border-color: var(--border-active);
  box-shadow: 0 0 30px var(--accent-glow);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  transition: all .2s;
  display: flex;
}

.stat-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.stat-value {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 800;
}

.stat-icon {
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
}

.stat-change {
  align-items: center;
  gap: 4px;
  font-size: 11px;
  display: flex;
}

.btn {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  outline: none;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  display: inline-flex;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
  opacity: .9;
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.btn-danger {
  color: var(--danger);
  background: #ef444420;
  border: 1px solid #ef444440;
}

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

.btn-success {
  color: var(--success);
  background: #10b98120;
  border: 1px solid #10b98140;
}

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

.form-group {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.form-label {
  color: var(--text-secondary);
  letter-spacing: .03em;
  font-size: 12px;
  font-weight: 600;
}

.form-input, .form-textarea, .form-select {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 8px;
  outline: none;
  width: 100%;
  padding: 10px 12px;
  font-family: Inter, Noto Sans Thai, sans-serif;
  font-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.table-wrapper {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
}

.data-table th {
  text-align: left;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
}

.data-table td {
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 12px 16px;
  font-size: 13px;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.badge-status {
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.badge-ai {
  color: var(--accent-light);
  background: #6366f120;
  border: 1px solid #6366f140;
}

.badge-admin {
  color: var(--warning);
  background: #f59e0b20;
  border: 1px solid #f59e0b40;
}

.badge-needs {
  color: var(--danger);
  background: #ef444420;
  border: 1px solid #ef444440;
}

.badge-resolved {
  color: var(--success);
  background: #10b98120;
  border: 1px solid #10b98140;
}

.badge-platform {
  border-radius: 5px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.badge-line {
  color: #00b900;
  background: #00b90020;
  border: 1px solid #00b90040;
}

.badge-telegram {
  color: #229ed9;
  background: #229ed920;
  border: 1px solid #229ed940;
}

.chat-layout {
  height: calc(100vh - 65px);
  display: flex;
}

.chat-list {
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  width: 300px;
  overflow-y: auto;
}

.chat-list-header {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 8px;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.chat-list-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  transition: background .15s;
  display: flex;
}

.chat-list-item:hover {
  background: var(--bg-card-hover);
}

.chat-list-item.active {
  background: var(--accent-glow);
  border-left: 2px solid var(--accent);
}

.avatar {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.chat-main {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.chat-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  display: flex;
}

.messages-area {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 20px;
  display: flex;
  overflow-y: auto;
}

.message-bubble {
  border-radius: 14px;
  max-width: 70%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.message-customer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 2px;
  align-self: flex-start;
}

.message-ai {
  border: 1px solid var(--border-active);
  background: linear-gradient(135deg, #6366f120, #8b5cf620);
  border-radius: 14px 14px 2px;
  align-self: flex-end;
}

.message-admin {
  background: linear-gradient(135deg, #10b98120, #059669 10%);
  border: 1px solid #10b98140;
  border-radius: 14px 14px 2px;
  align-self: flex-end;
}

.message-meta {
  color: var(--text-muted);
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 10px;
  display: flex;
}

.chat-input-area {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  align-items: flex-end;
  gap: 10px;
  padding: 16px 20px;
  display: flex;
}

.chat-input-area textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  resize: none;
  border-radius: 10px;
  outline: none;
  flex: 1;
  max-height: 120px;
  padding: 10px 14px;
  font-family: Inter, Noto Sans Thai, sans-serif;
  font-size: 13px;
  transition: border-color .2s;
}

.chat-input-area textarea:focus {
  border-color: var(--accent);
}

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

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

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

.notif-dot {
  background: var(--danger);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 2s infinite pulse;
}

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

.login-page {
  background: radial-gradient(ellipse at 50% 0%, #6366f115 0%, transparent 60%), var(--bg-primary);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  display: flex;
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 60px var(--accent-glow);
  border-radius: 20px;
  padding: 40px;
}

.login-title {
  text-align: center;
  background: linear-gradient(to right, var(--accent-light), #c4b5fd);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 800;
}

.modal-overlay {
  z-index: 100;
  background: #000000b3;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 540px;
  box-shadow: 0 0 60px var(--accent-glow);
  border-radius: 16px;
  padding: 28px;
}

.modal-title {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
}

.flex {
  display: flex;
}

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

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

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

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

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

.mb-6 {
  margin-bottom: 24px;
}

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

.w-full {
  width: 100%;
}

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

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

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

.text-accent {
  color: var(--accent-light);
}

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

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

.font-bold {
  font-weight: 700;
}

.truncate {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes ring {
  0%, 100% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(15deg);
  }

  40% {
    transform: rotate(-15deg);
  }

  60% {
    transform: rotate(10deg);
  }

  80% {
    transform: rotate(-10deg);
  }
}

.ring-animation {
  animation: .8s ring;
}

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

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