/* Base Page & Typography */
body {
  background: #f4f7fa; /* Soft light background */
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #333;
}

.text-primary {
  color: #2F8C5A !important; /* Using green as accent */
}


/* Login Wrapper - full height centering */
.login-wrapper, .register-wrapper {
  background: #f4f7fa;
}

/* Login Card Styling */
.login-card, .register-card {
  border-radius: 10px;
  background-color: #ffffff;
  max-width: 500px;
  width: 100%;
}

.card-header{
  background-color: #2F8C5A; /* Using green as accent */
  color: #fff;
}

/* Card Title */
h3.card-title {
  font-weight: 600;
  color: #2F8C5A; /* Using green as accent */
}

/* Form Controls */
.form-control {
  border-radius: 5px;
  border: 2px solid #ccc; 
}
.form-control:focus {
  border: 2px solid #2F8C5A;
  box-shadow: none;
}

/* Primary Button Overrides */
.btn-primary {
  background-color: #2F8C5A;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #27694c;
}

/* Links Styling */
a {
  color: #2F8C5A;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Alert Overrides */
.alert {
  border-radius: 5px;
}
.alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border-color: #f5c2c7;
}

/* Responsive adjustments for smaller devices */
@media (max-width: 576px) {
  .login-card {
      margin: 0 10px;
  }
}


/* ==================================================
   Navbar Customizations
================================================== */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.5rem 1rem;
}
.navbar-brand {
  font-weight: 600;
  color: #2F8C5A !important;
}
.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #2F8C5A !important;
}
.navbar-toggler {
  border: none;
  outline: none;
}

/* ==================================================
 Sidebar (Static) Customizations
================================================== */
#sidebar {
  background: #fff;
  border-right: 1px solid #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  overflow-y: auto;
  transition: all 0.3s ease;
  padding: 1rem;
}
#sidebar h4 {
  color: #2F8C5A;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
#sidebar ul.nav {
  list-style: none;
  padding-left: 0;
}
#sidebar ul.nav li.nav-item {
  margin-bottom: 0.5rem;
}
#sidebar ul.nav li.nav-item a.nav-link {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  color: #333;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
#sidebar ul.nav li.nav-item a.nav-link:hover {
  background: #f0f0f0;
  color: #2F8C5A;
}
/* Active state for sidebar nav links */
#sidebar ul.nav li.nav-item a.nav-link.active,
.offcanvas ul.nav li.nav-item a.nav-link.active {
    background: #f0f0f0;
    color: #2F8C5A;
}

/* ==================================================
 Offcanvas Sidebar (Mobile) Customizations
================================================== */
.offcanvas {
  background: #fff;
  border-right: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}
.offcanvas .offcanvas-title {
  color: #2F8C5A;
  font-weight: 600;
}
.offcanvas ul.nav li.nav-item a.nav-link {
  color: #333;
  transition: background 0.3s, color 0.3s;
}
.offcanvas ul.nav li.nav-item a.nav-link:hover {
  background: #f0f0f0;
  color: #2F8C5A;
}

/* ==================================================
 Main Content Area Adjustments
================================================== */
.main-content {
  padding: 2rem;
  transition: margin-left 0.3s ease;
}
@media (min-width: 768px) {
  .main-content {
      margin-left: 260px; /* 250px sidebar + 10px gap */
  }
}


table thead th{
  background-color: #2F8C5A !important;
  color: #FFF !important;
}