/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================
   FLOWDESK - Global Styles
   ============================================================ */

/* LIGHT MODE (Default Layout Theme) */
:root {
  --bg-base: #f8fafc;        /* Main background */
  --bg-panel: #ffffff;       /* Sidebar, Header, Modals, Cards */
  --bg-input: #f1f5f9;       /* Inputs, Search */
  --bg-hover: #f1f5f9;       /* Table hover, Button hover */
  --border-color: #e2e8f0;   /* General borders */
  --text-main: #334155;      /* Main headings and text */
  --text-muted: #64748b;     /* Subtitles, labels */
  --accent-primary: #3b82f6; /* Buttons, highlights */
  --scrollbar-track: #f1f5f9;
  --scrollbar-thumb: #cbd5e1;
  --scrollbar-thumb-hover: #94a3b8;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* DARK MODE */
[data-theme='dark'] {
  --bg-base: #020617;
  --bg-panel: #0f172a;
  --bg-input: #020617;
  --bg-hover: rgba(30, 41, 59, 0.4);
  --border-color: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-primary: #3b82f6;
  --scrollbar-track: #0f172a;
  --scrollbar-thumb: #334155;
  --scrollbar-thumb-hover: #475569;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
}

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

html, body {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* Selection */
::selection { background: #818cf844; }

/* Placeholders */
input::placeholder, textarea::placeholder { color: var(--text-muted); }

/* Select options */
select option { background: var(--bg-panel); color: var(--text-main); }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Table hover */
table tr:hover { background-color: var(--bg-hover) !important; }

/* Mobile responsive utilities */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .full-mobile { width: 100% !important; }
}

