:root {
  --mf-primary: #009f4d; /* MFCentral Green */
  --mf-primary-dark: #00823f;
  --mf-primary-light: #e6f5ec;
  --mf-text-main: #2c3e50;
  --mf-text-muted: #6c757d;
  --mf-bg: #f5f7f9;
  --mf-border: #eaedf2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.02);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--mf-bg);
  color: var(--mf-text-main);
  /* padding-bottom removed, handled by wrapper class if needed */
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

/* Custom Overrides for Bootstrap Components */

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background-color: var(--mf-primary);
  border-color: var(--mf-primary);
  color: white;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--mf-primary-dark) !important;
  border-color: var(--mf-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 159, 77, 0.2);
}

.btn-light {
  background-color: white;
  color: var(--mf-primary);
  border: 1px solid var(--mf-border);
}

.btn-light:hover {
  background-color: var(--mf-primary-light);
  color: var(--mf-primary-dark);
  border-color: var(--mf-primary-light);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 159, 77, 0.25);
  border-color: var(--mf-primary);
}

/* Cards */
.card {
  border: 1px solid var(--mf-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--mf-border);
  padding: 1.25rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* Tables */
.table {
  color: var(--mf-text-main);
}
.table th {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--mf-text-muted);
  border-bottom-width: 1px;
}
.table td {
  vertical-align: middle;
  padding: 1rem 0.75rem;
}

/* Navbar */
.navbar {
  background-color: #ffffff !important;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}
.navbar-brand {
  font-weight: 700;
  color: #111827 !important;
  font-size: 1.25rem;
}
.navbar-brand i {
  color: var(--mf-primary);
}
.nav-link {
  font-weight: 500;
  color: var(--mf-text-muted) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--mf-primary) !important;
}

.footer {
  background-color: white;
  border-top: 1px solid var(--mf-border) !important;
  color: var(--mf-text-muted);
}