/* ==========================================
   FONT LOKAL POPPINS
   ========================================== */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================
   GLOBAL STYLE
   ========================================== */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #212529;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #222;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #0056b3;
  text-decoration: none; /* tidak bergaris bawah */
}

/* ==========================================
   CARD STYLING
   ========================================== */
.card {
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card-header {
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: none;
}

.card-body {
  background-color: #fff;
  color: #333;
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
}

.card-text {
  font-size: 0.9rem;
  color: #6c757d;
}

/* ==========================================
   BUTTON
   ========================================== */
.btn {
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  color: #fff;
}
.btn-primary:hover {
  background-color: #0069d9;
  color: #fff;
}

.btn-secondary {
  background-color: #6c757d;
  border: none;
  color: #fff;
}
.btn-secondary:hover {
  background-color: #5a6268;
  color: #fff;
}

.btn-outline-danger {
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-outline-danger:hover {
  background-color: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

/* ==========================================
   FORM
   ========================================== */
.form-control {
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  border: 1px solid #ced4da;
  color: #333;
}

label {
  font-weight: 500;
  color: #333;
}

/* ==========================================
   TABLE (ZEBRA STRIPING)
   ========================================== */
.table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 0.95rem;
  color: #333;
}

.table thead th {
  background-color: #e9ecef;
  color: #333;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}

.table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}
.table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.table tbody tr:hover {
  background-color: #e3f2fd;
  transition: background-color 0.25s ease;
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.navbar {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

.navbar a:hover {
  color: #007bff;
  text-decoration: none;
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-muted {
  color: #6c757d !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* ==========================================
   TABLE ZEBRA STYLE
   ========================================== */
.table tbody tr:nth-child(even) {
  background-color: #f8f9fa; /* abu lembut */
}

.table tbody tr:nth-child(odd) {
  background-color: #ffffff; /* putih */
}

/* Efek hover tetap aktif */
.table-hover tbody tr:hover {
  background-color: #e9ecef; /* abu sedikit lebih gelap saat dihover */
  transition: background-color 0.2s ease-in-out;
}

