/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into maintainability.
 */

/* Minimal global styles - Tailwind handles most styling */
/* Only include styles that cannot be achieved with Tailwind utilities */

/* Ensure proper box-sizing for all elements */
* {
  box-sizing: border-box;
}

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
}

/* Ensure proper focus visibility for accessibility */
.focus-visible:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Theme Override Styles - Force light mode to override system dark mode */
/* These rules ensure manual light mode selection works even when system prefers dark */

.light {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.light .bg-white {
  background-color: #ffffff !important;
}

.light .text-slate-800 {
  color: #0f172a !important;
}

.light .text-slate-600 {
  color: #475569 !important;
}

.light .text-slate-400 {
  color: #64748b !important;
}

.light .border-slate-200 {
  border-color: #e2e8f0 !important;
}

.light .border-slate-700 {
  border-color: #cbd5e1 !important;
}

.light .bg-blue-100 {
  background-color: #dbeafe !important;
}

.light .bg-green-100 {
  background-color: #dcfce7 !important;
}

.light .text-blue-800 {
  color: #1e40af !important;
}

.light .text-green-800 {
  color: #166534 !important;
}

.light .bg-slate-100 {
  background-color: #f1f5f9 !important;
}

.light .bg-slate-700 {
  background-color: #cbd5e1 !important;
}

.light .text-slate-200 {
  color: #0f172a !important;
}

/* Dark mode styles for when system or manual dark is selected */
.dark {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

.dark .bg-white {
  background-color: #1e293b !important;
}

.dark .text-slate-800 {
  color: #cbd5e1 !important;
}

.dark .text-slate-600 {
  color: #94a3b8 !important;
}

.dark .text-slate-400 {
  color: #94a3b8 !important;
}

.dark .border-slate-200 {
  border-color: #334155 !important;
}

.dark .border-slate-700 {
  border-color: #475569 !important;
}

.dark .bg-blue-100 {
  background-color: #1e40af !important;
}

.dark .bg-green-100 {
  background-color: #15803d !important;
}

.dark .text-blue-800 {
  color: #60a5fa !important;
}

.dark .text-green-800 {
  color: #4ade80 !important;
}

.dark .bg-slate-100 {
  background-color: #334155 !important;
}

.dark .bg-slate-700 {
  background-color: #475569 !important;
}

.dark .text-slate-200 {
  color: #e2e8f0 !important;
}

/* Shared Button Styles - Intellectio Design Language */

.btn-primary {
  background: white;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-gradient-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-gradient-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline-secondary {
  background: transparent;
  color: #6b7280;
  border: 2px solid #d1d5db;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline-secondary:hover {
  background: #f9fafb;
  color: #111827;
  border-color: #9ca3af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dark mode overrides for buttons */
.dark .btn-primary {
  background: #1f2937;
  color: white;
  border: 1px solid #374151;
}

.dark .btn-primary:hover {
  background: #374151;
  border-color: #4b5563;
}

.dark .btn-secondary {
  border-color: #6b7280;
  color: #f9fafb;
}

.dark .btn-secondary:hover {
  background: #6b7280;
  color: #111827;
}

.dark .btn-outline-secondary {
  background: transparent;
  color: #9ca3af;
  border-color: #374151;
}

.dark .btn-outline-secondary:hover {
  background: #374151;
  color: #f9fafb;
  border-color: #4b5563;
}
