/* =====================
   Global Styles
===================== */
body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background-color: #f4f6f9;
  margin: 0;
  padding: 0;
}

/* =====================
   Header
===================== */
header {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #fff;
  padding: 12px 20px;
}
header.bg-warning h5 {
  color: #fff !important;
}

/* =====================
   Sidebar
===================== */
.sidebar {
  min-height: 100vh;
  background-color: #198754;
}
.sidebar .nav-link {
  color: #fff;
  transition: background 0.3s ease;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* =====================
   Login Box
===================== */
.login-bx,
.logo-admin-login {
  width: 230px;
  margin: 0 auto 25px;
}
.login-bx .btn-success {
  background: #1A5974;
}
.logo-admin-login {
  display: block;
}

/* =====================
   Backgrounds
===================== */
.bg-solid {
  background: url(images/dsa-h-bg.jpg) no-repeat;
  background-size: cover;
}
.bg-warning {
  background-color: #282F3B !important;
}
.white-text {
  color: #fff;
}

/* =====================
   Info Box
===================== */
.info-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #2563eb !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.info-box i {
  font-size: 32px;
  margin-right: 15px;
}
.info-box i.text-warning {
  color: #078586 !important;
}

/* Circle Icon Variants */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.5rem;
}
.bg-blue   { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.bg-green  { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.bg-red    { background: linear-gradient(135deg, #ff0844, #ffb199); }
.bg-orange { background: linear-gradient(135deg, #f7971e, #ffd200); }
.bg-purple { background: linear-gradient(135deg, #9d50bb, #6e48aa); }
.bg-teal   { background: linear-gradient(135deg, #1fc8db, #2cb5e8); }
.bg-pink   { background: linear-gradient(135deg, #ff758c, #ff7eb3); }
.bg-yellow { background: linear-gradient(135deg, #fceabb, #f8b500); }

/* =====================
   Tables
===================== */
.table {
  border-radius: 8px;
  overflow: hidden;
}
.table th {
  background: #000;
  color: #fff;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f7fafc;
}

/* =====================
   Buttons
===================== */
.btn-success,
.modal-header {
  background: #2563eb !important;
  border: none;
}
.btn-success:hover {
  background: #146c43;
}
.btn-primary {
  background: #0d6efd;
  border: none;
}
.btn-primary:hover {
  background: #0b5ed7;
}
.btn-warning {
  background: #078586 !important;
  border-color: #078586 !important;
  color: #fff !important;
}
.btn-danger {
  background: #dc3545;
  border: none;
}
.btn-danger:hover {
  background: #bb2d3b;
}
.btn-sm {
  border-radius: 50px;
  margin-right: 4px;
}

/* =====================
   Forms / Modal
===================== */
.modal-content {
  border-radius: 10px;
}
.modal-header {
  color: #fff;
  border-bottom: 2px solid #146c43;
}
.modal-title {
  font-weight: 600;
  letter-spacing: 1px;
}
.modal-footer {
  border-top: none;
}
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 2px #19875444;
  border-color: #198754;
}

/* =====================
   Footer
===================== */
.footer {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}
.footer a {
  color: #0d6efd;
}
.footer a:hover {
  text-decoration: underline;
}