:root {
  --bg-primary: #faf9f7;
  --bg-secondary: #f3f1ed;
  --text-primary: #1a1a1a;
  --text-secondary: #5c5c5c;
  --text-muted: #8a8a8a;
  --accent: #b8860b;
  --accent-hover: #9a7209;
  --border: rgba(26, 26, 26, 0.08);
  --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --text-primary: #e8e4df;
  --text-secondary: #c4c0bb;
  --text-muted: #8a8681;
  --border: rgba(232, 228, 223, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(184, 134, 11, 0.06), transparent);
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.dashboard-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-user-email {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.dashboard-logout {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.dashboard-logout:hover {
  color: var(--accent-hover);
}

.dashboard-main {
  min-height: calc(100vh - 60px);
}

.dashboard-dash-wrapper {
  width: 100% !important;
  min-height: 85vh !important;
}

.dashboard-dash-wrapper > div {
  min-height: 85vh !important;
}

.dashboard-dash-wrapper iframe {
  min-height: 85vh !important;
  width: 100% !important;
  border: none;
}

@media (max-width: 992px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
