/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================================================
   CHEESECAKE THEME FRAMEWORK
   ========================================================================== */

:root {
  --sidebar-width: 260px;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --glass-blur: 12px;
}

/* --- THEME DEFINITIONS --- */
html.theme-light {
  --background: #f8fafc;
  --foreground: #0f172a;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --secondary: #64748b;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --sidebar-bg: #0f172a;
  --glow-opacity: 0;
}

html.theme-dark {
  --background: #0f172a;
  --foreground: #f8fafc;
  --primary: #f59e0b;
  --primary-hover: #fbbf24;
  --secondary: #94a3b8;
  --card-bg: rgba(30, 41, 59, 0.4);
  --card-border: rgba(255, 255, 255, 0.08);
  --sidebar-bg: #0f172a;
  --glass-blur: 24px;
  --glow-color: var(--primary);
  --glow-opacity: 0.08;
}

html.theme-midnight {
  --background: #020617;
  --foreground: #f1f5f9;
  --primary: #38bdf8;
  --primary-hover: #7dd3fc;
  --secondary: #64748b;
  --card-bg: rgba(15, 23, 42, 0.6);
  --card-border: rgba(56, 189, 248, 0.1);
  --sidebar-bg: #020617;
  --glass-blur: 20px;
  --glow-color: #38bdf8;
  --glow-opacity: 0.12;
}

html.theme-forest {
  --background: #052e16;
  --foreground: #f0fdf4;
  --primary: #4ade80;
  --primary-hover: #86efac;
  --secondary: #a1ad94;
  --card-bg: rgba(20, 83, 45, 0.4);
  --card-border: rgba(255, 255, 255, 0.05);
  --sidebar-bg: #052e16;
  --glass-blur: 20px;
  --glow-color: #22c55e;
  --glow-opacity: 0.1;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* { box-sizing: border-box; padding: 0; margin: 0; }

html, body {
  height: 100%; width: 100%;
  overflow-x: hidden;
  background-color: var(--background);
  color: var(--foreground);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Theme Glow Effect */
body::before {
  content: '';
  position: fixed;
  top: -10%; left: -10%;
  width: 600px; height: 600px;
  background: var(--glow-color, transparent);
  filter: blur(180px);
  opacity: var(--glow-opacity, 0);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

a { text-decoration: none !important; color: inherit; }

/* Global Layout Helpers */
.app-container, .settings-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.main-content {
  flex: 1 1;
  padding: 2rem 3rem;
  max-width: 100%;
  min-width: 0;
}

/* Global Card Component */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Form Primitives */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--secondary); }

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.625rem 1.25rem; border-radius: 0.5rem;
  font-weight: 600; font-size: 0.875rem;
  cursor: pointer; transition: all 0.2s; gap: 0.5rem;
  border: 1px solid transparent; white-space: nowrap;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--secondary);
  border-color: var(--card-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
}

/* Badges */
.priority-badge { padding: 0.125rem 0.5rem; border-radius: 2rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.p1 { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.1); }
.p2 { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.1); }
.p3 { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.1); }

/* Progress */
.progress-container { width: 100%; height: 6px; background: rgba(0,0,0,0.1); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); transition: width 0.3s ease; }

@media (max-width: 768px) {
  .main-content { padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1rem 2rem !important; }
}

