:root {
  --primary-color: #0d4a30;
  /* Dark Green */
  --primary-hover: #0a3824;
  --secondary-color: #f8f9fa;
  /* Light Grey */
  --text-dark: #212529;
  /* Black/Dark Grey */
  --text-light: #ffffff;
  /* White */
  --bg-color: #f4f6f9;
  /* Off-white background */
  --card-bg: #ffffff;
  --sidebar-bg: #111111;
  /* Very dark */
  --border-radius: 12px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
}

/* Auth Pages */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a7c54 100%);
}

.auth-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 40px;
  width: 100%;
  max-width: 450px;
}

.auth-card .logo-container {
  text-align: center;
  margin-bottom: 30px;
}

.auth-card .logo-container h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  padding: 5px 15px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(13, 74, 48, 0.3);
}

/* Dashboard Layout */
.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}

/* Sidebar */
#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: var(--sidebar-bg);
  color: var(--text-light);
  transition: all 0.3s;
  min-height: 100vh;
}

#sidebar .sidebar-header {
  padding: 20px;
  background: var(--primary-color);
  text-align: center;
}

#sidebar .sidebar-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

#sidebar ul.components {
  padding: 20px 0;
}

#sidebar ul li a {
  padding: 15px 20px;
  font-size: 1.1em;
  display: block;
  color: #adb5bd;
  text-decoration: none;
  transition: 0.3s;
}

#sidebar ul li a:hover,
#sidebar ul li.active>a {
  color: var(--text-light);
  background: var(--primary-color);
  border-left: 4px solid #fff;
}

#sidebar ul li a i {
  margin-right: 10px;
}

/* Content */
#content {
  width: 100%;
  padding: 20px;
  min-height: 100vh;
  transition: all 0.3s;
}

/* Top Navbar */
.top-navbar {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Cards */
.bbs-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.bbs-card:hover {
  transform: translateY(-5px);
}

.bbs-card .card-body {
  padding: 25px;
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-card .icon.primary {
  background: rgba(13, 74, 48, 0.1);
  color: var(--primary-color);
}

.stat-card .details h5 {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.stat-card .details h3 {
  margin: 0;
  font-weight: 700;
  color: var(--text-dark);
}

/* Forms */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 74, 48, 0.25);
}