/* Extracted from public/dashboard.html */
:root {
  --bg: #0d1117; --surface: #161b22; --surface2: #21262d;
  --border: rgba(255,255,255,0.08); --accent: #3fb950;
  --green: #3fb950; --orange: #f78166; --yellow: #e3b341;
  --text: #e6edf3; --muted: #7d8590;
  --font: 'Outfit', sans-serif; --font-body: 'DM Sans', sans-serif;
  --r: 12px;
}
/* Renk şemaları — index.html ile aynı sistem */
[data-color="g1"],[data-color="g2"],[data-color="g3"] { --accent:#3fb950; --green:#3fb950; }
[data-color="b1"] { --accent:#4a90d9; --green:#4a90d9; }
[data-color="b2"] { --accent:#378ADD; --green:#378ADD; }
[data-color="b3"] { --accent:#2060c0; --green:#2060c0; }
[data-color="y1"] { --accent:#d4943a; --green:#d4943a; }
[data-color="y2"] { --accent:#BA7517; --green:#BA7517; }
[data-color="y3"] { --accent:#9a5e0a; --green:#9a5e0a; }
[data-color="r1"] { --accent:#d45068; --green:#d45068; }
[data-color="r2"] { --accent:#b83050; --green:#b83050; }
[data-color="r3"] { --accent:#962040; --green:#962040; }
[data-theme="light"] {
  --bg: #f6f8fa; --surface: #ffffff; --surface2: #f0f2f5;
  --border: rgba(0,0,0,0.1); --text: #1c2128; --muted: #57606a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); min-height: 100vh; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.nav-logo span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-user { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.nav-user img { width: 28px; height: 28px; border-radius: 50%; }
.nav-btn { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; font-family: var(--font); transition: opacity 0.2s; text-decoration: none; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline:hover, .btn-primary:hover { opacity: 0.8; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 12px; }
.profile-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; text-align: center;
}
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 12px; background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-family: var(--font); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.profile-email { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.points-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(227,179,65,0.15); color: var(--yellow);
  border: 1px solid rgba(227,179,65,0.3);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 700;
}

.nav-menu { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.menu-item {
  padding: 12px 16px; cursor: pointer; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; transition: all 0.15s;
  border-left: 3px solid transparent; color: var(--muted);
}
.menu-item:hover { background: var(--surface2); color: var(--text); }
.menu-item.active { color: var(--accent); border-left-color: var(--accent); background: rgba(88,166,255,0.08); }

.plan-card {
  background: linear-gradient(135deg, rgba(88,166,255,0.15), rgba(88,166,255,0.05));
  border: 1px solid rgba(88,166,255,0.3);
  border-radius: var(--r); padding: 16px;
}
.plan-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.plan-name { font-family: var(--font); font-weight: 800; font-size: 20px; color: var(--accent); }
.plan-upgrade { display: block; margin-top: 12px; text-align: center; padding: 8px; background: var(--accent); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; font-family: var(--font); }

/* Main content */
.main { display: flex; flex-direction: column; gap: 20px; flex: 1; min-width: 0; min-height: 100px; }
.page { display: none; }
.page.active { display: flex; flex-direction: column; gap: 20px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-family: var(--font); font-weight: 700; font-size: 15px; }
.card-body { padding: 20px; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.stat-label { font-size: 11px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-family: var(--font); font-size: 28px; font-weight: 800; }
.stat-value.green { color: var(--green); }
.stat-value.blue { color: var(--accent); }
.stat-value.yellow { color: var(--yellow); }

/* Analysis history */
.analysis-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.analysis-item:last-child { border-bottom: none; }
.analysis-type { font-weight: 600; font-size: 14px; }
.analysis-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.score-badge {
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700;
  font-family: var(--font);
}
.score-good { background: rgba(63,185,80,0.15); color: var(--green); }
.score-warn { background: rgba(227,179,65,0.15); color: var(--yellow); }
.score-bad { background: rgba(247,129,102,0.15); color: var(--orange); }

/* Points history */
.point-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.point-item:last-child { border-bottom: none; }
.point-action { font-size: 13px; font-weight: 500; }
.point-date { font-size: 11px; color: var(--muted); }
.point-value { font-family: var(--font); font-weight: 700; font-size: 16px; color: var(--green); }

/* Profile form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group select, .form-group input {
  padding: 10px 12px; background: var(--surface2);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: var(--font-body); font-size: 14px; outline: none;
}
.form-group select:focus, .form-group input:focus { border-color: var(--accent); }
.save-btn {
  padding: 10px 24px; background: var(--accent); color: #fff;
  border: none; border-radius: 8px; font-family: var(--font);
  font-size: 14px; font-weight: 700; cursor: pointer; transition: opacity 0.2s;
}
.save-btn:hover { opacity: 0.85; }

/* Empty state */
.empty { text-align: center; padding: 40px; color: var(--muted); }
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty p { font-size: 14px; }

/* Toast */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 20px; font-size: 13px;
  opacity: 0; transition: all 0.3s; z-index: 9999;
  white-space: nowrap; max-width: calc(100vw - 32px);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error { border-color: var(--orange); color: var(--orange); }

/* Punyacare */
.punya-card {
  background: linear-gradient(135deg, rgba(63,185,80,0.1), rgba(63,185,80,0.05));
  border: 1px solid rgba(63,185,80,0.3); border-radius: var(--r); padding: 20px;
}
.punya-title { font-family: var(--font); font-weight: 800; font-size: 16px; color: var(--green); margin-bottom: 8px; }
.punya-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.punya-btn {
  padding: 10px 20px; background: var(--green); color: #fff;
  border: none; border-radius: 8px; font-family: var(--font);
  font-size: 14px; font-weight: 700; cursor: pointer;
}

@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main { width: 100%; min-height: 200px; padding-bottom: 76px; } /* tab bar için boşluk */
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .container { padding: 16px 12px; max-width: 100%; }
  .dashboard-nav-muted { display: none; }
  .dashboard-nav-primary { display: none; }
  .nav { padding: 0 12px; }
  .dashboard-hamburger { display: flex; }
}

/* ── Bottom Tab Bar (Mobil) ─────────────────────────────────────────────── */
.bottom-tab-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  padding: 8px 4px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.tab-item.active { color: var(--green); }
.tab-item:hover { color: var(--green); }
.tab-icon { font-size: 20px; line-height: 1; }
.tab-label { font-size: 10px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

@media (max-width: 768px) {
  .bottom-tab-bar { display: flex; }
}

/* Cilt Sorunları Butonları */
.skin-issue-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  user-select: none;
}
.skin-issue-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}
.skin-issue-btn.selected {
  border-color: var(--accent);
  background: rgba(88,166,255,0.12);
  color: var(--accent);
}

/* Dashboard inline attribute cleanup: nav and B2B header */
.dashboard-nav-logo-img {
  height: 40px;
  width: auto;
}

.dashboard-nav-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.dashboard-nav-muted {
  color: var(--muted);
}

.dashboard-hidden {
  display: none;
}

.dashboard-plan-features {
  margin: 12px 0;
}

.dashboard-see-all-link {
  color: var(--accent);
  font-size: 13px;
}

.dashboard-b2b-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dashboard-b2b-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
}

.dashboard-b2b-limit-info {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.dashboard-b2b-add-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Dashboard inline attribute cleanup: skin cards */
.dashboard-skin-warning-card {
  border: 2px solid var(--orange);
  margin-bottom: 16px;
}

.dashboard-skin-limit-card {
  border: 2px solid var(--accent);
  margin-bottom: 16px;
}

.dashboard-skin-empty-body {
  padding: 32px;
  text-align: center;
}

.dashboard-skin-empty-icon {
  margin-bottom: 12px;
  font-size: 40px;
}

.dashboard-skin-empty-title {
  margin-bottom: 8px;
  font-family: var(--font);
  font-size: 18px;
}

.dashboard-skin-empty-text {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-skin-orange-btn {
  background: var(--orange);
}

.dashboard-skin-limit-badge {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-skin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Dashboard inline attribute cleanup: skin upload */
.dashboard-skin-tab-active {
  padding: 7px 16px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-skin-tab-muted {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-skin-desc {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.dashboard-skin-drop-zone {
  margin-bottom: 16px;
  padding: 28px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
}

.dashboard-skin-preview-wrap {
  display: none;
  margin-bottom: 16px;
  text-align: center;
}

.dashboard-skin-preview-img {
  max-width: 100%;
  max-height: 280px;
  border-radius: 12px;
  object-fit: contain;
}

.dashboard-skin-upload-icon {
  margin-bottom: 12px;
  font-size: 40px;
}

.dashboard-skin-upload-title {
  margin-bottom: 8px;
  font-weight: 700;
}

.dashboard-skin-upload-sub {
  color: var(--muted);
  font-size: 13px;
}

/* Dashboard inline attribute cleanup: B2B modal */
.dashboard-b2b-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
}

.dashboard-b2b-modal-box {
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.dashboard-b2b-modal-title {
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}

.dashboard-b2b-modal-grid {
  display: grid;
  gap: 14px;
}

.dashboard-b2b-modal-label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 12px;
}

.dashboard-b2b-modal-input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
}

.dashboard-b2b-modal-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  resize: vertical;
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
}

.dashboard-b2b-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.dashboard-b2b-modal-cancel {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}

.dashboard-b2b-modal-save {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Dashboard inline attribute cleanup: skin webcam id-based */
.dashboard-skin-preview-img-lg {
  max-width: 240px;
  max-height: 240px;
  border-radius: 10px;
  object-fit: cover;
}

.dashboard-webcam-container {
  display: none;
  margin-bottom: 16px;
}

.dashboard-face-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dashboard-quality-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.7);
}

.dashboard-quality-value {
  color: #aaa;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-skin-progress {
  display: none;
  margin-top: 20px;
  text-align: center;
}

.dashboard-skin-progress-text {
  color: var(--muted);
  font-size: 14px;
}

.dashboard-skin-history-list {
  display: grid;
  gap: 10px;
}

.dashboard-skin-result-card {
  display: none;
  margin-top: 16px;
}

/* Dashboard inline attribute cleanup: skin webcam static */
.dashboard-skin-photo-icon {
  margin-bottom: 8px;
  font-size: 36px;
}

.dashboard-skin-drop-hint {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-skin-file-note {
  color: var(--muted);
  font-size: 11px;
  opacity: .6;
}

.dashboard-skin-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.dashboard-skin-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-webcam-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.dashboard-webcam-video {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.dashboard-face-guide-stroke {
  transition: stroke .4s;
}

.dashboard-quality-stack {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-quality-icon {
  font-size: 16px;
}

.dashboard-quality-label {
  color: #aaa;
  font-size: 10px;
}

.dashboard-capture-row {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  text-align: center;
}

.dashboard-capture-btn {
  padding: 12px 28px;
  border: 2.5px solid #5a9e78;
  border-radius: 99px;
  background: rgba(90,158,120,.9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: not-allowed;
  opacity: .6;
  backdrop-filter: blur(4px);
  transition: .2s;
}

.dashboard-webcam-close-row {
  margin-top: 10px;
  text-align: center;
}

.dashboard-webcam-close-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.dashboard-skin-info-box {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.dashboard-skin-analyze-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg,var(--accent),#4a9e6a);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .03em;
  cursor: not-allowed;
  opacity: .5;
  transition: .2s;
}

.dashboard-skin-progress-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* Dashboard inline attribute cleanup: skin issues static */
.dashboard-skin-issues-group {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.dashboard-skin-issues-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-skin-issues-help {
  font-size: 11px;
  font-weight: 400;
  opacity: .5;
}

.dashboard-skin-issues-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-skin-issues-note {
  margin-top: 8px;
  font-size: 11px;
  opacity: .5;
}

.dashboard-profile-save-row {
  margin-top: 20px;
}

.dashboard-password-card {
  margin-top: 16px;
}

/* Dashboard inline attribute cleanup: password card static */
.dashboard-password-grid {
  max-width: 420px;
}

.dashboard-password-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}

.dashboard-password-strength-track {
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--border);
}

.dashboard-password-strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width .3s, background .3s;
}

.dashboard-password-error {
  display: none;
  margin: 8px 0;
  color: #ef4444;
  font-size: 13px;
}

.dashboard-password-action-row {
  margin-top: 16px;
}

/* Dashboard inline attribute cleanup: nav user static */
.dashboard-nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.dashboard-nav-user-name {
  font-size: 14px;
}

/* Dashboard inline attribute cleanup: history item static */
.dashboard-history-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.dashboard-history-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dashboard-history-details {
  width: 100%;
}

.dashboard-history-summary {
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
}

.dashboard-history-detail-body {
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface2);
  font-size: 12px;
  line-height: 1.6;
}

/* Dashboard inline attribute cleanup: theme trigger */
.dashboard-hamburger { display: none; }
.dashboard-theme-trigger {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  transition: .2s;
}

.dashboard-theme-trigger:hover {
  border-color: var(--accent);
}

/* Dashboard inline attribute cleanup: plan features */
.dashboard-plan-feature {
  padding: 4px 0;
  font-size: 12px;
}

.dashboard-plan-feature--active {
  color: var(--text);
}

.dashboard-plan-feature--muted {
  color: var(--muted);
}

/* Dashboard inline attribute cleanup: skin history messages */
.dashboard-skin-history-message {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-skin-history-message--empty {
  padding: 24px;
  text-align: center;
}

/* Dashboard inline attribute cleanup: skin placeholder */
.dashboard-skin-placeholder-card {
  margin-top: 0;
}

.dashboard-skin-placeholder-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-skin-placeholder-icon {
  font-size: 24px;
}

.dashboard-skin-placeholder-title {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
}

.dashboard-skin-placeholder-subtitle {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-skin-placeholder-note {
  padding: 16px;
  border-radius: 8px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Dashboard inline attribute cleanup: skin mismatch */
.dashboard-skin-mismatch {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1.5px solid rgba(245, 158, 11, .4);
  border-radius: 10px;
  background: rgba(245, 158, 11, .1);
}

.dashboard-skin-mismatch-title {
  color: #f59e0b;
}

.dashboard-skin-mismatch-text {
  margin-top: 6px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}

.dashboard-skin-mismatch-btn {
  margin-top: 8px;
  padding: 6px 14px;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  background: transparent;
  color: #f59e0b;
  cursor: pointer;
  font-size: 12px;
}

/* Dashboard skin history item */
.dashboard-skin-history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface2);
  border-radius: 10px;
  cursor: pointer;
}

.dashboard-skin-history-score {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-skin-history-score--excellent {
  background: rgba(34, 197, 94, .13);
  color: #22c55e;
}

.dashboard-skin-history-score--good {
  background: rgba(245, 158, 11, .13);
  color: #f59e0b;
}

.dashboard-skin-history-score--moderate {
  background: rgba(249, 115, 22, .13);
  color: #f97316;
}

.dashboard-skin-history-score--critical {
  background: rgba(239, 68, 68, .13);
  color: #ef4444;
}

.dashboard-skin-history-score-value {
  font-size: 16px;
  font-weight: 800;
  color: currentColor;
}

.dashboard-skin-history-main {
  flex: 1;
}

.dashboard-skin-history-type {
  font-size: 13px;
  font-weight: 600;
}

.dashboard-skin-history-date {
  font-size: 12px;
  color: var(--muted);
}

.dashboard-skin-history-mismatch-badge {
  font-size: 10px;
  background: rgba(245, 158, 11, .15);
  color: #f59e0b;
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 600;
}

.dashboard-skin-history-view-btn {
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

/* Dashboard skin INCI recommendations and routines */
.dashboard-skin-section-card {
  margin-bottom: 16px;
}

.dashboard-skin-inci-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-skin-inci-chip {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  font-family: monospace;
}

.dashboard-skin-routine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-skin-routine-step {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.dashboard-skin-routine-step-index {
  min-width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.dashboard-skin-routine-step-text {
  font-size: 13px;
  color: var(--text);
}

.dashboard-b2b-promo-field {
  grid-column: 1 / -1;
}

.dashboard-b2b-promo-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(124, 106, 247, 0.28);
  border-radius: 12px;
  background: rgba(124, 106, 247, 0.08);
  cursor: pointer;
}

.dashboard-b2b-promo-option input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #7c6af7;
}

.dashboard-b2b-promo-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}

.dashboard-b2b-promo-desc {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.dashboard-b2b-product-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dashboard-b2b-product-status--draft {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.dashboard-b2b-product-status--pending {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.dashboard-b2b-product-status--approved {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.24);
}

/* Dashboard inline attribute cleanup: B2B product list */
.dashboard-b2b-empty {
  padding: 40px;
  color: var(--text-muted);
  text-align: center;
}

.dashboard-b2b-empty-icon {
  margin-bottom: 12px;
  font-size: 40px;
}

.dashboard-b2b-empty-sub {
  margin-top: 6px;
  font-size: 12px;
}

.dashboard-b2b-product-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.dashboard-b2b-product-img,
.dashboard-b2b-product-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  flex-shrink: 0;
}

.dashboard-b2b-product-img {
  object-fit: cover;
}

.dashboard-b2b-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  font-size: 24px;
}

.dashboard-b2b-product-main {
  flex: 1;
  min-width: 0;
}

.dashboard-b2b-product-name {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
}

.dashboard-b2b-product-meta,
.dashboard-b2b-product-inci {
  color: var(--text-muted);
  font-size: 11px;
}

.dashboard-b2b-product-meta {
  margin-bottom: 8px;
}

.dashboard-b2b-product-inci {
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-b2b-product-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.dashboard-b2b-product-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}

.dashboard-b2b-product-btn--edit {
  border: 1px solid rgba(124,106,247,0.3);
  background: rgba(124,106,247,0.15);
  color: #a78bfa;
  font-weight: 700;
}

.dashboard-b2b-product-btn--analyze {
  border: 1px solid rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  font-weight: 700;
}

.dashboard-b2b-product-btn--delete {
  border: 1px solid rgba(248,113,113,0.2);
  background: rgba(248,113,113,0.1);
  color: #f87171;
}

/* Dashboard inline attribute cleanup: skin criteria score bars */
.dashboard-skin-criterion {
  margin-bottom: 14px;
}

.dashboard-skin-criterion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.dashboard-skin-criterion-label {
  font-size: 13px;
  font-weight: 600;
}

.dashboard-skin-criterion-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-skin-criterion-score {
  color: var(--dashboard-skin-criterion-color, var(--accent));
  font-size: 12px;
  font-weight: 700;
}

.dashboard-skin-criterion-level {
  padding: 2px 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--dashboard-skin-criterion-color, var(--accent)) 14%, transparent);
  color: var(--dashboard-skin-criterion-color, var(--accent));
  font-size: 11px;
  font-weight: 600;
}

.dashboard-skin-criterion-track {
  height: 6px;
  margin-bottom: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--border);
}

.dashboard-skin-criterion-fill {
  width: var(--dashboard-skin-criterion-score, 0%);
  height: 100%;
  border-radius: 99px;
  background: var(--dashboard-skin-criterion-color, var(--accent));
  transition: width 1s;
}

.dashboard-skin-criterion-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.dashboard-skin-criterion-rec {
  margin-top: 4px;
  color: var(--accent);
  font-size: 12px;
}

/* Dashboard inline attribute cleanup: skin result summary */
.dashboard-skin-result-summary-card,
.dashboard-skin-criteria-card {
  margin-bottom: 16px;
}

.dashboard-skin-result-summary-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.dashboard-skin-score-ring {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.dashboard-skin-score-ring-progress {
  transition: stroke-dashoffset 1.5s;
}

.dashboard-skin-result-kicker {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-skin-result-level {
  color: var(--dashboard-skin-score-color, var(--accent));
  font-size: 22px;
  font-weight: 800;
}

.dashboard-skin-result-type {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-skin-result-type strong {
  color: var(--text);
}

.dashboard-skin-result-actions {
  text-align: center;
}

.dashboard-skin-result-reset-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

/* Dashboard inline attribute cleanup: theme overlay */
.dashboard-theme-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dashboard-theme-panel {
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  padding: 24px 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px 20px 0 0;
  background: var(--surface);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.3);
}
[data-theme="light"] .dashboard-theme-panel {
  background: rgba(240,248,244,0.88);
}

.dashboard-theme-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dashboard-theme-panel-title {
  color: var(--text);
  font-size: 15px;
}

.dashboard-theme-panel-close {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.dashboard-theme-panel-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dashboard-theme-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.dashboard-theme-mode-btn {
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--surface2);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
}

.dashboard-theme-mode-btn--active {
  border-color: var(--accent);
}

.dashboard-theme-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.dashboard-theme-color-btn {
  width: 34px;
  height: 34px;
  border: 3px solid transparent;
  border-radius: 50%;
  background: var(--dashboard-theme-swatch);
  cursor: pointer;
  transition: .15s;
}

.dashboard-theme-color-btn--active {
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

/* Dashboard inline attribute cleanup: Punya recommendation cards */
.dashboard-punya-recommendations-card {
  margin-top: 16px;
}

.dashboard-punya-recommendations-list {
  display: grid;
  gap: 12px;
}

.dashboard-punya-recommendation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: var(--surface2);
}

.dashboard-punya-recommendation-img,
.dashboard-punya-recommendation-img-placeholder {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
}

.dashboard-punya-recommendation-img {
  object-fit: cover;
}

.dashboard-punya-recommendation-img-placeholder {
  background: var(--border);
}

.dashboard-punya-recommendation-main {
  min-width: 0;
  flex: 1;
}

.dashboard-punya-recommendation-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-punya-recommendation-desc {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-punya-recommendation-price {
  margin-top: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-punya-recommendation-link-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

/* B2B Product Rejection Note */
.dashboard-b2b-product-rejection-note {
  font-size: 12px;
  color: var(--c-danger, #e05c5c);
  background: rgba(224, 92, 92, 0.08);
  border: 1px solid rgba(224, 92, 92, 0.25);
  border-radius: 6px;
  padding: 4px 8px;
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Verified rozetler ───────────────────────────────────────────────────── */
.verified-badges {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  justify-content: center;
}
.verified-badge-item {
  font-size: 16px;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  cursor: default;
  transition: all 0.2s;
  position: relative;
}
.verified-badge-item.verified {
  border-color: var(--c-safe);
  background: var(--c-safe-bg);
  filter: none;
}
.verified-badge-item.unverified {
  filter: grayscale(1);
  opacity: 0.5;
}

/* ── Telefon Doğrulama Kartı ─────────────────────────────────────────────── */
.dashboard-phone-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-phone-input-row {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}
.dashboard-phone-country-select {
  padding: 10px 4px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  width: 90px;
  min-width: 80px;
  transition: border-color 0.2s;
}
.dashboard-phone-country-select:focus {
  border-color: var(--c-accent, var(--c-safe));
}
.dashboard-phone-country-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dashboard-phone-input {
  flex: 1;
  min-width: 0;
  padding: 10px 10px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.dashboard-phone-input:focus {
  border-color: var(--c-accent, var(--c-safe));
}

.dashboard-phone-input:read-only {
  opacity: 0.6;
  cursor: not-allowed;
}

.dashboard-phone-btn {
  padding: 10px 10px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.dashboard-phone-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dashboard-phone-msg {
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
}

.dashboard-phone-msg--info    { color: var(--c-info, #58a6ff); }
.dashboard-phone-msg--success { color: var(--c-safe); }
.dashboard-phone-msg--error   { color: var(--c-danger, #f78166); }

.dashboard-phone-resend {
  background: none;
  border: none;
  color: var(--c-muted);
  font-size: 12px;
  cursor: pointer;
  margin-top: 6px;
  padding: 0;
  text-decoration: underline;
}

.dashboard-phone-resend:hover {
  color: var(--c-text);
}

.dashboard-phone-verified-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--c-safe-bg);
  border: 1px solid var(--c-safe);
  color: var(--c-safe);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}
.theme-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  backdrop-filter: blur(4px);
}

.theme-panel-overlay--desktop {
  align-items: center;
  justify-content: center;
}

.theme-panel-overlay--mobile {
  align-items: flex-end;
  justify-content: center;
}

.theme-panel-sheet {
  background: var(--c-surface);
  padding: 24px;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.theme-panel-sheet--desktop {
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  border-radius: 16px;
}

.theme-panel-sheet--mobile {
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  border-radius: 20px 20px 0 0;
}

.theme-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.theme-panel-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
}

.theme-panel-x {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-panel-section {
  margin-bottom: 20px;
}

.theme-panel-section-label {
  font-size: 11px;
  color: var(--c-muted);
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.theme-panel-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.theme-panel-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.theme-panel-mode-btn,
.theme-panel-font-btn {
  border-radius: 10px;
  border: 2px solid var(--c-border);
  background: transparent;
  color: var(--c-text);
  font-weight: 700;
  cursor: pointer;
}

.theme-panel-mode-btn.active,
.theme-panel-font-btn.active {
  border-color: var(--c-accent);
  background: color-mix(in srgb, var(--c-accent) 12%, transparent);
}

.theme-panel-mode-btn {
  padding: 11px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.theme-panel-font-btn {
  padding: 10px 8px;
}

.theme-panel-font-btn--md {
  font-size: 13px;
}

.theme-panel-font-btn--lg {
  font-size: 15px;
}

.theme-panel-font-btn--xl {
  font-size: 17px;
}

.theme-panel-section--compact {
  margin-bottom: 16px;
}

.theme-panel-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.theme-panel-pro-badge {
  font-size: 10px;
  background: var(--c-light);
  color: var(--c-secondary);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
}

.theme-panel-swatch-grid {
  display: grid;
  gap: 6px;
}

.theme-panel-swatch-grid--free {
  grid-template-columns: repeat(4, 1fr);
}

.theme-panel-swatch-grid--pro {
  grid-template-columns: repeat(6, 1fr);
}

.theme-panel-done {
  width: 100%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--c-primary) 30%, transparent);
}

.theme-panel-done--desktop {
  padding: 10px;
}

.theme-panel-done--mobile {
  padding: 12px;
}

/* ============================================================
   Empty Tips
============================================================ */
.empty-tips {
  margin-top: 28px;
  text-align: left;
  width: 100%;
  max-width: 420px;
}

.empty-tips-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-muted);
  margin-bottom: 14px;
}

.empty-tips-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-tip-item {
  display: flex;
  gap: 12px;
}

.empty-tip-num {
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.empty-tip-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 3px;
}

.empty-tip-desc {
  font-size: 12px;
  color: var(--c-muted);
}

.empty-tips-pro {
  margin-top: 14px;
  padding: 11px;
  border-radius: 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 11px;
  color: var(--c-muted);
}

.hidden-file-input {
  display: none;
}


.drawer-action-item {
  cursor: pointer;
}

.drawer-auth-action {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
}

.drawer-auth-action--primary {
  color: var(--c-accent);
  font-weight: 700;
}

.drawer-logout-item {
  color: var(--c-danger, #e05050);
}

.drawer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.email-form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 13px;
  outline: none;
}

.email-form-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.email-consent-grid {
  margin: 4px 0 8px;
  display: grid;
  gap: 8px;
}

.email-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.5;
}

.email-consent-checkbox {
  margin-top: 2px;
  accent-color: var(--c-primary);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

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

.email-consent-required {
  color: #e05050;
}

.email-consent-optional {
  font-size: 11px;
  opacity: 0.6;
}

.email-consent-note {
  font-size: 10px;
  color: var(--c-muted);
  opacity: 0.6;
  margin-top: 2px;
}

.email-form-switch {
  text-align: center;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 8px;
}

.email-form-link {
  color: var(--c-primary);
}

.email-form-help {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 16px;
  text-align: center;
}

.email-form-back-row {
  text-align: center;
  margin-top: 8px;
}

.email-form-back-row--spaced {
  margin-top: 12px;
}

.email-form-back-btn {
  background: none;
  border: none;
  color: var(--c-muted);
  font-size: 12px;
  cursor: pointer;
}

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

/* ============================================================
   Post-auth legal consent modal
============================================================ */
.post-auth-consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.post-auth-consent-box {
  background: var(--c-bg, #0e1812);
  border-radius: 18px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  border: 1.5px solid var(--c-border, rgba(255,255,255,.12));
  max-height: 90vh;
  overflow-y: auto;
}

.post-auth-consent-head {
  text-align: center;
  margin-bottom: 20px;
}

.post-auth-consent-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.post-auth-consent-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--c-text, #e8f0ec);
}

.post-auth-consent-sub {
  font-size: 13px;
  color: var(--c-muted, #a0b8aa);
}

.post-auth-consent-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.post-auth-consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--c-border, rgba(255,255,255,.1));
}

.post-auth-consent-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--c-primary, #2F6B4A);
}

/* Tema paneli - font grid */
.dashboard-theme-font-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.dashboard-theme-font-btn {
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.dashboard-theme-font-btn--active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.dashboard-theme-color-grid--pro {
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.dashboard-theme-done {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
}
.dashboard-theme-upsell {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.dashboard-theme-pro-badge {
  font-size: 10px;
  background: var(--surface2);
  color: var(--muted);
  padding: 2px 6px;
  border-radius: 99px;
  font-weight: 600;
}
    .hamburger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 6px;
      border-radius: var(--radius);
      transition: background var(--t-fast) var(--ease);
      margin-left: 4px;
    }

    .hamburger:hover { background: rgba(255,255,255,0.1); }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2.5px;
      background: rgba(255,255,255,0.9);
      border-radius: 2px;
      transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
    }

    .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* Guest info */
    .nav-guest-badge {
      display: none;
      align-items: center;
      gap: 5px;
      font-size: 10px;
      color: rgba(255,255,255,0.7);
      padding: 4px 8px;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: var(--radius);
      white-space: nowrap;
    }

    .nav-guest-badge span { color: var(--c-accent); font-weight: 700; }

    /* ============================================================
       LANGUAGE DROPDOWN
    ============================================================ */
    .lang-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      background: var(--c-bg);
      border: 1px solid var(--c-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
      min-width: 140px;
      display: none;
      z-index: 300;
    }

    .lang-dropdown.open { display: block; }

    .lang-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 500;
      color: var(--c-text);
      transition: background var(--t-fast) var(--ease);
    }

    .lang-option:hover { background: var(--c-light); }
    .lang-option.active { color: var(--c-primary); font-weight: 700; }
    .lang-flag { font-size: 16px; }

    /* ============================================================
       MAIN LAYOUT
    ============================================================ */
    /* Desktop: body scroll yok, sadece right panel scroll */
    @media (min-width: 900px) {
      html, body {
        height: 100%;
        overflow: hidden;
      }
      .page-wrap {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
      }
    }

    #app {
      min-height: calc(100vh - var(--nav-h));
      display: flex;
      flex-direction: column;
    }

#drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#drawer-overlay.open { display: block; opacity: 1; }

#drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 280px;
  background: var(--surface);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}
#drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-logo-img { height: 32px; }
.drawer-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  border: 1px solid var(--border);
  background: transparent;
}
.drawer-close:hover { background: var(--surface2); color: var(--text); }

.drawer-body { flex: 1; padding: 12px 0; overflow-y: auto; }

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

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.drawer-item:hover { background: var(--surface2); }
.drawer-item .di-icon { font-size: 18px; width: 24px; text-align: center; }

.drawer-item-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  margin: 8px 16px;
  width: calc(100% - 32px);
  padding: 12px 16px;
}
.drawer-item-primary:hover { opacity: 0.9; background: var(--accent); }

.drawer-user-row {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.drawer-user-name { font-weight: 700; font-size: 14px; }
.drawer-user-plan { font-size: 11px; color: var(--muted); }

/* Dashboard drawer support styles */
.drawer-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 20px 4px;
}

.drawer-item-disabled {
  cursor: default;
  opacity: 0.75;
}

.drawer-item-disabled:hover {
  background: transparent;
}

.drawer-item .di-badge,
.di-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.drawer-points {
  flex-shrink: 0;
}

.drawer-user-section {
  border-bottom: 1px solid var(--border);
}

.drawer-user-meta {
  min-width: 0;
  flex: 1;
}

.drawer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-pro-cta {
  display: block;
  margin: 12px 16px 18px;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.drawer-pro-cta:hover {
  opacity: 0.92;
}

.drawer-pro-cta .dpc-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.drawer-pro-cta .dpc-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.drawer-pro-cta .dpc-sub {
  font-size: 11px;
  opacity: 0.8;
}

/* Dashboard inline style cleanup */
.dashboard-hidden-initial {
  display: none;
}

.dashboard-formulation-usage-section {
  margin-bottom: 16px;
}

.formulation-usage-bar-spaced {
  margin-top: 10px;
}

.formulation-usage-fill-empty {
  width: 0%;
}

.dashboard-formulation-total {
  font-size: 12px;
  color: var(--c-muted);
}

.dashboard-formulation-requests-card {
  margin-top: 16px;
}

/* Dashboard theme swatch cleanup */
.dashboard-theme-swatch-g1 { --dashboard-theme-swatch: #3fb950; }
.dashboard-theme-swatch-g2 { --dashboard-theme-swatch: #2ea043; }
.dashboard-theme-swatch-g3 { --dashboard-theme-swatch: #238636; }
.dashboard-theme-swatch-b1 { --dashboard-theme-swatch: #4a90d9; }
.dashboard-theme-swatch-b2 { --dashboard-theme-swatch: #378ADD; }
.dashboard-theme-swatch-b3 { --dashboard-theme-swatch: #2060c0; }
.dashboard-theme-swatch-y1 { --dashboard-theme-swatch: #d4943a; }
.dashboard-theme-swatch-y2 { --dashboard-theme-swatch: #BA7517; }
.dashboard-theme-swatch-y3 { --dashboard-theme-swatch: #9a5e0a; }
.dashboard-theme-swatch-r1 { --dashboard-theme-swatch: #d45068; }
.dashboard-theme-swatch-r2 { --dashboard-theme-swatch: #b83050; }
.dashboard-theme-swatch-r3 { --dashboard-theme-swatch: #962040; }

