/* ==========================================================================
   NINECONCEPT 2.0 Studio Management System — Core Design System
   Aesthetic: Minimal / Visual / Professional / Dark Studio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color Palette - Deep Studio Dark */
  --bg-main: #09090C;
  --bg-surface-1: #111116;
  --bg-surface-2: #181820;
  --bg-surface-3: #22222D;
  --bg-glass: rgba(17, 17, 22, 0.75);
  --bg-glass-card: rgba(24, 24, 32, 0.65);
  --bg-glass-hover: rgba(34, 34, 45, 0.85);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(255, 255, 255, 0.22);

  /* Brand Accents */
  --accent-red: #E02B20;
  --accent-red-glow: rgba(224, 43, 32, 0.25);
  --accent-crimson: #FF3B30;
  --accent-purple: #8B5CF6;
  --accent-blue: #3B82F6;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-zinc: #71717A;

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;
  --text-inverse: #09090C;

  /* Typography Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
  --shadow-glow-red: 0 0 30px var(--accent-red-glow);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Layout */
  --sidebar-width: 250px;
  --header-height: 70px;

  /* Transition Speeds */
  --tr-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Custom Studio Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-highlight);
}

/* Base Typography Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
  user-select: none;
}

/* App Root Structure */
#app {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  background: radial-gradient(circle at 80% 20%, rgba(224, 43, 32, 0.04), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03), transparent 40%);
}

.content-container {
  flex: 1;
  padding: 32px 40px 60px 40px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* Glassmorphism Effect */
.glass-panel {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.glass-panel:hover {
  border-color: var(--border-medium);
}
