﻿/* ===== CHALKBOARD MODAL ===== */
.chalkboard-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
    box-sizing: border-box;
}

.chalkboard-panel {
    background-color: #111;
    background-image: url('/images/menu-background.png');
    border: 6px solid #6b4f2b;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 700px;
    max-height: 90vh; /* modal grows until this height */
    min-height: 300px; /* starts reasonably small */
    color: #f5f5f5;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto; /* scrollbars appear if content exceeds max-height */
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-logo {
    width: 60px;
    height: 60px;
}

.modal-header h2 {
    font-family: 'Amatic SC', cursive;
    font-size: 3.2rem; /* slightly larger */
    margin: 0;
    color: var(--primary-green);
    text-shadow: 0 0 5px rgba(160,255,110,0.4);
}

.modal-content {
    overflow-y: auto;
    margin-bottom: 1rem;
}

.order-item {
    font-family: 'Amatic SC', cursive;
    font-size: 1.7rem;
    margin-bottom: 0.6rem;
}

.order-addon,
.order-custom {
    font-family: 'Amatic SC', cursive;
    font-size: 1.5rem;
    margin-left: 1rem;
}

.order-totals {
    font-family: 'Amatic SC', cursive;
    font-size: 2rem;
    margin-top: 1rem;
}

    .order-totals div {
        display: flex;
        justify-content: space-between;
        margin: 0.35rem 0;
    }

.order-total {
    font-family: 'Amatic SC', cursive;
    font-weight: bold;
    font-size: 2.2rem;
    color: var(--accent-yellow);
}

/* ===== MODAL FOOTER BUTTONS ===== */
.modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.primary-btn {
    background-color: var(--primary-green);
    color: #111;
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 6px;
    font-size: 1.9rem;
    font-family: 'Amatic SC', cursive;
    cursor: pointer;
    transition: all 0.2s;
}

    .primary-btn:hover {
        filter: brightness(1.2);
    }

.secondary-btn {
    background-color: var(--accent-yellow);
    color: #111;
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 6px;
    font-size: 1.9rem;
    font-family: 'Amatic SC', cursive;
    cursor: pointer;
    transition: all 0.2s;
}

    .secondary-btn:hover {
        filter: brightness(1.2);
    }

/* ===== FLOATING REVIEW ORDER BUTTON ===== */
.review-order-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.review-order-btn {
    background-color: var(--primary-green);
    color: #111;
    padding: 1.05rem 2.1rem;
    font-size: 1.9rem;
    font-family: 'Amatic SC', cursive;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.2s;
}

    .review-order-btn:hover {
        filter: brightness(1.2);
    }
