/* Aurora Studio unified dark theme for Aurora Studio */
:root {
  --pink: #6fa8a5;
  --pink-dark: #5b9491;
  --brand-grad: linear-gradient(135deg, #8fd0cb 0%, #6fa8a5 55%, #5b9491 100%);
  --bg: #0b0d12;
  --surface: rgba(24, 30, 40, 0.92);
  --surface-2: #10151d;
  --text: #eef0f4;
  --muted: #9aa4b5;
  --faint: #7f8899;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  --ok: #7fc0bb;
  --warn: #d7b36a;
  --err: #ef8f8f;
}

html, body { background: #0b0d12 !important; color: var(--text); }
body {
  background-image: radial-gradient(circle at 20% 0%, rgba(111, 168, 165, 0.10), transparent 40%),
                    radial-gradient(circle at 90% 10%, rgba(226, 186, 200, 0.06), transparent 35%) !important;
  background-attachment: fixed;
}

a { color: #8fd0cb; }

.login-wrap {
  background: transparent !important;
  min-height: 100vh;
}
.login-card {
  background: linear-gradient(155deg, rgba(26, 32, 42, 0.96), rgba(12, 15, 21, 0.98)) !important;
  border: 1px solid rgba(120, 180, 176, 0.22) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5) !important;
  border-radius: 22px !important;
  color: var(--text);
}
.brand-logo {
  background: var(--brand-grad) !important;
  color: #0b0d12 !important;
  box-shadow: 0 8px 20px -10px rgba(111, 168, 165, 0.9) !important;
  border-radius: 14px;
}
.brand-title { color: #fff !important; letter-spacing: .06em; }
.brand-sub { color: #7f8899 !important; }
.login-card h1 { color: #fff !important; font-weight: 800; }
.login-card .sub { color: #8b94a6 !important; }

.field > span { color: #9aa4b5 !important; }
input, select, textarea {
  background: rgba(0, 0, 0, 0.32) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #eef0f4 !important;
  border-radius: 10px !important;
}
input:focus, select:focus, textarea:focus {
  border-color: #6fa8a5 !important;
  box-shadow: 0 0 0 3px rgba(111, 168, 165, 0.14) !important;
  outline: none !important;
}
input::placeholder, textarea::placeholder { color: #667082 !important; }

.btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #dfe5ee !important;
  box-shadow: none !important;
}
.btn:hover { background: rgba(111, 168, 165, 0.16) !important; }
.btn.primary {
  background: #6fa8a5 !important;
  color: #0b0d12 !important;
  border-color: transparent !important;
  font-weight: 800;
  box-shadow: 0 10px 24px -16px rgba(111, 168, 165, 0.9) !important;
}
.btn.primary:hover { background: #7fc0bb !important; }
.btn.ghost { background: rgba(255, 255, 255, 0.04) !important; }
.btn.danger { background: rgba(239, 143, 143, 0.12) !important; color: #ef8f8f !important; border-color: rgba(239, 143, 143, 0.25) !important; }

.topbar {
  background: rgba(11, 13, 18, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px);
}
.topbar .brand-title { color: #fff !important; }
.topbar .brand-sub { color: #7f8899 !important; }
.user-pill {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #9aa4b5 !important;
}
.user-pill strong { color: #fff !important; }

.layout { max-width: 1180px; }
.hero h1 { color: #fff !important; }
.hero p { color: #8b94a6 !important; }
.step-chips .chip, .chip {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #cfd6e2 !important;
}

.card, .panel, .surface, .section-card, .stat-card, .kpi-card, .task-item,
.admin-card, .settings-card, .overview-card, .analytics-card, .proxy-card, .user-card {
  background: rgba(22, 27, 36, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: var(--text) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22) !important;
}
.task-item:hover { background: rgba(30, 38, 49, 0.95) !important; border-color: rgba(127, 192, 187, 0.3) !important; }
.task-item.active { border-color: #6fa8a5 !important; background: rgba(111, 168, 165, 0.10) !important; }

h1, h2, h3, h4, .card h2, .card h3 { color: #fff; }
.muted, .faint, .sub, .hint { color: #8b94a6 !important; }

table { color: #dfe5ee; }
thead th { color: #8b94a6 !important; border-color: rgba(255,255,255,.08) !important; }
tbody td { border-color: rgba(255,255,255,.06) !important; }
tbody tr:hover { background: rgba(255,255,255,.03) !important; }

.status-pill { border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); }
.status-pill.ok { color: #9fe0da; background: rgba(111,168,165,.14); border-color: rgba(111,168,165,.32); }
.status-pill.warn { color: #e6c98a; background: rgba(215,179,106,.12); border-color: rgba(215,179,106,.28); }
.status-pill.err { color: #ef9c9c; background: rgba(239,143,143,.12); border-color: rgba(239,143,143,.28); }
.status-pill.run { color: #9fe0da; background: rgba(111,168,165,.16); border-color: rgba(111,168,165,.35); }

.kpi-bar { background: rgba(255,255,255,.08) !important; }
.qr-box img { background: #fff !important; }
.error-text { color: #ef9c9c !important; }
.login-foot, .login-foot a { color: #7f8899 !important; }

dialog, .modal, .modal-card { background: #151b24 !important; color: #eef0f4 !important; border-color: rgba(255,255,255,.1) !important; }
hr { border-color: rgba(255,255,255,.08) !important; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0b0d12; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; }


/* unify ticket hero with control center */
.hero {
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(111, 168, 165, 0.22), transparent 55%),
    radial-gradient(90% 130% at 0% 110%, rgba(226, 186, 200, 0.10), transparent 58%),
    linear-gradient(135deg, #1a202a 0%, #11161f 58%, #0b0d12 100%) !important;
  border: 1px solid rgba(120, 180, 176, 0.22) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32) !important;
}
.hero p { color: #aeb7c6 !important; }
.brand-logo { font-size: 13px !important; letter-spacing: 0 !important; }

.brand-logo img { width: 100%; height: 100%; display: block; border-radius: 12px; }
