/* WorkTogetherAI - Custom Tailwind Extensions */
/* Tailwind CSS is loaded via CDN in HTML files */

/* ============================================
   Custom CSS Variables
   ============================================ */
:root {
  --gradient-primary: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #141414 100%);
  --gradient-accent: linear-gradient(135deg, #4B7FAF 0%, #3d6a91 100%);
  --gradient-text: linear-gradient(90deg, #4B7FAF, #6a9bc5, #4B7FAF);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 40px rgba(75, 127, 175, 0.3);
}

/* ============================================
   Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
  color: #e2e8f0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   Gradient Backgrounds
   ============================================ */
.bg-gradient-dark {
  background: linear-gradient(135deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
}

.bg-gradient-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 30%, #1a1a1a 60%, #111111 100%);
}

.bg-gradient-radial {
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #111111 50%, #0a0a0a 100%);
}

.bg-gradient-mesh {
  background:
    radial-gradient(at 40% 20%, #1a1a1a 0px, transparent 50%),
    radial-gradient(at 80% 0%, #222222 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(75, 127, 175, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(75, 127, 175, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, #1a1a1a 0px, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
}

/* ============================================
   Glass Morphism Effects
   ============================================ */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass.job-type-selected {
  border-color: #4B7FAF !important;
  background: rgba(75, 127, 175, 0.1) !important;
}

.glass-dark {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-nav {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Gradient Text
   ============================================ */
.text-gradient {
  background: linear-gradient(90deg, #4B7FAF 0%, #6a9bc5 50%, #4B7FAF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite;
}

.text-gradient-static {
  background: linear-gradient(90deg, #4B7FAF, #6a9bc5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   Custom Animations
   ============================================ */
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(75, 127, 175, 0.4); }
  50% { box-shadow: 0 0 40px rgba(75, 127, 175, 0.8); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes bounce-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Animation Classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.6s ease-out forwards;
}

.animate-slide-in-left {
  animation: slide-in-left 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scale-in 0.4s ease-out forwards;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-bounce-gentle {
  animation: bounce-gentle 2s ease-in-out infinite;
}

/* Animation Delays */
.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-500 { animation-delay: 500ms; }
.animation-delay-700 { animation-delay: 700ms; }
.animation-delay-1000 { animation-delay: 1000ms; }

/* ============================================
   Button Styles
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, #4B7FAF 0%, #3d6a91 100%);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(75, 127, 175, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Divider text background - matches parent card in each mode */
.divider-text {
  background: rgba(30, 30, 30, 0.95);
}

/* ============================================
   Input Styles
   ============================================ */
.input-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  transition: all 0.3s ease;
  width: 100%;
}

.input-glass:focus {
  outline: none;
  border-color: #4B7FAF;
  box-shadow: 0 0 0 3px rgba(75, 127, 175, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.input-glass::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Card Hover Effects
   ============================================ */
.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(75, 127, 175, 0.2);
  border-color: rgba(75, 127, 175, 0.3);
}

/* ============================================
   Navigation Link Effects
   ============================================ */
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4B7FAF, #6a9bc5);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4B7FAF, #3d6a91);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3d6a91, #345b7e);
}

/* ============================================
   Selection Styling
   ============================================ */
::selection {
  background: rgba(75, 127, 175, 0.4);
  color: white;
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 768px) {
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }
}

/* ============================================
   Loading Spinner
   ============================================ */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #4B7FAF;
  border-radius: 50%;
  animation: spin-slow 1s linear infinite;
}

/* ============================================
   Tooltip
   ============================================ */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: rgba(10, 10, 10, 0.95);
  color: white;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 50;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 8px);
}

/* ============================================
   Theme Toggle Button
   ============================================ */
.theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Dark mode (default): show sun, hide moon */
.theme-icon-sun { display: block; }
.theme-icon-moon { display: none; }

/* Light mode: show moon, hide sun */
.light-mode .theme-icon-sun { display: none; }
.light-mode .theme-icon-moon { display: block; }

.light-mode .theme-toggle {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.6);
}

.light-mode .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.25);
}

/* Sidebar theme toggle (dashboard) */
.sidebar-link.w-full .sidebar-link-icon.theme-icon-sun { display: block; }
.sidebar-link.w-full .sidebar-link-icon.theme-icon-moon { display: none; }
.light-mode .sidebar-link.w-full .sidebar-link-icon.theme-icon-sun { display: none; }
.light-mode .sidebar-link.w-full .sidebar-link-icon.theme-icon-moon { display: block; }

/* ============================================
   Light Mode Overrides
   ============================================ */
.light-mode body,
.light-mode .bg-gradient-dark {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%) !important;
  color: #1a1a1a;
}

.light-mode .bg-gradient-mesh {
  background:
    radial-gradient(at 40% 20%, #ffffff 0px, transparent 50%),
    radial-gradient(at 80% 0%, #f0f0f0 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(75, 127, 175, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(75, 127, 175, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, #ffffff 0px, transparent 50%),
    linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%) !important;
}

/* Navigation */
.light-mode .glass-nav {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode .nav-link {
  color: rgba(0, 0, 0, 0.6);
}

.light-mode .nav-link:hover {
  color: #1a1a1a;
}

/* Mobile menu */
.light-mode .mobile-menu {
  background: rgba(255, 255, 255, 0.98) !important;
}

.light-mode .mobile-menu a {
  color: #1a1a1a !important;
}

.light-mode #mobile-menu-btn {
  color: #1a1a1a;
}

/* Text colors */
.light-mode .text-white {
  color: #1a1a1a !important;
}

.light-mode .text-gray-400 {
  color: #555555 !important;
}

.light-mode .text-gray-500 {
  color: #666666 !important;
}

/* Glass cards */
.light-mode .glass-card {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

/* Validator profile modal — dark theme (default) */
#profile-modal-card { /* inherits glass-card */ }
#profile-modal-header-bar { border-color: rgba(255,255,255,0.1); }
#profile-modal-name { color: #fff; }
.vm-heading { color: #fff; }
.vm-body { color: #d1d5db; }
.vm-label { color: #9ca3af; }
.vm-value { color: #fff; font-weight: 500; }
.vm-muted { color: #6b7280; }
.vm-tag { display: inline-block; padding: 0.25rem 0.625rem; border-radius: 9999px; font-size: 0.75rem; background: rgba(75,127,175,0.2); color: #6a9bc5; }
.vm-review-card { background: rgba(255,255,255,0.05); border-radius: 0.5rem; padding: 0.75rem; }

/* Validator profile modal — light theme */
.light-mode #profile-modal-card {
  background: #fff !important;
  border-color: rgba(0,0,0,0.1) !important;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}
.light-mode #profile-modal-header-bar { border-color: #e5e7eb !important; }
.light-mode #profile-modal-name { color: #111827 !important; }
.light-mode #profile-modal-close { color: #9ca3af; }
.light-mode #profile-modal-close:hover { color: #374151; }
.light-mode .vm-heading { color: #111827 !important; }
.light-mode .vm-body { color: #4b5563 !important; }
.light-mode .vm-label { color: #6b7280 !important; }
.light-mode .vm-value { color: #111827 !important; }
.light-mode .vm-muted { color: #9ca3af !important; }
.light-mode .vm-tag { background: rgba(75,127,175,0.1) !important; color: #4B7FAF !important; border: 1px solid rgba(75,127,175,0.2); }
.light-mode .vm-review-card { background: #f9fafb !important; }

.light-mode .card-hover:hover {
  box-shadow: 0 20px 40px rgba(75, 127, 175, 0.15) !important;
  border-color: rgba(75, 127, 175, 0.25) !important;
}

/* Buttons */
.light-mode .btn-secondary {
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.15);
}

.light-mode .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.25);
}

.light-mode .btn-glass {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #1a1a1a !important;
}

.light-mode .btn-glass:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Auth page divider line */
.light-mode .border-white\/10 {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* Auth page divider text background */
.light-mode .divider-text {
  background: rgba(255, 255, 255, 0.7) !important;
}

/* Footer */
.light-mode footer {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode footer .border-t {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode footer h4 {
  color: #1a1a1a !important;
}

.light-mode footer a {
  color: #666666 !important;
}

.light-mode footer a:hover {
  color: #1a1a1a !important;
}

.light-mode footer p {
  color: #888888 !important;
}

/* CTA Section glow */
.light-mode .bg-\[\#4B7FAF\]\/15 {
  background: rgba(75, 127, 175, 0.08) !important;
}

/* How It Works connector lines */
.light-mode .bg-gradient-to-r.from-\[\#4B7FAF\]\/50 {
  opacity: 0.4;
}

/* Gradient text keeps working on light - the accent colour is still visible */

/* Scroll indicator */
.light-mode .animate-bounce-gentle svg {
  color: #999999 !important;
}

/* Green checkmarks stay green */

/* Section background overlay */
.light-mode .bg-gradient-to-b {
  opacity: 0.3;
}

/* ============================================
   Light Mode - Marketplace & Component Overrides
   ============================================ */

/* Job cards */
/* Layout toggle in light mode */
.light-mode .layout-btn {
  color: rgba(0, 0, 0, 0.3);
}

.light-mode .layout-btn:hover {
  color: rgba(0, 0, 0, 0.6);
}

.light-mode .layout-btn.active {
  color: #1a1a1a;
  background: rgba(75, 127, 175, 0.15);
}

.light-mode #layout-toggle {
  background: rgba(0, 0, 0, 0.04);
}

.light-mode .job-card {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.light-mode .job-card:hover {
  border-color: rgba(75, 127, 175, 0.3) !important;
  box-shadow: 0 12px 30px rgba(75, 127, 175, 0.12) !important;
}

.light-mode .job-card-title {
  color: #1a1a1a !important;
}

.light-mode .job-card-description {
  color: #555555 !important;
}

.light-mode .job-card-meta {
  color: #777777 !important;
}

.light-mode .job-card-tag {
  background: rgba(75, 127, 175, 0.1) !important;
  color: #3d6a91 !important;
}

/* Search bar */
.light-mode .search-bar {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.light-mode .search-bar:focus-within {
  border-color: #4B7FAF !important;
  box-shadow: 0 0 0 3px rgba(75, 127, 175, 0.15) !important;
}

.light-mode .search-bar-icon {
  color: rgba(0, 0, 0, 0.35) !important;
}

.light-mode .search-bar-input {
  color: #1a1a1a !important;
}

.light-mode .search-bar-input::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

/* Filter dropdowns */
.light-mode .filter-dropdown-btn {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #333333 !important;
}

.light-mode .filter-dropdown-btn:hover {
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.18) !important;
}

.light-mode .filter-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.light-mode .filter-dropdown-item {
  color: #333333 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.light-mode .filter-dropdown-item:last-child {
  border-bottom: none !important;
}

.light-mode .filter-dropdown-item:hover {
  background: rgba(75, 127, 175, 0.08) !important;
  color: #1a1a1a !important;
}

/* Form inputs */
.light-mode .form-input {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #1a1a1a !important;
}

.light-mode .form-input:focus {
  border-color: #4B7FAF !important;
  box-shadow: 0 0 0 3px rgba(75, 127, 175, 0.15) !important;
}

.light-mode .form-input::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

.light-mode .form-label {
  color: #333333 !important;
}

.light-mode .form-select {
  color: #1a1a1a !important;
  background-color: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.light-mode .form-select option {
  background: #ffffff !important;
  color: #1a1a1a !important;
}

/* Glass panels in light mode */
.light-mode .glass {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}

.light-mode .glass.job-type-selected {
  border-color: #4B7FAF !important;
  background: rgba(75, 127, 175, 0.12) !important;
}

/* Stat cards */
.light-mode .stat-card {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode .stat-card:hover {
  border-color: rgba(75, 127, 175, 0.3) !important;
}

.light-mode .stat-value {
  color: #1a1a1a !important;
}

.light-mode .stat-label {
  color: #666666 !important;
}

/* Sidebar */
.light-mode .sidebar {
  background: rgba(245, 245, 245, 0.98) !important;
  border-right-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode .sidebar-header {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode .sidebar-link {
  color: rgba(0, 0, 0, 0.55) !important;
}

.light-mode .sidebar-link:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #1a1a1a !important;
}

.light-mode .sidebar-link.active {
  background: rgba(75, 127, 175, 0.08) !important;
  color: #4B7FAF !important;
}

.light-mode .sidebar-section {
  color: rgba(0, 0, 0, 0.4) !important;
}

/* Data tables */
.light-mode .data-table th {
  background: rgba(0, 0, 0, 0.02) !important;
  color: #666666 !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode .data-table td {
  color: #333333 !important;
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

.light-mode .data-table tr:hover td {
  background: rgba(0, 0, 0, 0.02) !important;
}

/* Pagination buttons */
.light-mode .text-gray-400.hover\:text-white {
  color: #888888 !important;
}

.light-mode .text-gray-400.hover\:text-white:hover {
  color: #1a1a1a !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

.light-mode .text-gray-500.hover\:text-white:hover {
  color: #1a1a1a !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

/* Sort select */
.light-mode select.form-input {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #1a1a1a !important;
}

/* Role toggle */
.light-mode .role-toggle {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.light-mode .role-toggle-btn {
  color: #666666 !important;
}

.light-mode .role-toggle-btn.active {
  color: white !important;
}

/* Tag input */
.light-mode .tag-input-container {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.light-mode .tag-input {
  color: #1a1a1a !important;
}

.light-mode .tag-input::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

/* File upload */
.light-mode .file-upload-zone {
  background: rgba(75, 127, 175, 0.03) !important;
  border-color: rgba(75, 127, 175, 0.2) !important;
}

.light-mode .file-item {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.light-mode .file-item-name {
  color: #1a1a1a !important;
}

/* Empty state */
.light-mode .empty-state-icon {
  color: rgba(0, 0, 0, 0.15) !important;
}

.light-mode .empty-state-title {
  color: #1a1a1a !important;
}

.light-mode .empty-state-text {
  color: #666666 !important;
}

/* text-gray-300 used in pricing "How Payments Work" */
.light-mode .text-gray-300 {
  color: #444444 !important;
}

/* Input glass */
.light-mode .input-glass {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #1a1a1a !important;
}

.light-mode .input-glass:focus {
  border-color: #4B7FAF !important;
  box-shadow: 0 0 0 3px rgba(75, 127, 175, 0.15) !important;
  background: rgba(0, 0, 0, 0.02) !important;
}

.light-mode .input-glass::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

/* Modal in light mode */
.light-mode .modal-container {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.light-mode .modal-container .border-white\/10 {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.light-mode .modal-container .text-lg.font-semibold.text-white {
  color: #1a1a1a !important;
}

.light-mode .modal-container .text-gray-400 {
  color: #555555 !important;
}

.light-mode .modal-container .text-gray-300 {
  color: #333333 !important;
}

.light-mode .modal-container .text-red-400 {
  color: #ef4444 !important;
}

.light-mode .modal-backdrop {
  background: rgba(0, 0, 0, 0.3) !important;
}

.light-mode .form-checkbox {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

.light-mode .form-checkbox:checked {
  background: #4B7FAF !important;
  border-color: #4B7FAF !important;
}

.light-mode #email-verify-banner {
  background: #fefce8 !important;
  border-color: #ca8a04 !important;
}

.light-mode #email-verify-banner p:first-of-type {
  color: #854d0e !important;
}

.light-mode #email-verify-banner p:last-of-type {
  color: #a16207 !important;
}

.light-mode #email-verify-banner #banner-resend-btn {
  color: #854d0e !important;
}

.light-mode #email-verify-banner #banner-resend-btn:hover {
  color: #713f12 !important;
}

.light-mode #email-verify-banner #banner-dismiss-btn {
  color: #a16207 !important;
}

.light-mode #email-verify-banner #banner-dismiss-btn:hover {
  color: #854d0e !important;
}

.light-mode #email-verify-banner svg {
  color: #ca8a04 !important;
}

/* ============================================
   Light Mode - Notification Bell Dropdown
   ============================================ */
#notification-dropdown {
  /* Dark mode defaults (set via inline class bg-slate-800) */
}

.light-mode #notification-dropdown {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Header border */
.light-mode #notification-dropdown .border-white\/10 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Skeleton loading placeholders */
.light-mode #notification-dropdown .bg-white\/10 {
  background: rgba(0, 0, 0, 0.08) !important;
}

.light-mode #notification-dropdown .bg-white\/5 {
  background: rgba(0, 0, 0, 0.04) !important;
}

/* Notification items — hover & unread backgrounds */
.light-mode #notification-dropdown [data-notif-id]:hover {
  background: rgba(0, 0, 0, 0.03) !important;
}

.light-mode #notification-dropdown .bg-white\/\[0\.03\] {
  background: rgba(75, 127, 175, 0.04) !important;
}

/* Icon circle backgrounds */
.light-mode #notification-dropdown .bg-\[\#4B7FAF\]\/20 {
  background: rgba(75, 127, 175, 0.12) !important;
}

/* Read notification icon bg */
.light-mode #notification-dropdown .rounded-full.bg-white\/5 {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Title text - unread */
.light-mode #notification-dropdown .text-white {
  color: #1a1a1a !important;
}

/* Title text - read */
.light-mode #notification-dropdown .text-gray-300 {
  color: #444444 !important;
}

/* Message text */
.light-mode #notification-dropdown .text-gray-500 {
  color: #666666 !important;
}

/* Timestamp text */
.light-mode #notification-dropdown .text-gray-600 {
  color: #999999 !important;
}

/* Empty state text */
.light-mode #notification-dropdown p.text-gray-500 {
  color: #888888 !important;
}

/* "Mark all as read" link — keep accent color, just adjust hover */
.light-mode #notification-dropdown .text-\[\#6a9bc5\] {
  color: #4B7FAF !important;
}

.light-mode #notification-dropdown .hover\:text-\[\#8bb5d6\]:hover {
  color: #3d6a91 !important;
}

/* Bell button in header — light mode */
.light-mode #notification-bell-btn {
  color: #666666 !important;
}

.light-mode #notification-bell-btn:hover {
  color: #1a1a1a !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

/* ============================================
   Compact Mode
   ============================================ */
.compact-mode .sidebar-link {
  padding: 0.5rem 1.25rem;
}

.compact-mode .sidebar-section {
  padding: 0.625rem 1.25rem 0.375rem;
}

.compact-mode .sidebar-header {
  padding: 1rem 1.25rem;
}

.compact-mode .glass-card {
  padding: 1rem;
}

.compact-mode .glass-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.compact-mode .stat-card {
  padding: 1rem;
}

.compact-mode .stat-value {
  font-size: 1.5rem;
}

.compact-mode .stat-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
}

.compact-mode .job-card {
  padding: 1rem;
}

.compact-mode .main-content {
  padding: 0;
}

.compact-mode .p-6 {
  padding: 1rem !important;
}

.compact-mode .mb-8 {
  margin-bottom: 1.25rem !important;
}

.compact-mode .space-y-6 > * + * {
  margin-top: 1rem;
}

.compact-mode .space-y-5 > * + * {
  margin-top: 0.75rem;
}

.compact-mode .gap-5 {
  gap: 0.75rem !important;
}

.compact-mode .py-4 {
  padding-top: 0.625rem !important;
  padding-bottom: 0.625rem !important;
}

.compact-mode .data-table th,
.compact-mode .data-table td {
  padding: 0.625rem 0.75rem;
}

.compact-mode .form-input {
  padding: 0.5rem 0.75rem;
}

.compact-mode .btn-primary {
  padding: 0.5rem 1.25rem;
}

/* ============================================
   No Animations Mode
   ============================================ */
.no-animations *,
.no-animations *::before,
.no-animations *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

.no-animations .text-gradient {
  animation: none !important;
}

.no-animations .animate-float,
.no-animations .animate-pulse-glow,
.no-animations .animate-fade-in,
.no-animations .animate-fade-in-up,
.no-animations .animate-slide-in-right,
.no-animations .animate-slide-in-left,
.no-animations .animate-scale-in,
.no-animations .animate-spin-slow,
.no-animations .animate-bounce-gentle {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
