/* === Color Variables === */
:root {
  --primary-color: #EA7023;
  --primary-hover: #d35e1f;
  --dark-bg: #121212;
  --footer-bg: #1A1A1A;
  --text-light: #ffffff;
  --text-muted: #cccccc;
  --table-bg: #f9f9f9;
  --border-radius: 8px;
}

/* === Base === */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

a {
  text-decoration: none;
}

/* === Navbar === */
.navbar {
  background-color: var(--dark-bg);
  min-height: 100px;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
  height: 80px;
  padding-left: 25px;
  width: auto;
}

.navbar-nav .nav-link {
  padding: 1rem 1.2rem;
  font-size: 1.05rem;
  color: var(--text-light) !important;
}

.navbar-nav .nav-link:hover {
  background-color: var(--primary-color);
  color: #fff !important;
  border-radius: var(--border-radius);
}

/* === Footer === */
footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
  padding: 16px;
  text-align: center;
    position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
}



/* === Dashboard Cards === */
/* Dashboard Card Grid */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

/* Individual Card */
.dashboard-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e6e6e6;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Icon */
.dashboard-card .icon {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* Count */
.dashboard-card h4 {
  font-size: 32px;
  margin: 0;
  color: var(--primary-color);
}

/* Label */
.dashboard-card p {
  font-size: 18px;
  color: #555;
  margin-top: 6px;
}

/* Responsive Text Size */
@media (max-width: 768px) {
  .dashboard-card h4 {
    font-size: 22px;
  }

  .dashboard-card p {
    font-size: 13px;
  }

  .dashboard-card .icon {
    font-size: 26px;
  }
}



/* === Forms === */
form select,
form input[type="text"],
form input[type="number"],
form input[type="date"],
form input[type="email"],
form input[type="password"],
form textarea,
form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
}

form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: var(--primary-hover);
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--table-bg);
  margin-bottom: 20px;
}

table th, table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

table th {
  background-color: var(--primary-color);
  color: white;
}

.table td, .table th {
  vertical-align: middle;
}

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

.badge {
  font-size: 0.85rem;
  padding: 0.4em 0.6em;
}


/* === Alerts === */
.alert {
  padding: 15px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
}

/* === Responsive Fixes === */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 75px;
  }

  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
    text-align: center;
    font-size: 0.95rem;
  }

  .dashboard-cards {
    grid-template-columns: 1fr;
  }
}



/* === Button themes === */
.btn-theme {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  transition: 0.3s ease;
}

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

.btn-theme-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: 0.3s ease;
}

.btn-theme-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.text-theme {
  color: #EA7023 !important;
}
.bg-theme {
  background-color: #EA7023 !important;
}
.bg-danger-subtle {
  background-color: #fdecea;
}
.bg-success-subtle {
  background-color: #e6f4ea;
}

