/* === GLOBAL LIGHT THEME : TRIVOLUX === */

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, #f5f7ff 0%, #ffffff 80%);
  color: #1f2937; /* gray-800 */
  min-height: 100vh;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #B8860B; /* indigo */
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #e5e7eb;
}

/* === INPUTS & TEXTAREAS === */
input, textarea, select {
  color: #111827 !important;            /* dark text */
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #d1d5db;            /* gray-300 border */
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

input:focus, textarea:focus, select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.25);
  background-color: #ffffff;
}

input::placeholder, textarea::placeholder {
  color: #9ca3af !important;            /* gray-400 */
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: #111827 !important;
  caret-color: #111827 !important;
}

/* === BUTTONS === */
button, .btn {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.25s ease;
}

button:hover, .btn:hover {
  background: linear-gradient(135deg, #818cf8, #60a5fa);
  transform: translateY(-1px);
}

/* === CARD / GLASS EFFECT === */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* === LINKS === */
a {
  color: #4f46e5;
  transition: color 0.2s ease;
}
a:hover {
  color: #4338ca;
}

/* === TABLES (Admin) === */
table {
  width: 100%;
  border-collapse: collapse;
  color: #1f2937;
}
th, td {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
}
thead {
  background: #eef2ff;
}
tbody tr:hover {
  background: #f9fafb;
}

/* === TOASTS === */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.95);
  color: #1f2937;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 0.875rem;
  z-index: 100;
}

/* === HEADINGS === */
h1, h2, h3 {
  background: linear-gradient(90deg, #4f46e5, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === NAVBAR === */
nav {
  background: #0A1F44;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

footer {
  border-top: 1px solid #e5e7eb;
  color: #0A1F44;
  background: #0A1F44;
}

/* === UTILITY === */
.shadow-soft {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.25s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #818cf8, #60a5fa);
  transform: translateY(-1px);
}

/* compact icon button, no gradient/padding */
.icon-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  line-height: 1 !important;
}
