/* 1ERP Backend HTML Template CSS (Standalone vanilla CSS) */
:root {
  --bg-color: #f4f4f5;
  --card-bg: #ffffff;
  --text-color: #18181b;
  --text-muted: #71717a;
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --primary-text: #ffffff;
  --border-color: #e4e4e7;
  --radius: 0.75rem;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #09090b;
    --card-bg: #18181b;
    --text-color: #f4f4f5;
    --text-muted: #a1a1aa;
    --border-color: #27272a;
  }
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Footer */
header.navbar {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-1 { flex: 1; }
.flex-none { flex: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }

@media (min-width: 640px) {
  .sm\:w-14 { width: 3.5rem; }
  .sm\:h-14 { height: 3.5rem; }
  .sm\:w-16 { width: 4rem; }
  .sm\:h-16 { height: 4rem; }
  .sm\:gap-6 { gap: 1.5rem; }
}
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

footer.footer {
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Containers & Cards */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Typography & Badges */
h1 { font-weight: 900; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.tracking-tight { letter-spacing: -0.025em; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(79, 70, 229, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--primary-text);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--text-color);
  padding: 0.375rem 0.75rem;
}
.btn-ghost:hover {
  background-color: rgba(127, 127, 127, 0.1);
}
.btn-sm { font-size: 0.75rem; padding: 0.375rem 0.75rem; }
.btn-md { font-size: 0.875rem; padding: 0.625rem 1.25rem; }
.btn-lg { font-size: 1rem; padding: 0.75rem 2rem; border-radius: 0.625rem; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.375rem 0.75rem;
}
.btn-outline:hover {
  background-color: rgba(127, 127, 127, 0.08);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(127, 127, 127, 0.1);
  color: var(--text-muted);
}
.badge-outline {
  background: transparent;
  border: 1px solid var(--border-color);
}
.hidden { display: none !important; }
.text-error { color: #ef4444; }
.text-primary { color: var(--primary-color); }
.border-base-200 { border-color: var(--border-color); }
.border-base-300 { border-color: var(--border-color); }
.bg-base-100 { background-color: var(--card-bg); }
.bg-base-200 { background-color: var(--bg-color); }
.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.divider:not(:empty)::before {
  margin-right: 0.75rem;
}

.divider:not(:empty)::after {
  margin-left: 0.75rem;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--card-bg);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.input-group-addon {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: rgba(127, 127, 127, 0.06);
  border-right: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.input-group .input {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.input-group .input:focus {
  border: none;
  box-shadow: none;
}

.otp-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-align: center;
  padding: 0.625rem 0.75rem;
  padding-left: 1.125em; /* balances trailing letter-spacing */
}

.link {
  color: var(--primary-color);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  vertical-align: text-bottom;
}

/* Auth Card & Buttons UI Enhancements */
.auth-wrapper {
  position: relative;
  width: 100%;
  max-width: 26rem;
  z-index: 1;
}

.auth-bg-ambient {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -15%);
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.14) 0%, rgba(99, 102, 241, 0.06) 45%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.auth-card {
  position: relative;
  z-index: 1;
  background-color: var(--card-bg);
  border: 1px solid rgba(228, 228, 231, 0.85);
  border-radius: 1.125rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07), 0 1px 3px 0 rgba(0, 0, 0, 0.03);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-color-scheme: dark) {
  .auth-card {
    border-color: rgba(39, 39, 42, 0.9);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  }
}

.btn-otp-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.32);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: 100%;
}

.btn-otp-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.42);
  transform: translateY(-1.5px);
}

.btn-otp-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px 0 rgba(79, 70, 229, 0.25);
}

.btn-google {
  background-color: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: 100%;
}

.btn-google:hover {
  background-color: rgba(127, 127, 127, 0.04);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1.5px);
}

@media (prefers-color-scheme: dark) {
  .btn-google:hover {
    border-color: #3f3f46;
    background-color: rgba(255, 255, 255, 0.03);
  }
}

.btn-google:active {
  transform: translateY(0);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  background-color: rgba(79, 70, 229, 0.08);
  color: var(--primary-color);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Login View Styles
   ========================================================================== */
/* Premium Login Styles */
    :root {
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --login-bg: #f8fafc;
      --card-bg: #ffffff;
      --text-main: #0f172a;
      --text-sub: #64748b;
      --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
      --primary-gradient-hover: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
      --btn-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.35);
      --btn-shadow-hover: 0 6px 20px 0 rgba(79, 70, 229, 0.45);
      --card-border: #e2e8f0;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --login-bg: #09090b;
        --card-bg: #18181b;
        --text-main: #f8fafc;
        --text-sub: #94a3b8;
        --card-border: #27272a;
      }
    }

    body {
      font-family: var(--font-family);
      background-color: var(--login-bg);
      color: var(--text-main);
      margin: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      -webkit-font-smoothing: antialiased;
    }

    .login-container {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex: 1;
      padding: 3rem 1rem;
      z-index: 1;
    }

    .ambient-glow {
      position: absolute;
      width: 480px;
      height: 480px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.08) 40%, transparent 70%);
      filter: blur(50px);
      pointer-events: none;
      z-index: -1;
    }

    .login-wrapper {
      width: 100%;
      max-width: 400px;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .brand-header {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }

    .brand-logo-wrap {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .brand-logo-img {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .brand-title {
      font-size: 1.75rem;
      font-weight: 900;
      letter-spacing: -0.03em;
      margin: 0;
    }

    .brand-pill {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 600;
      color: #6366f1;
      background: rgba(99, 102, 241, 0.1);
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      letter-spacing: 0.01em;
    }

    .login-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 1rem;
      padding: 2rem;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

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

    .card-heading h2 {
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin: 0 0 0.25rem 0;
    }

    .card-heading p {
      font-size: 0.8125rem;
      color: var(--text-sub);
      margin: 0;
    }

    .btn-otp-action {
      background: var(--card-bg);
      color: var(--text-main) !important;
      border: 1px solid var(--card-border);
      border-radius: 0.75rem;
      height: 48px;
      width: 100%;
      font-size: 0.9375rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.625rem;
      cursor: pointer;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-sizing: border-box;
      text-decoration: none;
    }

    .btn-otp-action:hover {
      background-color: rgba(127, 127, 127, 0.04);
      border-color: #cbd5e1;
      transform: translateY(-1px);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .btn-otp-action:active {
      transform: translateY(0);
    }

    .btn-google-action {
      background: var(--card-bg);
      color: var(--text-main) !important;
      border: 1px solid var(--card-border);
      border-radius: 0.75rem;
      height: 48px;
      width: 100%;
      font-size: 0.9375rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.625rem;
      cursor: pointer;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-sizing: border-box;
      text-decoration: none;
    }

    .btn-google-action:hover {
      background-color: rgba(127, 127, 127, 0.04);
      border-color: #cbd5e1;
      transform: translateY(-1px);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .btn-google-action:active {
      transform: translateY(0);
    }

    .custom-divider {
      display: flex;
      align-items: center;
      text-align: center;
      margin: 0.25rem 0;
      color: var(--text-sub);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 500;
    }

    .custom-divider::before,
    .custom-divider::after {
      content: '';
      flex: 1;
      border-bottom: 1px solid var(--card-border);
    }

    .custom-divider span {
      padding: 0 0.75rem;
      opacity: 0.7;
    }

    .trust-indicator {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.375rem;
      font-size: 0.75rem;
      color: var(--text-sub);
      opacity: 0.85;
      margin-top: 0.25rem;
    }

    .legal-footer-text {
      text-align: center;
      font-size: 0.75rem;
      color: var(--text-sub);
      line-height: 1.5;
      margin: 0;
      padding-top: 0.25rem;
    }

    .legal-footer-text a {
      color: #6366f1;
      text-decoration: none;
      font-weight: 500;
    }

    .legal-footer-text a:hover {
      text-decoration: underline;
    }

    .alert-box {
      border-radius: 0.5rem;
      padding: 0.75rem 1rem;
      font-size: 0.8125rem;
      text-align: center;
    }

    .alert-error {
      background-color: #fef2f2;
      color: #991b1b;
      border: 1px solid #fecaca;
    }

    .alert-success {
      background-color: #f0fdf4;
      color: #166534;
      border: 1px solid #bbf7d0;
    }

    .hidden {
      display: none !important;
    }

/* ==========================================================================
   Organisation Selection View Styles
   ========================================================================== */
/* ==========================================================================
       1ERP - Executive Organisation Selection Design System
       ========================================================================== */
    :root {
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --bg-canvas: #f8fafc;
      --card-bg: #ffffff;
      --card-sub: #f1f5f9;
      --card-border: #e2e8f0;
      --card-border-hover: rgba(99, 102, 241, 0.45);
      --text-main: #0f172a;
      --text-muted: #64748b;
      --text-faint: #94a3b8;
      --primary-accent: #4f46e5;
      --primary-accent-hover: #4338ca;
      --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
      --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
      --card-shadow-hover: 0 16px 32px -4px rgba(79, 70, 229, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
      --nav-bg: rgba(255, 255, 255, 0.85);
      --nav-border: #e2e8f0;
      --input-bg: #ffffff;
      --input-border: #cbd5e1;
      --badge-admin-bg: rgba(79, 70, 229, 0.08);
      --badge-admin-text: #4f46e5;
      --badge-admin-border: rgba(79, 70, 229, 0.2);
    }

    [data-theme="dark"] {
      --bg-canvas: #09090b;
      --card-bg: #141417;
      --card-sub: #1c1c22;
      --card-border: #27272a;
      --card-border-hover: rgba(99, 102, 241, 0.6);
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-faint: #64748b;
      --primary-accent: #6366f1;
      --primary-accent-hover: #4f46e5;
      --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
      --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
      --card-shadow-hover: 0 16px 36px -4px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(99, 102, 241, 0.35);
      --nav-bg: rgba(18, 18, 22, 0.85);
      --nav-border: #27272a;
      --input-bg: #18181b;
      --input-border: #3f3f46;
      --badge-admin-bg: rgba(99, 102, 241, 0.15);
      --badge-admin-text: #818cf8;
      --badge-admin-border: rgba(99, 102, 241, 0.3);
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="emerald"]):not([data-theme="light"]) {
        --bg-canvas: #09090b;
        --card-bg: #141417;
        --card-sub: #1c1c22;
        --card-border: #27272a;
        --card-border-hover: rgba(99, 102, 241, 0.6);
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --text-faint: #64748b;
        --primary-accent: #6366f1;
        --primary-accent-hover: #4f46e5;
        --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
        --card-shadow-hover: 0 16px 36px -4px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(99, 102, 241, 0.35);
        --nav-bg: rgba(18, 18, 22, 0.85);
        --nav-border: #27272a;
        --input-bg: #18181b;
        --input-border: #3f3f46;
        --badge-admin-bg: rgba(99, 102, 241, 0.15);
        --badge-admin-text: #818cf8;
        --badge-admin-border: rgba(99, 102, 241, 0.3);
      }
    }

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

    body {
      font-family: var(--font-family);
      background-color: var(--bg-canvas);
      color: var(--text-main);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      -webkit-font-smoothing: antialiased;
      position: relative;
      overflow-x: hidden;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    /* Ambient Lighting */
    .ambient-glow-left {
      position: fixed;
      top: -100px;
      left: 10%;
      width: 550px;
      height: 550px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
      filter: blur(60px);
      pointer-events: none;
      z-index: 0;
    }

    .ambient-glow-right {
      position: fixed;
      bottom: 50px;
      right: 5%;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
      filter: blur(60px);
      pointer-events: none;
      z-index: 0;
    }

    /* Top Navigation */
    .org-nav {
      position: sticky;
      top: 0;
      z-index: 40;
      background: var(--nav-bg);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--nav-border);
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: var(--text-main);
    }

    .nav-logo-box {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .nav-title {
      font-size: 1.25rem;
      font-weight: 900;
      letter-spacing: -0.03em;
    }

    .nav-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--primary-accent);
      background: rgba(99, 102, 241, 0.1);
      padding: 0.2rem 0.625rem;
      border-radius: 9999px;
      border: 1px solid rgba(99, 102, 241, 0.2);
    }

    .pulse-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #10b981;
      box-shadow: 0 0 8px #10b981;
      animation: pulseDot 2s infinite;
    }

    @keyframes pulseDot {
      0% { opacity: 0.6; transform: scale(0.9); }
      50% { opacity: 1; transform: scale(1.15); }
      100% { opacity: 0.6; transform: scale(0.9); }
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .user-profile-badge {
      display: flex;
      align-items: center;
      gap: 0.625rem;
      padding: 0.3rem 0.75rem;
      background: var(--card-sub);
      border: 1px solid var(--card-border);
      border-radius: 9999px;
      font-size: 0.8125rem;
    }

    .user-avatar-circle {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--primary-gradient);
      color: #ffffff;
      font-size: 0.6875rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      text-transform: uppercase;
      box-shadow: 0 2px 4px rgba(79, 70, 229, 0.25);
    }

    .user-name-text {
      font-weight: 600;
      color: var(--text-main);
      max-width: 140px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .btn-theme-toggle {
      background: transparent;
      border: 1px solid var(--card-border);
      color: var(--text-muted);
      width: 34px;
      height: 34px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .btn-theme-toggle:hover {
      background: var(--card-sub);
      color: var(--text-main);
      border-color: var(--text-muted);
    }

    .btn-signout {
      background: transparent;
      border: 1px solid var(--card-border);
      color: #ef4444;
      padding: 0.375rem 0.75rem;
      border-radius: 8px;
      font-size: 0.8125rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.375rem;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .btn-signout:hover {
      background: rgba(239, 68, 68, 0.1);
      border-color: rgba(239, 68, 68, 0.3);
    }

    /* Main Container */
    .main-wrapper {
      position: relative;
      z-index: 10;
      max-width: 960px;
      width: 100%;
      margin: 0 auto;
      padding: 2.5rem 1.25rem 4rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    /* Hero Header */
    .hero-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.75rem;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--primary-accent);
      background: rgba(99, 102, 241, 0.08);
      border: 1px solid rgba(99, 102, 241, 0.2);
      padding: 0.25rem 0.875rem;
      border-radius: 9999px;
    }

    .hero-title {
      font-size: 2.25rem;
      font-weight: 900;
      letter-spacing: -0.035em;
      line-height: 1.2;
      background: linear-gradient(135deg, var(--text-main) 60%, var(--primary-accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: 0.9375rem;
      color: var(--text-muted);
      max-width: 580px;
      line-height: 1.5;
    }

    .hero-desc strong {
      color: var(--text-main);
    }

    /* Controls & Toolbar */
    .toolbar-strip {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.75rem 1rem;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 0.875rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }

    .search-box-wrap {
      flex: 1;
      min-width: 240px;
      position: relative;
      display: flex;
      align-items: center;
    }

    .search-icon {
      position: absolute;
      left: 0.875rem;
      color: var(--text-faint);
      pointer-events: none;
    }

    .search-input {
      width: 100%;
      padding: 0.5rem 2.25rem 0.5rem 2.375rem;
      background: var(--input-bg);
      border: 1px solid var(--input-border);
      border-radius: 0.5rem;
      color: var(--text-main);
      font-size: 0.875rem;
      outline: none;
      transition: all 0.15s ease;
    }

    .search-input:focus {
      border-color: var(--primary-accent);
      box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    }

    .search-input::placeholder {
      color: var(--text-faint);
    }

    .search-hotkey {
      position: absolute;
      right: 0.625rem;
      font-size: 0.6875rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-weight: 600;
      color: var(--text-faint);
      background: var(--card-sub);
      border: 1px solid var(--card-border);
      padding: 0.125rem 0.375rem;
      border-radius: 4px;
      pointer-events: none;
    }

    .search-clear-btn {
      position: absolute;
      right: 0.625rem;
      background: transparent;
      border: none;
      color: var(--text-faint);
      cursor: pointer;
      font-size: 1rem;
      line-height: 1;
      padding: 0.25rem;
      display: none;
    }

    .search-clear-btn:hover {
      color: var(--text-main);
    }

    .toolbar-actions {
      display: flex;
      align-items: center;
      gap: 0.625rem;
    }

    .btn-create-org {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--primary-gradient);
      color: #ffffff;
      border: none;
      border-radius: 0.5rem;
      padding: 0.5rem 1rem;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-create-org:hover {
      box-shadow: 0 4px 16px rgba(79, 70, 229, 0.45);
      transform: translateY(-1px);
    }

    .btn-create-org:active {
      transform: translateY(0);
    }

    .btn-hotkey-badge {
      font-size: 0.6875rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      background: rgba(255, 255, 255, 0.25);
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
    }

    /* Inline Create Organisation Panel */
    .create-org-panel {
      background: var(--card-bg);
      border: 1px solid var(--primary-accent);
      border-radius: 1rem;
      padding: 1.5rem;
      box-shadow: 0 12px 30px -5px rgba(79, 70, 229, 0.15);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      animation: slideDown 0.25s ease-out;
    }

    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .create-org-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 0.875rem;
    }

    .create-org-heading {
      display: flex;
      align-items: center;
      gap: 0.625rem;
    }

    .create-org-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(99, 102, 241, 0.1);
      color: var(--primary-accent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .create-org-title {
      font-size: 1.0625rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .create-org-subtitle {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.125rem;
    }

    .btn-close-panel {
      background: transparent;
      border: 1px solid var(--card-border);
      color: var(--text-muted);
      width: 28px;
      height: 28px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .btn-close-panel:hover {
      background: var(--card-sub);
      color: var(--text-main);
    }

    /* Form Fields */
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }

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

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.375rem;
    }

    .form-label {
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--text-main);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .form-label-hint {
      font-size: 0.6875rem;
      color: var(--text-faint);
      font-weight: 400;
    }

    .form-input {
      width: 100%;
      padding: 0.625rem 0.875rem;
      background: var(--input-bg);
      border: 1px solid var(--input-border);
      border-radius: 0.5rem;
      color: var(--text-main);
      font-size: 0.875rem;
      outline: none;
      transition: all 0.15s ease;
    }

    .form-input:focus {
      border-color: var(--primary-accent);
      box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    }

    .slug-input-wrapper {
      display: flex;
      align-items: center;
      background: var(--input-bg);
      border: 1px solid var(--input-border);
      border-radius: 0.5rem;
      overflow: hidden;
      transition: all 0.15s ease;
    }

    .slug-input-wrapper:focus-within {
      border-color: var(--primary-accent);
      box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    }

    .slug-prefix {
      padding: 0.625rem 0.75rem;
      background: var(--card-sub);
      border-right: 1px solid var(--card-border);
      color: var(--text-muted);
      font-size: 0.75rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-weight: 600;
      user-select: none;
    }

    .slug-suffix {
      padding: 0.625rem 0.75rem;
      background: var(--card-sub);
      border-left: 1px solid var(--card-border);
      color: var(--text-muted);
      font-size: 0.75rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-weight: 600;
      user-select: none;
    }

    .slug-input {
      flex: 1;
      padding: 0.625rem 0.75rem;
      border: none;
      background: transparent;
      color: var(--text-main);
      font-size: 0.8125rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      outline: none;
    }

    .url-preview-pill {
      font-size: 0.6875rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.375rem;
      margin-top: 0.25rem;
    }

    .url-preview-text {
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-weight: 600;
      color: var(--primary-accent);
    }

    .create-org-footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.75rem;
      border-top: 1px solid var(--card-border);
      padding-top: 1rem;
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid var(--card-border);
      color: var(--text-muted);
      padding: 0.5rem 1rem;
      border-radius: 0.5rem;
      font-size: 0.8125rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .btn-secondary:hover {
      background: var(--card-sub);
      color: var(--text-main);
    }

    /* Organisation Cards Grid */
    .org-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
      gap: 1.25rem;
    }

    @media (max-width: 640px) {
      .org-grid {
        grid-template-columns: 1fr;
      }
    }

    .workspace-card {
      position: relative;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 1rem;
      padding: 1.375rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.125rem;
      text-decoration: none;
      color: inherit;
      box-shadow: var(--card-shadow);
      cursor: pointer;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }

    .workspace-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--card-accent-gradient, var(--primary-gradient));
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .workspace-card:hover {
      transform: translateY(-3px);
      border-color: var(--card-border-hover);
      box-shadow: var(--card-shadow-hover);
    }

    .workspace-card:hover::before {
      opacity: 1;
    }

    .card-top {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
    }

    .org-avatar {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      color: #ffffff;
      font-size: 1.125rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      letter-spacing: -0.02em;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      transition: transform 0.2s ease;
    }

    .workspace-card:hover .org-avatar {
      transform: scale(1.05);
    }

    .org-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .org-title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .org-title {
      font-size: 1.0625rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.02em;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      transition: color 0.15s ease;
    }

    .workspace-card:hover .org-title {
      color: var(--primary-accent);
    }

    .org-badges-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.125rem;
    }

    .badge-role {
      font-size: 0.6875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 0.125rem 0.5rem;
      border-radius: 9999px;
      background: var(--badge-admin-bg);
      color: var(--badge-admin-text);
      border: 1px solid var(--badge-admin-border);
    }

    .badge-hotkey {
      font-size: 0.6875rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-weight: 600;
      color: var(--text-faint);
      background: var(--card-sub);
      border: 1px solid var(--card-border);
      padding: 0.1rem 0.375rem;
      border-radius: 4px;
    }

    .org-subdomain-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.375rem;
    }

    .org-subdomain-pill {
      font-size: 0.75rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      color: var(--text-muted);
      background: var(--card-sub);
      padding: 0.2rem 0.5rem;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .btn-copy-url {
      background: transparent;
      border: none;
      color: var(--text-faint);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.2rem;
      border-radius: 4px;
      transition: all 0.15s ease;
    }

    .btn-copy-url:hover {
      color: var(--text-main);
      background: var(--card-sub);
    }

    .card-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--card-border);
      padding-top: 0.875rem;
      font-size: 0.8125rem;
    }

    .workspace-status {
      display: flex;
      align-items: center;
      gap: 0.375rem;
      color: #10b981;
      font-weight: 600;
      font-size: 0.75rem;
    }

    .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #10b981;
    }

    .card-launch-action {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      font-weight: 700;
      color: var(--primary-accent);
      transition: all 0.15s ease;
    }

    .card-arrow-icon {
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .workspace-card:hover .card-arrow-icon {
      transform: translateX(4px);
    }

    /* Empty States */
    .empty-state-card {
      background: var(--card-bg);
      border: 1px dashed var(--card-border);
      border-radius: 1.25rem;
      padding: 3.5rem 1.5rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .empty-icon-wrap {
      width: 64px;
      height: 64px;
      border-radius: 16px;
      background: rgba(99, 102, 241, 0.1);
      color: var(--primary-accent);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 14px rgba(79, 70, 229, 0.15);
    }

    .empty-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-main);
    }

    .empty-desc {
      font-size: 0.875rem;
      color: var(--text-muted);
      max-width: 440px;
      line-height: 1.5;
    }

    /* Toast Notification */
    .toast-pill {
      position: fixed;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: #0f172a;
      color: #ffffff;
      padding: 0.625rem 1.25rem;
      border-radius: 9999px;
      font-size: 0.8125rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
      opacity: 0;
      pointer-events: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 100;
    }

    [data-theme="dark"] .toast-pill {
      background: #27272a;
      border: 1px solid #3f3f46;
    }

    .toast-pill.visible {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* Utilities */
    .hidden { display: none !important; }
    .alert-error-box {
      background-color: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: #ef4444;
      padding: 0.625rem 0.875rem;
      border-radius: 0.5rem;
      font-size: 0.8125rem;
    }

/* ==========================================================================
   System Administration View Styles
   ========================================================================== */
.admin-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
    }
    .stat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .stat-card {
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
    .stat-value {
      font-size: 2rem;
      font-weight: 800;
      color: var(--primary-color);
      line-height: 1;
    }
    .stat-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .org-card {
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 1.5rem;
      margin-bottom: 1.25rem;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
    .org-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid var(--border-color);
    }
    .member-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
      margin-top: 0.5rem;
    }
    .member-table th, .member-table td {
      padding: 0.625rem 0.75rem;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
    }
    .member-table th {
      font-weight: 600;
      color: var(--text-muted);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .badge-role {
      display: inline-block;
      padding: 0.2rem 0.5rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: capitalize;
    }
    .badge-admin {
      background-color: rgba(79, 70, 229, 0.15);
      color: var(--primary-color);
    }
    .badge-member {
      background-color: rgba(148, 163, 184, 0.2);
      color: var(--text-muted);
    }
    .auth-box {
      max-width: 420px;
      margin: 4rem auto;
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 2rem;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      text-align: center;
    }
    .input-field {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid var(--border-color);
      border-radius: 0.5rem;
      background-color: var(--bg-color);
      color: var(--text-color);
      font-size: 0.95rem;
      margin: 1rem 0;
      outline: none;
    }
    .input-field:focus {
      border-color: var(--primary-color);
    }
    .json-btn {
      font-size: 0.8rem;
      padding: 0.4rem 0.8rem;
      border-radius: 0.375rem;
      background-color: transparent;
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      cursor: pointer;
    }
    .json-btn:hover {
      background-color: var(--border-color);
      color: var(--text-color);
    }

