:root {
    --primary-color: #2c3e50;
    --accent-color: #27ae60;
    --bg-color: #f5f6fa;
    --card-bg: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-width: 850px;
    width: 100%;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 24px;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-style: italic;
}

/* ምግቦችና መጠጦች ጎን ለጎን እንዲሆኑ ማድረጊያ */
.sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .sections-container {
        grid-template-columns: 1fr;
    }
}

.menu-section {
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
    max-height: 500px;
    overflow-y: auto; /* ቁጥሩ ከበዛ ስክሮል እንዲያደርግ */
}

.section-title {
    font-weight: bold;
    color: #e67e22;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 10;
}

.menu-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.menu-item-row:hover {
    border-color: #b2bec3;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

.item-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.item-price {
    margin-left: auto;
    margin-right: 15px;
    color: #27ae60;
    font-size: 13px;
    font-weight: bold;
}

.qty-input {
    width: 70px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #2c3e50;
}

.qty-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

button#submitBtn {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button#submitBtn:hover {
    background-color: #219653;
}

.receipt {
    margin-top: 25px;
    padding: 20px;
    background-color: #fffde7;
    border-left: 5px solid #f1c40f;
    border-radius: 4px;
    display: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.receipt-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
    text-align: center;
    font-size: 16px;
}

.receipt-table {
    width: 100%;
    border-collapse: collapse;
}

.receipt-table th, .receipt-table td {
    padding: 10px 0;
    text-align: left;
    font-size: 14px;
}

.receipt-table th {
    border-bottom: 1px solid #ccc;
    color: #7f8c8d;
}

.grand-total-row {
    border-top: 2px dashed #333;
    padding-top: 12px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    color: #c0392b;
}