/* NTU Info - Legacy Clubs Explorer Visual System (global)
 * Derived from archived/NTU Clubs & Societies Explorer/style.css
 * No external font imports; relies on local/system font stack.
 */

:root {
  /* Legacy clubs colors */
  --ntu-blue: #003d7c;
  --ntu-red: #c7162b;
  --ntu-red-light: #e53e3e;
  --ntu-blue-light: #2a6496;

  /* Neutral palette aligned to legacy Tailwind-ish values */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --transition-fast: 150ms ease;
  --transition: 200ms ease;
}

body {
  background: var(--gray-50);
  color: var(--gray-700);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ntu-blue);
}

.text-ntu-blue { color: var(--ntu-blue); }
.text-ntu-red { color: var(--ntu-red); }
.bg-ntu-blue { background-color: var(--ntu-blue); }
.bg-ntu-red { background-color: var(--ntu-red); }
.border-ntu-red { border-color: var(--ntu-red); }

/* Buttons (clubs legacy feel) */
.btn,
.btn-primary,
.btn-secondary {
  border-radius: 10px;
  font-weight: 600;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-primary { background: var(--ntu-red); color: #fff; }
.btn-primary:hover { background: #b31225; color: #fff; }

.btn-secondary { background: var(--ntu-blue); color: #fff; border: 1px solid var(--ntu-blue); }
.btn-secondary:hover { background: #002f61; color: #fff; }

/* Global card (make site match clubs) */
.card,
.tool-card,
.quick-action-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover,
.tool-card:hover,
.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Summary/metric tiles */
.summary-item,
.summary-tile {
  text-align: center;
  padding: 1rem;
  background-color: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.summary-item:hover,
.summary-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Tables - executive summary style */
table {
  border-collapse: collapse;
  width: 100%;
}

table th,
 table td {
  border: 1px solid var(--gray-300);
  padding: 0.75rem;
  text-align: left;
}

table th {
  background-color: #f9fafb;
  font-weight: 600;
}

table tr:nth-child(even) {
  background-color: #f9fafb;
}

/* Inputs focus ring using ntu-red */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ntu-red);
  box-shadow: 0 0 0 3px rgba(199, 22, 43, 0.2);
}

/* Score colors */
.score-high { color: var(--ntu-red); }
.score-medium { color: #d97706; }
.score-low { color: #16a34a; }
