* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f6f9;
}

/* .menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
} */

/* Mobile */
/* @media(max-width: 900px) {

    .navbar {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .navbar ul {
        width: 100%;
        flex-direction: column;
        display: none;
        margin-top: 10px;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar ul li {
        padding: 10px 0;
        border-top: 1px solid #374151;
    }
} */


/* ================= NAVBAR ================= */
/* .navbar {
    background: #1f2937;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.navbar .logo {
    font-weight: bold;
    font-size: 18px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar ul li {
    cursor: pointer;
    transition: 0.3s;
}

.navbar ul li:hover {
    color: #00c3ff;
} */
/* .nav .navbar-nav ul li a {
    color: #fff;
} */

/* .nav ul li:active {
    color: #00c3ff;
} */

/* .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #00c3ff;
} */
.navbar-default .navbar-brand {
    color: #fff;
}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
    color: #f59e0b;
    background-color: transparent;
}

.navbar-default .navbar-nav>li>a {
    color: #fff;
}


.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover {
    color: #f59e0b;
    background-color: transparent;
}

/* ================= HEADER ================= */
.header {
    text-align: center;
    /* padding: 25px; */
}

.header h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

/* ================= FILTER ================= */
.filter-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

/* select {
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
} */

/* ================= CARD GRID ================= */
.dashboard {
    width: 95%;
    margin: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

.card-row {
    display: flex;
    justify-content: space-between;
}

.stat-box {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    width: 32%;
}

.stat-box h4 {
    font-size: 12px;
    color: #777;
    /* color: #fff; */
}

.stat-box p {
    font-size: 18px;
    font-weight: bold;
    /* color: #fff; */
}

.progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #ef4444;
}

/* ================= TABLE ================= */
.table-section {
    margin-bottom: 30px;
}

.table-section h3 {
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

thead {
    background: #111827;
    color: white;
}

th, td {
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

tbody tr:nth-child(even) {
    background: #f9fafb;
}

/* Warna pencapaian */
.bad { background: #ef4444; color: white; }
.medium { background: #f59e0b; color: white; }
.good { background: #22c55e; color: white; }

/* Responsive */
@media(max-width: 900px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    /* .navbar ul {
        display: none;
    } */
}


.box {
  background: #f4f4f4;
  border: 1px solid #ddd;
  position: relative;
}

/* Garis pemisah otomatis di desktop */
@media (min-width: 992px) {
  .box:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: #ccc;
  }
}
