body {
    background: radial-gradient(circle at 60% 40%, #fffbe7 50%, #74ebd5 100%);
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    margin: 0;
}
.navbar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 0.7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo {
    font-weight: bold;
    font-size: 26px;
    color: #36a3b7;
    letter-spacing: 2px;
}
.navbar a {
    color: #36a3b7;
    text-decoration: none;
    font-weight: 500;
    margin-left: 22px;
    transition: color 0.2s;
}
.navbar a:hover {
    color: #e67e22;
}
.hero {
    background: linear-gradient(120deg,#fae3a2 55%, #74ebd5 100%);
    border-radius: 12px;
    margin: 40px auto 24px auto;
    max-width: 900px;
    padding: 48px 30px 38px 30px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    position: relative;
    text-align: center;
    overflow: hidden;
}
.hero img {
    position: absolute;
    right: 40px;
    bottom: 0;
    width: 180px;
    opacity: 0.12;
    z-index: 1;
}
.hero-title {
    font-size: 36px;
    color: #f39c12;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
    text-shadow: 1px 2px 3px #fff9d6;
}
.hero-desc {
    font-size: 20px;
    color: #2d3e50;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.hero-highlight {
    background: #e67e22;
    color: #fff;
    padding: 4px 13px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 19px;
    margin-left: 7px;
}
.menu-teaser {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 32px 0 24px 0;
}
.menu-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(51, 170, 179, 0.10);
    width: 230px;
    padding: 22px 15px 16px 15px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.menu-card:hover {
    transform: translateY(-7px) scale(1.05);
    box-shadow: 0 10px 28px rgba(230, 126, 34, 0.18);
}
.menu-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 13px;
    border: 3px solid #74ebd5;
}
.menu-card h4 {
    margin: 0 0 7px 0;
    color: #36a3b7;
    font-size: 18px;
}
.menu-card .teaser-desc {
    color: #666;
    font-size: 15px;
    margin-bottom: 9px;
}
.menu-card .harga {
    color: #e67e22;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
}
.menu-card button {
    background: linear-gradient(90deg, #74ebd5 0%, #36a3b7 100%);
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.menu-card button:hover {
    background: linear-gradient(90deg, #36a3b7 0%, #74ebd5 100%);
}
.dashboard-link {
    margin: 36px 0 18px 0;
    text-align: center;
}
.dashboard-link a {
    display: inline-block;
    background: linear-gradient(90deg, #e67e22 0%, #74ebd5 100%);
    color: #fff;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(230,126,34,0.10);
    transition: background 0.2s, transform .2s;
}
.dashboard-link a:hover {
    background: linear-gradient(90deg, #74ebd5 0%, #e67e22 100%);
    color: #fff;
    transform: scale(1.05);
}
.info-section {
    background: #f8fafd;
    border-radius: 9px;
    padding: 22px 18px 18px 18px;
    margin: 0 auto 35px auto;
    max-width: 700px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    text-align: left;
}
.info-section b {
    color: #36a3b7;
}
.info-section ul {
    padding-left: 18px;
    color: #555;
    font-size: 16px;
}
.contact-info {
    margin-top: 16px;
    border-top: 1px dashed #e0e0e0;
    padding-top: 9px;
    color: #555;
    font-size: 16px;
}
/* Pesanan Table */
.pesanan-section {
    max-width: 900px;
    margin: 36px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(51, 170, 179, 0.08);
    padding: 28px 20px 26px 20px;
    display: none;
}
.pesanan-section.active {
    display: block;
}
.pesanan-section h2 {
    color: #36a3b7;
    margin-top: 0;
}
.pesanan-list {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.pesanan-list th, .pesanan-list td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.pesanan-list th {
    background: #f5f5fa;
    color: #e67e22;
}
.pesanan-list td {
    color: #444;
}
.total-pesanan {
    text-align: right;
    font-size: 17px;
    font-weight: bold;
    color: #36a3b7;
    margin-bottom: 10px;
}
.btn-order {
    background: linear-gradient(90deg, #74ebd5 0%, #e67e22 100%);
    color: #fff;
    border: none;
    padding: 10px 32px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    float: right;
    transition: background 0.2s;
}
.btn-order:hover {
    background: linear-gradient(90deg, #e67e22 0%, #74ebd5 100%);
}
/* Pembayaran QRIS */
.qris-section {
    max-width: 430px;
    margin: 45px auto 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    padding: 35px 30px 35px 30px;
    text-align: center;
    display: none;
}
.qris-section.active {
    display: block;
}
.qris-section h1 {
    color: #36a3b7;
    margin-bottom: 18px;
}
.qris-section .desc {
    color: #444;
    font-size: 17px;
    margin-bottom: 30px;
}
.qris-box {
    background: #faf8fb;
    border: 2px dashed #74ebd5;
    border-radius: 12px;
    padding: 24px 15px 16px 15px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.qris-box img {
    width: 210px;
    height: 210px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #fff;
    object-fit: cover;
    border: 1px solid #ddd;
}
.qris-instruction {
    color: #888;
    font-size: 15px;
}
.success-message {
    display: none;
    margin-top: 22px;
    color: #27ae60;
    font-size: 17px;
    font-weight: bold;
}
.btn-konfirmasi {
    background: linear-gradient(90deg, #74ebd5 0%, #36a3b7 100%);
    color: #fff;
    border: none;
    padding: 10px 32px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}
.btn-konfirmasi:hover {
    background: linear-gradient(90deg, #36a3b7 0%, #74ebd5 100%);
}
/* Gaya Umum untuk Halaman Manajemen Meja */
.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 3rem;
    color: #36a3b7; /* Menggunakan warna logo Anda */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    color: #555; /* Warna teks yang lebih gelap */
}

/* Kontrol (Search & Filter) */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(51, 170, 179, 0.08);
}

.search-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #f9f9f9;
    font-size: 1rem;
    min-width: 200px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 20px;
    background: #e0e0e0;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(90deg, #74ebd5 0%, #36a3b7 100%); /* Warna gradien Anda */
    color: white;
    box-shadow: 0 4px 10px rgba(54, 163, 183, 0.3);
}

/* Statistik Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%); /* Warna gradien Anda */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid Meja */
.tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.table-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.table-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.table-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #74ebd5 0%, #36a3b7 100%); /* Warna gradien tersedia */
}

.table-card.occupied::before {
    background: linear-gradient(90deg, #e67e22 0%, #f39c12 100%); /* Warna gradien terisi */
}

.table-card.reserved::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%); /* Warna gradien reserved */
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.table-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #36a3b7;
}

.table-status {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white; /* Default text color for status */
}

.status-available {
    background: linear-gradient(135deg, #74ebd5 0%, #36a3b7 100%);
}

.status-occupied {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.status-reserved {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white; /* Ensure text is visible on lighter gradient */
}

.table-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-label {
    color: #666;
}

.info-value {
    font-weight: 600;
    color: #444;
}

.history-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-title {
    font-size: 1rem;
    font-weight: 600;
    color: #36a3b7;
}

.view-all-btn {
    background: linear-gradient(135deg, #36a3b7 0%, #74ebd5 100%);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 163, 183, 0.2);
}

.history-items {
    max-height: 200px;
    overflow-y: auto;
}

.history-item {
    padding: 0.8rem;
    background: #f8fafd; /* Warna latar belakang info section Anda */
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: #eef2f7;
}

.history-date {
    color: #666;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
}

.history-order {
    color: #444;
    font-weight: 500;
}

.history-total {
    color: #27ae60;
    font-weight: 600;
    float: right;
}

.no-history {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 1rem;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.action-btn {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white; /* Default text color for action buttons */
}

.btn-primary {
    background: linear-gradient(135deg, #74ebd5 0%, #36a3b7 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #36a3b7;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.detailed-history {
    max-height: 400px;
    overflow-y: auto;
}

.detailed-history-item {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: #f8fafd;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-id {
    font-weight: bold;
    color: #444;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
}

.order-items {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.order-item {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.2rem;
}

.order-total {
    text-align: right;
    font-weight: bold;
    color: #27ae60;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ddd;
}

/* Media Queries untuk Responsif */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    /* Navbar Anda sudah responsif, jadi tidak perlu perubahan di sini */
    
    .controls {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    
    .search-filter {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: center;
    }

    .tables-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }
    .filter-buttons {
        flex-direction: column;
    }
    .filter-btn {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .hero { padding: 32px 7px 25px 7px; }
    .menu-teaser { gap: 14px; }
    .menu-card { width: 98%; }
    .info-section { padding: 13px 6px 14px 6px; }
    .pesanan-section { padding: 13px 6px 14px 6px; }
    .qris-section { padding: 18px 7px; }
}