:root {
  /* Colors - Slate Palette & Blue Accent */
  --color-primary-50: #f0f9ff;
  --color-primary-100: #e0f2fe;
  --color-primary-200: #bae6fd;
  --color-primary-300: #7dd3fc;
  --color-primary-400: #38bdf8;
  --color-primary-500: #0ea5e9;
  --color-primary-600: #0284c7;
  /* Brand Blue */
  --color-primary-700: #0369a1;
  --color-primary-800: #075985;
  --color-primary-900: #0c4a6e;
  --color-primary-950: #082f49;

  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-slate-950: #020617;

  --color-white: #ffffff;
  --color-black: #000000;

  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-danger: #ef4444;

  /* Semantic Variables - Light Mode Default */
  --bg-body: var(--color-slate-50);
  --bg-surface: var(--color-white);
  --bg-surface-elevated: var(--color-white);

  --text-primary: var(--color-slate-900);
  --text-secondary: var(--color-slate-600);
  --text-tertiary: var(--color-slate-400);
  --text-inverse: var(--color-white);

  --border-light: var(--color-slate-200);
  --border-medium: var(--color-slate-300);

  --action-primary: var(--color-primary-600);
  --action-primary-hover: var(--color-primary-700);
  --action-primary-text: var(--color-white);

  --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);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  --hero-glow: var(--color-primary-50);
  --bg-glass: rgba(255, 255, 255, 0.8);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
}

[data-theme="dark"] {
  --bg-body: var(--color-slate-950);
  --bg-surface: var(--color-slate-900);
  --bg-surface-elevated: var(--color-slate-800);

  --text-primary: var(--color-slate-50);
  --text-secondary: var(--color-slate-400);
  --text-tertiary: var(--color-slate-500);
  --text-inverse: var(--color-slate-900);

  --border-light: var(--color-slate-800);
  --border-medium: var(--color-slate-700);

  --action-primary: var(--color-primary-500);
  --action-primary-hover: var(--color-primary-400);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);

  --hero-glow: rgba(14, 165, 233, 0.15);
  /* primary-500 with low opacity */
  --bg-glass: rgba(2, 6, 23, 0.8);
  /* slate-950 with 0.8 opacity */
}


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

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--action-primary);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  color: var(--action-primary-hover);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--action-primary);
  color: var(--action-primary-text);
}

.btn-primary:hover {
  background-color: var(--action-primary-hover);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-surface-elevated);
  text-decoration: none;
  color: var(--text-primary);
}

.card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
select,
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
}

input,
select,
textarea {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--action-primary);
  border-color: transparent;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background-color: var(--bg-body);
  text-align: left;
  padding: 0.75rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-medium);
}

td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

/* Navbar */
.navbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  position: relative;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* Allow wrapping for mobile */
}

/* Desktop Styles */
.navbar-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  /* Hidden on desktop */
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  text-decoration: none;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}



#theme-toggle-text {
  display: none;
}

.theme-toggle:hover {
  color: var(--text-primary);
}

.logo-area {
  margin-right: 2rem;
}


/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .logo-area {
    margin-right: 0;
  }

  .mobile-menu-btn {
    display: block;
    /* Show hamburger */
  }

  .navbar-items {
    display: none;
    /* Hide default menu */
    width: 100%;
    flex-direction: column;
    padding-top: 1rem;
    gap: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1rem;
  }

  .navbar-items.open {
    display: flex;
    /* Show when toggled */
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .user-actions {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    gap: 0.5rem;
  }

  .nav-link {
    display: block;
    padding: 0.5rem 0;
    width: 100%;
  }

  /* Adjust theme toggle for mobile list */
  .theme-toggle {
    padding: 0.5rem 0;
    width: 100%;
    justify-content: flex-start;
  }

  #theme-toggle-text {
    display: inline;
  }
}

/* Action Buttons */
.action-link {
  font-weight: 500;
  font-size: 0.875rem;
  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.action-link:last-child {
  margin-right: 0;
}

.action-link.view {
  color: var(--action-primary);
}

.action-link.view:hover {
  color: var(--action-primary-hover);
  text-decoration: underline;
}

.action-link.edit {
  color: var(--text-secondary);
}

.action-link.edit:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.action-link.delete {
  color: var(--color-danger);
}

.upload-dropzone {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: var(--bg-surface);
}

.upload-dropzone:hover {
  border-color: var(--action-primary);
  background-color: var(--color-primary-50);
}

.upload-dropzone svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  display: block;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

.upload-dropzone:hover svg {
  color: var(--action-primary);
}

.upload-text-main {
  display: block;
  font-weight: 500;
  color: var(--action-primary);
  margin-bottom: 0.25rem;
}

.upload-text-sub {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
@tailwind base;
@tailwind components;
@tailwind utilities;
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */
