/* ===== Layout ===== */
.admin-container {
  display: flex;
  min-height: 100vh;
  background: #f4f6f9;
  font-family: "Segoe UI", sans-serif;
}

/* ===== Sidebar ===== */
.logo i{
  color: #000000;
}
.sidebar {
  width: 200px;
  background: #fff;
  color: #000000;
  padding: 20px;
}

.sidebar .logo {
  text-align: center;
  font-size: 27px;
  margin-bottom: 30px;
  font-weight: bold;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  display: block;
  padding: 10px 15px;
  color: #000000;
  border-radius: 6px;
  text-decoration: none;
}

.sidebar ul li.active a,
.sidebar ul li a:hover {
  background: #2563eb;
  color: #fff;
}

/* ===== Main ===== */
.main {
  flex: 1;
  padding: 25px;
}

.main-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 25px;
}

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #2563eb;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.stat-card h3 {
  font-size: 34px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 8px;
}

.stat-card p {
  margin: 0;
  color: #ffffff;
  font-weight: 500;
}



.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #ffffff; /* Bootstrap primary */
    opacity: 0.8;
}


/* ===== Table ===== */
.sub-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.table-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.table thead {
  background: #f1f5f9;
}

.table th {
  font-weight: 600;
  color: #374151;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .admin-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}
.navbar {
    border-radius: 12px;
}

.dropdown-toggle {
    border-radius: 20px;
}


