body {
    background: #f4f6f9;
    font-family: "Poppins", sans-serif;
}

/* ===== PAGE CONTAINER ===== */
.voucher-container {
    padding: 20px;
}

/* ===== CARDS ===== */
.voucher-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 15px;
}

/* ===== TABLE ===== */
.voucher-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.voucher-table th {
    background: #1f2937;
    color: white;
    padding: 12px;
    text-align: left;
}

.voucher-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* ===== BUTTONS ===== */
.btn-voucher {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.btn-add {
    background: #16a34a;
    color: white;
}

.btn-delete {
    background: #dc2626;
    color: white;
}

.btn-toggle {
    background: #2563eb;
    color: white;
}

/* ===== STATUS BADGES ===== */
.status-active {
    background: #dcfce7;
    color: #166534;
    padding: 4px 8px;
    border-radius: 6px;
}

.status-disabled {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 8px;
    border-radius: 6px;
}

/* ===== MODAL ===== */
.voucher-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.voucher-modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
}

.export-buttons a {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: white;
}

.export-csv { background: #16a34a; }
.export-excel { background: #2563eb; }
.export-pdf { background: #dc2626; }

.status-select {
    min-width: 150px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.status-select:focus {
    box-shadow: 0 0 8px rgba(13,110,253,.25);
}

.voucher-dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:20px;
}

.dashboard-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.stat-card{
    background:white;
    padding:20px;
    border-radius:16px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.stat-card h3{
    font-size:28px;
    font-weight:700;
    margin-bottom:5px;
}

.orders-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
}

@media(max-width:768px){

    .voucher-dashboard-header,
    .orders-header{
        flex-direction:column;
        align-items:stretch;
    }

    .dashboard-actions{
        width:100%;
    }

    .dashboard-actions .btn{
        width:100%;
    }

}