/* === Override Stisla Style === */

/* Import font Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fb;
  color: #333;
}

/* Navbar */
.navbar-bg {
  background: linear-gradient(90deg, #0f9b8e, #2ecc71) !important;
}
.navbar .navbar-nav .nav-link {
  color: #fff !important;
}
.navbar .navbar-nav .nav-link:hover {
  color: #eafff7 !important;
}

/* === Sidebar Softer Style === */

/* Sidebar background dominan putih */
.main-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e6ecec;
}

/* Sidebar link default */
.sidebar-menu li a {
  font-weight: 500;
  color: #555 !important;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

/* Hover: pakai hijau lembut */
.sidebar-menu li a:hover {
  background: #f2fbf9 !important;
  color: #0f9b8e !important;
}

/* Active menu: hijau lembut, bukan tajam */
.sidebar-menu li.active > a {
  background: linear-gradient(90deg, #0f9b8e15, #2ecc7115) !important; /* transparan lembut */
  color: #0f9b8e !important;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #0f9b8e; /* strip tipis di kiri */
}

/* Sidebar brand */
.sidebar-brand {
  font-weight: 700;
  color: #0f9b8e !important;
}

/* Icon di sidebar */
.sidebar-menu li a i {
  color: #999 !important;
  margin-right: 8px;
}
.sidebar-menu li.active a i {
  color: #0f9b8e !important;
}
/* Card */
.card {
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card-header {
  border-bottom: 1px solid #f0f0f0;
}
.card-header h4 {
  font-weight: 600;
  color: #0f9b8e;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(90deg, #0f9b8e, #2ecc71) !important;
  border: none;
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-success {
  background: #1abc9c !important;
  border: none;
}
.btn-success:hover {
  background: #16a085 !important;
}
.btn-dark {
  background: #2c3e50 !important;
  border: none;
}

/* Table */
.table thead th {
  background: #f4fdfc;
  color: #0f9b8e;
  font-weight: 600;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9fdfb;
}
.table-striped tbody tr:hover {
  background-color: #e8fdf7;
}

/* Form Controls */
.form-control:focus, .custom-select:focus {
  border-color: #0f9b8e !important;
  box-shadow: 0 0 0 0.2rem rgba(15,155,142,0.25);
}

/* Progress Bar */
.progress-bar {
  background: linear-gradient(90deg, #0f9b8e, #2ecc71);
}

/* Badge */
.badge-primary {
  background: #0f9b8e !important;
}
.badge-success {
  background: #2ecc71 !important;
}

/* Footer */
.main-footer {
  background: #ffffff;
  border-top: 1px solid #e0e6ed;
  color: #888;
}


/* === Card Primary dengan aksen hijau di atas === */
.card.card-primary {
  border: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

/* Garis hijau di bagian atas card */
.card.card-primary::before {
  content: "";
  display: block;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #0f9b8e, #2ecc71);
  position: absolute;
  top: 0;
  left: 0;
}

/* Header */
.card.card-primary .card-header {
  background: transparent;
  border-bottom: 1px solid #f0f0f0;
  color: #0f9b8e;
  font-weight: 600;
}

/* Body */
.card.card-primary .card-body {
  color: #333;
}

/* Footer */
.card.card-primary .card-footer {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  color: #555;
}

/* === Override warna activity-icon primary menjadi teal green === */
.activity-icon.bg-primary {
  background: #0f9b8e !important; /* teal green solid */
  color: #fff !important;
}

.activity-icon.bg-primary.shadow-primary {
  box-shadow: 0 0 10px rgba(15, 155, 142, 0.4) !important; /* hijau glow lembut */
}

