/* Heima-inspired dark theme for LLM Gateway */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg-0: #101214;
  --bg-1: #181B1D;
  --bg-2: #1D1F22;
  --bg-card: #181B1D;
  --bg-card-2: #151617;
  --bg-card-hover: #1E2024;
  --text-1: #ECECEC;
  --text-2: #8A8F98;
  --text-3: rgba(236, 236, 236, 0.4);
  --text-4: rgba(255, 255, 255, 0.1);
  --primary: #9CF982;
  --primary-dim: rgba(156, 249, 130, 0.12);
  --gradient: linear-gradient(134deg, #FEE45D 10%, #AEFEC3 89%);
  --green: #01BC8D;
  --green-dim: rgba(1, 188, 141, 0.15);
  --red: #e34376;
  --red-dim: rgba(227, 67, 118, 0.15);
  --warning: #FEA75B;
  --warning-dim: rgba(254, 167, 91, 0.15);
  --blue: #047AFF;
  --border: rgba(255, 255, 255, 0.08);
  --border-solid: #1E1E1E;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Poppins', var(--font);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

a { color: var(--primary); text-decoration: none; }
a:hover { opacity: 0.8; }

/* ===== GLOBAL HEADER ===== */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-0);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-solid);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

.global-header-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 100px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-brand img {
  height: 20px;
  width: auto;
}

.header-brand .brand-separator {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  margin: 0 2px;
}

.header-brand .brand-wildmeta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-brand .brand-wildmeta img {
  height: 18px;
  width: 18px;
}

.header-brand .brand-wildmeta span {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}

.header-brand:hover { opacity: 0.9; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}

.header-link:hover {
  color: var(--text-1);
  background: #252525;
  opacity: 1;
}

.header-link.active {
  color: var(--text-1);
  background: #252525;
}

/* Language Switcher */
.lang-switcher {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  min-width: 40px;
  text-align: center;
}

.lang-switcher:hover {
  color: var(--text-1);
  border-color: var(--text-2);
  opacity: 1;
}

.header-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--border-solid);
}

.header-user-name {
  font-size: 14px;
  color: var(--text-2);
}

.header-user-name strong {
  color: var(--text-1);
}

/* ===== CTA BUTTON (Heima-style) ===== */
.btn-cta {
  background: var(--text-1);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-cta:hover {
  background: #D9D9D9;
}

/* Container */
.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 100px;
  padding-top: 84px;
}

/* Hidden */
.hidden { display: none !important; }

/* ===== BUTTONS ===== */
button, .btn {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-1);
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

button:hover { opacity: 0.8; }
button:active { opacity: 0.6; }
button:disabled { opacity: 0.3; cursor: not-allowed; }

.btn-primary {
  background: var(--text-1);
  color: #000;
  border: none;
  font-weight: 600;
}

.btn-primary:hover { background: #D9D9D9; opacity: 1; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(236, 236, 236, 0.5);
}

.btn-ghost:hover {
  border-color: var(--text-1);
  opacity: 1;
}

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(227, 67, 118, 0.2);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

/* ===== INPUT / FORM ===== */
input, select {
  font-family: var(--font);
  font-size: 14px;
  background: var(--bg-0);
  color: var(--text-1);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

input:focus, select:focus {
  border-color: var(--primary);
}

input::placeholder {
  color: var(--text-2);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 6px;
}

/* ===== LOGIN ===== */
.login-container {
  max-width: 420px;
  margin: 0 auto;
  padding-top: calc(68px + 10vh);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .logo-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.login-logo .logo-images img.heima-logo {
  height: 22px;
  width: auto;
}

.login-logo .logo-images .logo-sep {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}

.login-logo .logo-images .wm-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.login-logo .logo-images .wm-logo img {
  height: 18px;
  width: 18px;
}

.login-logo .logo-images .wm-logo span {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
}

.login-logo p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 130%;
}

.login-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-card button[type="submit"] {
  background: var(--text-1);
  color: #000;
  border: none;
  font-weight: 600;
  padding: 12px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  margin-top: 8px;
}

.login-card button[type="submit"]:hover { background: #D9D9D9; }

.login-error {
  background: var(--red-dim);
  color: var(--red);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid rgba(227, 67, 118, 0.2);
}

/* ===== NAV BAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-solid);
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.navbar .brand img.heima-logo {
  height: 18px;
  width: auto;
}

.navbar .brand .brand-sep {
  color: var(--text-2);
  font-weight: 500;
}

.navbar .brand .wm-part {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar .brand .wm-part img {
  height: 16px;
  width: 16px;
}

.navbar .brand .wm-part span {
  font-family: var(--font-accent);
  color: var(--text-1);
}

.navbar .brand .admin-tag {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 400;
}

.navbar .user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-2);
  font-size: 14px;
}

/* ===== STAT CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-1);
}

.stat-card .stat-value.credits {
  color: var(--primary);
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-active, .badge-success {
  background: var(--green-dim);
  color: var(--green);
}

.badge-disabled, .badge-error {
  background: var(--red-dim);
  color: var(--red);
}

.badge-warning {
  background: var(--warning-dim);
  color: var(--warning);
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-solid);
  margin-bottom: 24px;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
  border-radius: 0;
}

.tab-btn:hover {
  color: var(--text-1);
  background: none;
  opacity: 1;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
  background: none;
}

/* ===== TABLES ===== */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

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

td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  vertical-align: middle;
}

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

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

td code {
  background: var(--bg-2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-2);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}

.pagination button {
  min-width: 36px;
  padding: 6px 12px;
}

.pagination .page-info {
  font-size: 14px;
  color: var(--text-2);
}

/* ===== FLASH MESSAGES ===== */
.flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}

.flash-success {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(1, 188, 141, 0.2);
}

.flash-error {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(227, 67, 118, 0.2);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

/* ===== FORMS GRID ===== */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  align-items: end;
}

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

/* ===== CREATE FORM CARD ===== */
.create-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.create-form-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.create-form-card .form-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* ===== DIALOG / MODAL ===== */
dialog {
  background: var(--bg-card);
  color: var(--text-1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 420px;
  width: 90%;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

dialog h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

dialog .dialog-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1440px) {
  .global-header-inner,
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .global-header-inner {
    padding: 0 16px;
    height: 56px;
  }
  .container { padding: 0 16px; padding-top: 72px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card .stat-value { font-size: 1.4rem; }
  .navbar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; }
  .header-brand img { height: 16px; }
  .header-brand .brand-wildmeta span { font-size: 12px; }
  .login-logo .logo-images img.heima-logo { height: 18px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .login-card { padding: 28px 20px; }
}

/* ===== DOCS PAGE ===== */
.docs-layout {
  display: flex;
  padding-top: 68px;
  min-height: 100vh;
}

.docs-sidebar {
  position: fixed;
  top: 68px;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--bg-1);
  border-right: 1px solid var(--border-solid);
  overflow-y: auto;
  padding: 24px 0;
  z-index: 10;
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-nav-section {
  padding: 0 16px;
  margin-bottom: 8px;
}

.docs-nav-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  padding: 12px 12px 6px;
}

.docs-nav-link {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.docs-nav-link:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.04);
  opacity: 1;
}

.docs-nav-link.active {
  color: var(--primary);
  background: var(--primary-dim);
}

.docs-content {
  margin-left: 260px;
  flex: 1;
  max-width: 860px;
  padding: 40px 60px 80px;
}

.docs-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-solid);
}

.docs-section:last-child {
  border-bottom: none;
}

.docs-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-accent);
}

.docs-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-top: 8px;
}

.docs-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-1);
}

.docs-section p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.docs-lead {
  font-size: 17px !important;
  color: var(--text-1) !important;
  line-height: 1.7;
}

.docs-section code {
  background: var(--bg-2);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--primary);
}

.docs-section ul, .docs-section ol {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 16px;
}

.docs-section li {
  margin-bottom: 4px;
}

/* Docs Code Blocks */
.docs-code-block {
  background: var(--bg-card);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
}

.docs-code-header {
  padding: 8px 16px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border-solid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.docs-code-header span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.docs-code-block pre {
  padding: 16px;
  overflow-x: auto;
  margin: 0;
}

.docs-code-block pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--text-1);
  font-size: 13px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  line-height: 1.6;
}

/* Docs Callout */
.docs-callout {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid;
}

.docs-callout-info {
  background: rgba(4, 122, 255, 0.06);
  border-color: rgba(4, 122, 255, 0.15);
}

.docs-callout-warning {
  background: var(--warning-dim);
  border-color: rgba(254, 167, 91, 0.2);
}

.docs-callout-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.docs-callout-info .docs-callout-title {
  color: var(--blue);
}

.docs-callout-warning .docs-callout-title {
  color: var(--warning);
}

.docs-callout p, .docs-callout ul {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.docs-callout ul {
  padding-left: 18px;
  margin-top: 4px;
}

/* Docs Endpoint */
.docs-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
}

.docs-method {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-dim);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.docs-endpoint code {
  font-size: 14px !important;
  color: var(--text-1) !important;
  background: none !important;
  padding: 0 !important;
}

/* Docs Tables */
.docs-table-wrapper {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.docs-table-wrapper table {
  margin: 0;
}

/* Docs Highlight Cards (credit rates) */
.docs-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.docs-highlight-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.docs-highlight-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.docs-highlight-icon {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

.docs-highlight-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 8px;
}

.docs-highlight-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.docs-highlight-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Formula display */
.docs-formula {
  background: var(--bg-card);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.docs-formula code {
  font-size: 16px !important;
  color: var(--text-1) !important;
  background: none !important;
}

.docs-calc {
  font-size: 12px;
  color: var(--text-2);
}

/* Docs List */
.docs-list {
  list-style: none;
  padding-left: 0 !important;
}

.docs-list li {
  position: relative;
  padding-left: 20px;
}

.docs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ===== CLAIM PAGE ===== */
.claim-hero {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.claim-hero h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.claim-hero p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

.claim-status-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
}

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

.claim-date {
  font-size: 13px;
  color: var(--text-2);
}

.upload-section {
  margin-top: 24px;
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.upload-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
}

.upload-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.upload-preview {
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-solid);
}

.upload-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.approved-key-section {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-0);
  border-radius: var(--radius);
  border: 1px solid var(--border-solid);
}

.approved-key-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.claim-approved-card {
  border-color: rgba(1, 188, 141, 0.3);
}

.claim-rejected-card {
  border-color: rgba(227, 67, 118, 0.3);
}

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

/* Docs Responsive */
@media (max-width: 1024px) {
  .docs-sidebar {
    width: 220px;
  }
  .docs-content {
    margin-left: 220px;
    padding: 32px 32px 60px;
  }
}

@media (max-width: 768px) {
  .docs-sidebar {
    display: none;
  }
  .docs-content {
    margin-left: 0;
    padding: 24px 16px 60px;
  }
  .docs-highlight-grid {
    grid-template-columns: 1fr;
  }
}
