/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --dark-color: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --light-color: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 70px;
    padding-bottom: 0;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* ===== HEADER STYLES ===== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--white);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    height: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    gap: 20px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(96, 165, 250, 0.3);
    transition: all 0.3s;
}

.brand:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-desktop a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.nav-desktop a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-desktop a:active {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger Button - VISIBLE & STYLED */
.hamburger {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    gap: 6px;
    padding: 10px 12px;
    margin-left: auto;
    margin-right: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.hamburger:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.6);
    transform: scale(1.05);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger span {
    width: 26px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}
.nav-mobile {
    display: flex;
    position: fixed;
    top: 70px;
    right: 0;
    width: 280px;
    max-width: 100%;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(51, 65, 85, 0.98) 100%);
    max-height: 70vh;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    backdrop-filter: blur(10px);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
}

.nav-mobile.open {
    transform: translateX(0) !important;
}

.nav-mobile a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-mobile a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    padding-left: 28px;
}

/* Mobile Bottom Tab Navigation */
.nav-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 998;
    height: 70px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.nav-bottom::-webkit-scrollbar {
    display: none;
}

.nav-bottom a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    min-flex-basis: 60px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    padding: 2px 3px;
    min-width: 60px;
}

.nav-bottom .nav-icon {
    font-size: 1.3rem;
    margin-bottom: 3px;
    flex-shrink: 0;
}

.nav-bottom .nav-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.1;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
    display: block;
}

.nav-bottom a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.nav-bottom a:hover .nav-label {
    color: var(--white);
}

.nav-bottom a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transition: height 0.3s ease;
}

.nav-bottom a:hover::after {
    height: 3px;
}

/* Main Content Area */
.app-main {
    padding-top: 0;
    padding-bottom: 0;
}

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

/* DESKTOP: 769px and up */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-desktop {
        display: flex !important;
    }
    
    .nav-mobile {
        display: none !important;
    }
    
    .nav-bottom {
        display: none !important;
    }
}

/* MOBILE/TABLET: 768px and down */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    
    .app-header {
        height: 60px;
    }
    
    .header-wrapper {
        padding: 0 12px;
    }
    
    .brand {
        font-size: 1rem;
    }
    
    .app-main {
        padding-bottom: 70px;
    }
    
    .hamburger {
        display: flex !important;
        padding: 8px 10px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
    
    .nav-desktop {
        display: none !important;
    }
    
    .nav-mobile {
        display: flex !important;
        top: 60px;
    }
    
    .nav-bottom {
        display: flex !important;
        height: 60px;
    }
    
    .container {
        padding: 10px;
    }
    
    /* COMPACT PAGE HEADER */
    .page-header {
        margin-bottom: 0.6rem;
        padding-bottom: 0.3rem;
    }
    
    .page-header h1 {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }
    
    .page-header p {
        font-size: 0.7rem;
    }
    
    /* COMPACT VOUCHER GRID - 3 COLUMNS PER ROW */
    .voucher-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
        margin-bottom: 0.4rem;
    }
    
    .voucher-card {
        border-radius: 3px;
    }
    
    .voucher-header {
        padding: 0.25rem 0.3rem;
    }
    
    .voucher-header h3 {
        font-size: 0.55rem;
        margin-bottom: 0.08rem;
        line-height: 1.1;
        font-weight: 600;
    }
    
    .voucher-header::after {
        display: none;
    }
    
    .voucher-duration {
        font-size: 0.5rem;
        padding: 0.06rem 0.15rem;
    }
    
    .voucher-body {
        padding: 0.25rem 0.3rem;
    }
    
    .voucher-price {
        font-size: 0.7rem;
        margin-bottom: 0.12rem;
        font-weight: 700;
    }
    
    .voucher-desc {
        font-size: 0.55rem;
        margin-bottom: 0.12rem;
        line-height: 1.1;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .voucher-stock {
        font-size: 0.5rem;
    }
    
    .voucher-footer {
        padding: 0.2rem 0.25rem;
        gap: 0.15rem;
    }
    
    .qty-btn {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        border-radius: 2px;
        padding: 0;
    }
    
    .qty-input {
        width: 28px;
        padding: 0.12rem 0.15rem;
        font-size: 0.6rem;
    }
    
    /* BUTTONS COMPACT */
    .btn {
        padding: 0.2rem 0.35rem;
        font-size: 0.6rem;
    }
    
    .btn-sm {
        padding: 0.18rem 0.25rem;
        font-size: 0.55rem;
    }
    
    /* PAGE HEADER */
    .page-header {
        margin-bottom: 0.4rem;
        padding-bottom: 0.2rem;
    }
    
    .page-header h1 {
        font-size: 0.95rem;
        margin-bottom: 0.05rem;
    }
    
    .page-header p {
        font-size: 0.65rem;
    }
    
    /* CART SUMMARY - STICKY AT BOTTOM */
    .cart-summary {
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 2px solid var(--primary-color);
        box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
        z-index: 997;
        max-height: 25vh;
        overflow-y: auto;
    }
    
    .cart-summary h3 {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
        margin: 0;
        background: var(--primary-color);
        color: var(--white);
        position: sticky;
        top: 0;
        z-index: 1;
    }
    
    .cart-summary #cart-items {
        padding: 0.3rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .cart-total {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
        background: var(--light-color);
        border-top: 1px solid var(--border-color);
        position: sticky;
        bottom: 0;
    }
    
    .cart-summary .btn {
        margin: 0.3rem 0.4rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Page Header */
.page-header {
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: var(--white);
    padding: 0.8rem;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stat-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 0.7rem;
    margin: 0.1rem 0 0 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #475569;
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background-color: #15803d;
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-warning {
    background-color: var(--warning-color);
    color: var(--white);
}

.btn-info {
    background-color: var(--info-color);
    color: var(--white);
}

.btn-sm {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Tables */
.table-responsive {
    overflow-x: visible;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table {
    width: 100%;
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    border-collapse: collapse;
}

.table thead {
    background-color: var(--dark-color);
    color: var(--white);
}

.table th,
.table td {
    padding: 0.6rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 600;
    white-space: nowrap;
}

.table tbody tr:hover {
    background-color: var(--light-color);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile-friendly table adjustments */
@media (max-width: 768px) {
    .table {
        font-size: 0.75rem;
    }
    
    .table th,
    .table td {
        padding: 0.4rem 0.3rem;
    }
    
    .table th {
        font-size: 0.7rem;
        white-space: normal;
        word-break: break-word;
    }
    
    .table td {
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100px;
    }
    
    /* Hide less important columns on very small screens */
    .table thead th:nth-child(n+5),
    .table tbody td:nth-child(n+5) {
        display: none;
    }
    
    /* Ensure action buttons stay visible */
    .table thead th:last-child,
    .table tbody td:last-child {
        display: table-cell !important;
        width: auto;
        min-width: 60px;
    }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
}

.badge-primary { background-color: var(--primary-color); color: var(--white); }
.badge-secondary { background-color: var(--secondary-color); color: var(--white); }
.badge-success { background-color: var(--success-color); color: var(--white); }
.badge-danger { background-color: var(--danger-color); color: var(--white); }
.badge-warning { background-color: var(--warning-color); color: var(--white); }
.badge-info { background-color: var(--info-color); color: var(--white); }

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #dcfce7;
    border-color: var(--success-color);
    color: #166534;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: var(--danger-color);
    color: #991b1b;
}

.alert-warning {
    background-color: #fed7aa;
    border-color: var(--warning-color);
    color: #9a3412;
}

.alert-info {
    background-color: #cffafe;
    border-color: var(--info-color);
    color: #155e75;
}

/* Voucher Grid */
.voucher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.voucher-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.voucher-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.voucher-header {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: var(--white);
    padding: 1rem;
}

.voucher-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.voucher-duration {
    font-size: 0.75rem;
    opacity: 0.85;
}

.voucher-body {
    padding: 0.8rem;
}

.voucher-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.voucher-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.voucher-stock {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.voucher-footer {
    padding: 0.8rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 3px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.qty-input {
    width: 50px;
    text-align: center;
    padding: 0.3rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    margin-bottom: 1rem;
}

.cart-list {
    list-style: none;
    margin-bottom: 1rem;
}

.cart-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-total {
    padding: 1rem 0;
    font-size: 1.25rem;
    border-top: 2px solid var(--border-color);
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.login-form {
    margin-bottom: 1rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Modal */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-state p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Section */
.section {
    background: var(--white);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section h2 {
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.2rem;
}

/* Info Table */
.info-table {
    width: 100%;
}

.info-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-table td:first-child {
    font-weight: 500;
    width: 40%;
}

/* Checkout Container */
.checkout-container {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.checkout-items,
.checkout-form,
.order-info-card,
.order-items-card,
.payment-info-card,
.delivery-info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Report Section */
.report-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.report-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.date-filter-form {
    margin-bottom: 2rem;
}

/* Settings Section */
.settings-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.settings-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Responsive adjustments for tablet and below */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .voucher-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-header h1 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .page-header p {
        font-size: 0.8rem;
    }
    
    .section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
        gap: 0.5rem;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .stat-info h3 {
        font-size: 1.3rem;
    }
    
    .stat-info p {
        font-size: 0.75rem;
    }
    
    .page-header {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .page-header h1 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .page-header p {
        font-size: 0.7rem;
    }
    
    .voucher-grid {
        grid-template-columns: 1fr;
    }
    
    .voucher-header {
        padding: 1rem;
    }
    
    .voucher-header h3 {
        font-size: 1rem;
    }
    
    .voucher-body {
        padding: 0.8rem;
    }
    
    .voucher-price {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section h2 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .form-control {
        padding: 0.4rem;
        font-size: 0.9rem;
    }
}
