/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-soft: #e2e8f0;
  --ink: #0f172a;
  --ink-muted: #64748b;
  --border-subtle: #d1d5db;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --accent-strong: #1d4ed8;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --warning: #f97316;
  --warning-soft: #ffedd5;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 30px rgba(15,23,42,0.10);
  --shadow-dock: 0 -8px 30px rgba(15,23,42,0.18);
  --topbar-h: 64px;
  --dock-h: 80px;
  --transition-fast: 150ms ease-out;
  --transition-med: 220ms ease-out;
  color-scheme: light;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  font-weight: 400;
}

body.theme-dark {
  --bg: #020617;
  --bg-elevated: #020617;
  --bg-soft: #0f172a;
  --ink: #e5e7eb;
  --ink-muted: #94a3b8;
  --border-subtle: #1f2937;
  --accent: #38bdf8;
  --accent-soft: #0f172a;
  --accent-strong: #0284c7;
  --danger-soft: rgba(248,113,113,0.12);
  --success-soft: rgba(74,222,128,0.12);
  --warning-soft: rgba(251,146,60,0.14);
  --shadow-soft: 0 10px 30px rgba(15,23,42,0.75);
  --shadow-dock: 0 -8px 35px rgba(15,23,42,0.85);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(148,163,184,0.25), transparent 50%), var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.dashboard-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #30363d;
  background: #0f1621;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.topnav {
  display: flex;
  gap: 16px;
}

.topnav a {
  color: #c9d1d9;
  text-decoration: none;
  font-weight: 600;
}

.topnav a:hover {
  color: #58a6ff;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.ghost {
  background: transparent;
  color: #c9d1d9;
  border: 1px solid #30363d;
}

.btn.ghost:hover {
  background: #21262d;
  border-color: #30363d;
  color: #58a6ff;
}

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

.content {
  flex: 1 1;
  padding: 24px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.hero {
  max-width: 960px;
  width: 100%;
  padding: 32px 40px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 20%, #1f6feb22, #0d1117 50%),
    radial-gradient(circle at 80% 0%, #0ea5e922, #0d1117 60%), #0d1117;
  border: 1px solid #30363d;
  box-shadow: 0 20px 80px #00000060;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #a5d6ff;
  margin: 0 0 8px 0;
}

h1 {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4vw, 38px);
}

.lead {
  margin: 0 0 20px 0;
  color: #c9d1d9;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #58a6ff;
  background: #1f6feb;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.button:hover {
  background: #388bfd;
  box-shadow: 0 10px 25px #0d419d50;
}

.button.ghost {
  background: transparent;
  color: #58a6ff;
}

.button.ghost:hover {
  background: #161b22;
}

.status {
  margin: 0;
  color: #c9d1d9;
}

.ok {
  color: #3fb950;
}

.fail {
  color: #f85149;
}

/* Dashboard Home Page */
.dashboard-home {
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 32px;
}

.dashboard-header h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
}

.dashboard-header p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 32px;
}

.module-card {
  display: block;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}

.module-icon {
  font-size: 32px;
  margin-bottom: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.module-title {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.module-description {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}


