/* ------------------ GOOGLE FONTS ------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;600;700&display=swap');

/* ------------------ BASE COLORS ------------------ */
:root {
  --primary: #046A38;
  --primary-hover: #03502A;
  --secondary: #CE1126;
  --accent: #F7E10E;
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --text: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --radius: 0.75rem;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ------------------ GENERAL ------------------ */
body, html {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--text);
}

p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ------------------ BUTTONS ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  transition: 0.3s ease;
}

.btn:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

/* ------------------ TABLES ------------------ */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background-color: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table thead {
  background-color: #F1F5F9;
}

table thead th {
  padding: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  font-size: 0.95rem;
}

table tbody td {
  padding: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--text);
}

table tbody tr:hover {
  background-color: #F8FAFC;
}

/* ------------------ SEARCH BOX ------------------ */
.dataTables_filter input[type="search"] {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: white;
  transition: 0.3s ease;
  font-size: 0.95rem;
}

.dataTables_filter input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 106, 56, 0.15);
}

/* ------------------ SELECT DROPDOWN ------------------ */
select {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background-color: white;
}

/* ------------------ FORM INPUTS ------------------ */
input, textarea {
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1rem;
  background-color: white;
}

input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 106, 56, 0.15);
  outline: none;
}

/* ------------------ ANIMATIONS ------------------ */
.fade-in {
  animation: fadeIn 0.6s ease-in-out both;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.btn-animate {
  transition: all 0.2s ease;
}

.btn-animate:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

/* ------------------ MODALS ------------------ */
.modal {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-color: var(--surface);
}

/* ------------------ BADGES / STATUS TAGS ------------------ */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--primary);
  color: white;
}

/* ------------------ HEADER BAR ------------------ */
header, nav {
  background-color: var(--surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  padding: 0.75rem 1.5rem;
}

/* ------------------ CARDS ------------------ */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* ------------------ DARK MODE PLACEHOLDER ------------------ */
/* You can enhance this for dark themes if needed */