/* RESET */
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f9;
}

/* CONTAINER */
.container {
    padding: 15px;
}

/* CARD */
.card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* INPUT */
input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #ff7a45;
    color: white;
    border-radius: 6px;
    font-weight: bold;
}

/* TOTAL BOX */
.total-box {
    background: #1e3a5f;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 18px;
}

/* TABLE (MOBILE → SCROLL) */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* biar bisa scroll di HP */
}

th {
    background: #1e3a5f;
    color: white;
    padding: 10px;
}

td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
#result_produk div:hover {
    background: #f1f1f1;
}
/* ========================= */
/* 💻 DESKTOP (>= 768px) */
/* ========================= */
@media (min-width: 768px) {

    .container {
        max-width: 900px;
        margin: auto;
    }

    /* FORM 2 KOLOM */
    .row {
        display: flex;
        gap: 10px;
    }

    .col {
        flex: 1;
    }

    button {
        width: auto;
    }
}
/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
}

.nav-item {
    text-align: center;
    color: #555;
    text-decoration: none;
    font-size: 12px;
}

.nav-item span {
    display: block;
    font-size: 20px;
}

.nav-item.active {
    color: #ff7a45;
    font-weight: bold;
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card h2 {
    margin-top: 10px;
    font-size: 18px;
}
.filter {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filter a {
    padding: 6px 12px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
}

.filter a.active {
    background: #007bff;
    color: #fff;
}