* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8eef7 0%, #f0e6f6 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #5b7cba 0%, #6b5b95 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.search-container {
    padding: 20px 20px 10px 20px;
    display: flex;
    justify-content: center;
}

.search-box {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: 2px solid #d0d8e8;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fafbfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: #5b7cba;
    box-shadow: 0 0 8px rgba(91, 124, 186, 0.2);
}

.search-box::placeholder {
    color: #999;
}

.table-wrapper {
    overflow-x: auto;
    padding: 20px;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.responsive-table thead {
    background: #f8f9fa;
}

.responsive-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #5b7cba;
}

.responsive-table td {
    padding: 15px;
    border-bottom: 1px solid #e8eef5;
    color: #4a5568;
}

.responsive-table tbody tr {
    transition: background-color 0.3s ease;
}

.responsive-table tbody tr:hover {
    background-color: #f5f7fb;
}

.responsive-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.responsive-table tbody tr:nth-child(even):hover {
    background-color: #f0f4f9;
}

.responsive-table td:nth-child(1) {
    font-weight: 600;
    color: #5b7cba;
    width: 60px;
}

.responsive-table td:nth-child(3) {
    text-align: right;
    font-weight: 500;
    color: #6b5b95;
}

.info-box {
    background: #f5f7fb;
    padding: 20px;
    text-align: right;
    border-top: 1px solid #e8eef5;
    color: #5a6c7d;
    font-size: 14px;
}

#totalItems {
    font-weight: 600;
    color: #5b7cba;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 22px;
    }

    .responsive-table {
        font-size: 12px;
    }

    .responsive-table th,
    .responsive-table td {
        padding: 10px;
    }

    header {
        padding: 20px 15px;
    }

    .table-wrapper {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header {
        padding: 15px 10px;
    }

    header h1 {
        font-size: 18px;
    }

    .subtitle {
        font-size: 12px;
    }

    .responsive-table {
        font-size: 11px;
    }

    .responsive-table th,
    .responsive-table td {
        padding: 8px 5px;
    }

    .table-wrapper {
        padding: 10px;
    }

    .info-box {
        padding: 15px 10px;
        font-size: 12px;
    }
}

/* Format Rupiah */
.price {
    display: inline-block;
    font-family: 'Courier New', monospace;
}
