@import "tailwindcss";

@theme {
  --color-page: #0D0E10;
  --color-card: #141518;
  --color-sidebar: #0A0B0D;
  --color-border: #1E2025;
  --color-gold: #C8A434;
  --color-success: #2ECC71;
  --color-warning: #E67E22;
  --color-danger: #E74C3C;
  --color-text-primary: #E8E6E0;
  --color-text-secondary: #7A7D85;
  --color-teal: #1ABC9C;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0D0E10;
  color: #E8E6E0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Native <select> dropdown panels are OS/browser-rendered and ignore most
   component styling — without this, options render with a white background
   and near-white text, making them unreadable against this dark theme.
   The !important rules below standardize every select's closed-state look
   (gold-tinted border, consistent padding/radius) on top of whatever
   per-page inline style happens to be set, so dropdowns read as "premium"
   and consistent app-wide without having to touch every page. */
select {
  color-scheme: dark;
  border: 1px solid rgba(200, 164, 52, 0.18) !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select:hover {
  border-color: rgba(200, 164, 52, 0.35) !important;
}

select:focus {
  outline: none;
  border-color: rgba(200, 164, 52, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(200, 164, 52, 0.1);
}

select option {
  background-color: #141518;
  color: #E8E6E0;
}
