:root {
    --primary: #4a90e2;
    --secondary: #2c3e50;
    --accent: #27ae60;
    --bg: #f4f7f6;
}

.booking-system-section { font-family: 'Segoe UI', sans-serif; background: var(--bg); display: flex; justify-content: center; padding: 20px; }

.booking-container {
    background: white; width: 100%; max-width: 800px; padding: 30px;
    border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-section { display: none; animation: fadeIn 0.4s ease; }
.form-section.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

h2, h3 { color: var(--secondary); margin-bottom: 20px; text-align: center; }

.grid-2, .grid-3 { display: grid; gap: 15px; margin-bottom: 15px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.input-group { display: flex; flex-direction: column; margin-bottom: 15px; }
.input-group label { font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
input, select { padding: 12px; border: 1px solid #ddd; border-radius: 6px; outline: none; }

.counter-container { display: flex; gap: 30px; background: #f9f9f9; padding: 20px; border-radius: 8px; margin: 20px 0; }
.controls { display: flex; align-items: center; gap: 15px; }
.controls button { width: 35px; height: 35px; border-radius: 50%; border: none; background: var(--primary); color: white; cursor: pointer; }

.meal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }

.invoice-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.invoice-table th, .invoice-table td { border: 1px solid #eee; padding: 12px; text-align: left; }
.invoice-table th { background: #f8f9fa; }

.summary-card { background: var(--secondary); color: white; padding: 20px; border-radius: 8px; margin-top: 20px; }
.grand-total { font-size: 1.5rem; font-weight: bold; color: #ffce54; border-top: 1px solid #555; padding-top: 10px; }

.payment-layout { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 20px; border: 1px solid #ddd; padding: 20px; border-radius: 8px; }
.payment-left { flex: 1; text-align: center; border-right: 1px solid #eee; min-width: 200px; }
.payment-right { flex: 1; padding-left: 10px; min-width: 200px; }

.btn-next, .btn-checkout {
    width: 100%; padding: 15px; background: var(--primary); color: white; border: none;
    border-radius: 6px; font-size: 1.1rem; cursor: pointer; margin-top: 20px; transition: 0.3s;
}
.btn-next:hover { background: #357abd; }


.btn-back {
    padding: 15px 25px;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    margin-right: 10px; /* Space between Back and Proceed */
    transition: 0.3s;
}

.btn-back:hover {
    background: #d0d0d0;
}

/* Optional: To align buttons side-by-side */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.final-amount-banner {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.final-amount-banner strong {
    font-size: 1.5rem;
    color: #d9534f;
}

.success-banner {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.5;
}

.check-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
    font-style: normal;
}

.final-amount-banner {
    background: #f8f9fa;
    border: 2px dashed #4a90e2;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}