/* ==========================================================================
   AI Score Mantra - Modern Dashboard Stylesheet
   ========================================================================== */

:root {
  --primary-color: #0F766E;
  --primary-light: #CCFBF1;
  --bg-color: #E5EAE7;
  --surface-color: #FFFFFF;
  --border-color: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
}

/* Base resets & typography */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  font-family: 'Poppins', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Custom sleek dashboard scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Modern text selection */
::selection {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* Responsive Full-Width Table Utilities */
.table-full-width {
  width: 100% !important;
  min-width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
}

.table-header {
  background-color: #F8FAFC;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.table-row {
  transition: background-color 0.15s ease-in-out;
}

.table-row:hover {
  background-color: #F8FAFC;
}

/* Modern Dashboard Cards & Panels */
.dashboard-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background-color: #ECFDF5;
  color: #047857;
}

.badge-warning {
  background-color: #FFFBEB;
  color: #B45309;
}

.badge-danger {
  background-color: #FEF2F2;
  color: #B91C1C;
}

.badge-teal {
  background-color: #CCFBF1;
  color: #0F766E;
}
