.stat-card {
  border-radius: 24px;
  padding: 28px;
  min-height: 190px;
  position: relative;
  overflow: hidden;
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-top {
  margin-bottom: 25px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.stat-icon i {
  font-size: 28px;
}

.stat-title {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

/* =========================
                                                    WARNA
                                                ========================== */

.bg-primary-custom {
  background: linear-gradient(135deg, #4e73df, #224abe);
}

.bg-pink-custom {
  background: linear-gradient(135deg, #ff4b91, #ff2e63);
}

.bg-success-custom {
  background: linear-gradient(135deg, #1cc88a, #17a673);
}

.bg-warning-custom {
  background: linear-gradient(135deg, #f6c23e, #e0a800);
}

.bg-info-custom {
  background: linear-gradient(135deg, #36b9cc, #258391);
}

.bg-danger-custom {
  background: linear-gradient(135deg, #e74a3b, #be2617);
}

/* =========================
                                                    CARD PENDIDIKAN
                                                ========================== */

.education-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.education-card {
  background: white;
  border-radius: 22px;
  padding: 25px 20px;
  text-align: center;
  border: 1px solid #f1f1f1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
}

.education-title {
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 12px;
  line-height: 1.5;
}

.education-value {
  font-size: 34px;
  font-weight: 700;
  color: #212529;
  line-height: 1;
}

/* =========================
                                                    RESPONSIVE
                                                ========================== */

@media (max-width: 768px) {
  .stat-card {
    min-height: auto;
    padding: 24px;
  }

  .stat-value {
    font-size: 34px;
  }

  .education-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .education-wrapper {
    grid-template-columns: 1fr;
  }

  .stat-title {
    font-size: 14px;
  }

  .stat-value {
    font-size: 30px;
  }
}

.chart-card {
  background: white;
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.chart-title {
  font-size: 18px;
  font-weight: 700;
  color: #212529;
}

.summary-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: 0.3s;
}

.summary-card:hover {
  transform: translateY(-5px);
}

.summary-label {
  color: #6c757d;
  font-size: 15px;
  margin-bottom: 12px;
}

.summary-value {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.text-primary-custom {
  color: #4e73df;
}

.text-success-custom {
  color: #1cc88a;
}

.text-info-custom {
  color: #36b9cc;
}

.text-warning-custom {
  color: #f6c23e;
}

.text-danger-custom {
  color: #e74a3b;
}

.text-pink-custom {
  color: #ff4b91;
}

/* =========================
        CHART
    ========================== */

.chart-card {
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* =========================
        TABLE CARD
    ========================== */

.table-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.table-header {
  margin-bottom: 25px;
}

.table-header h4 {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
}

.table-header p {
  color: #6c757d;
  font-size: 15px;
}

/* =========================
        TABLE
    ========================== */

.custom-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1000px;
}

.custom-table thead th {
  background: #f8f9fa;
  color: #495057;
  font-size: 14px;
  font-weight: 700;
  padding: 16px;
  border: none;
  white-space: nowrap;
}

.custom-table tbody td {
  padding: 16px;
  border-top: 1px solid #f1f1f1;
  vertical-align: middle;
  font-size: 14px;
  color: #495057;
}

.custom-table tbody tr {
  transition: 0.2s;
}

.custom-table tbody tr:hover {
  background: #f8fbff;
}

/* =========================
        BADGE
    ========================== */

.bg-pink {
  background: #ff4b91 !important;
  color: white;
}

.badge {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 12px;
}

.custom-scroll-table {
  overflow-x: auto;
  white-space: nowrap;
}

.custom-scroll-table table {
  min-width: 1200px;
}

.custom-scroll-table th,
.custom-scroll-table td {
  vertical-align: middle;
  white-space: nowrap;
}
