﻿/* v11.8.201 — event menus: the food and drinks part of the event booking page and the family's ticket page
   (wwwroot/js/event-menu.js), mobile first; and the Food orders report's print layout. */
.em-section { margin-bottom: 1.25rem; }
.em-h { color: var(--aufc-navy); font-size: 1rem; margin: 0 0 0.6rem; }
.em-h .bi { color: var(--aufc-gold); }
.em-note { font-size: 0.85rem; color: var(--aufc-grey-500); margin: 0 0 0.5rem; }
.em-small { font-size: 0.75rem; color: var(--aufc-grey-400); margin: 0.4rem 0 0; }

.em-slot { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 0.45rem 0; border-bottom: 1px solid var(--aufc-grey-100); }
.em-slot-label { font-weight: 600; color: var(--aufc-navy); font-size: 0.88rem; flex: 1 1 8rem; }
.em-slot-select { flex: 1 1 12rem; max-width: 100%; }
.em-slot-text { font-size: 0.82rem; color: var(--aufc-grey-500); flex: 1 1 8rem; }

.em-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--aufc-grey-100); }
.em-item-text { flex: 1; min-width: 0; }
.em-item-name { font-weight: 700; color: var(--aufc-navy); }
.em-item-price { font-weight: 600; color: var(--aufc-gold-dark); margin-left: 0.3rem; }
.em-item-desc { font-size: 0.8rem; color: var(--aufc-grey-500); margin-top: 0.15rem; }
.em-item-left { font-size: 0.75rem; color: #e65100; font-weight: 700; margin-top: 0.15rem; }
.em-add { white-space: nowrap; }

.em-basket { background: var(--aufc-grey-50, #f8f9fa); border-radius: var(--radius-md); padding: 0.75rem 0.9rem; }
.em-line { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--aufc-grey-100); }
.em-line:last-child { border-bottom: 0; }
.em-line-text { font-size: 0.9rem; color: var(--aufc-navy); min-width: 0; }
.em-line-choices { font-size: 0.8rem; color: var(--aufc-grey-500); }
.em-line-price { font-weight: 700; color: var(--aufc-navy); text-align: right; }
.em-line-session { grid-column: 1 / -1; }
.em-line-actions { grid-column: 1 / -1; display: flex; gap: 0.4rem; }
.em-remove { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

.em-totals { border-top: 2px solid var(--aufc-grey-100); padding-top: 0.75rem; margin-top: 0.5rem; }
.em-total-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 0.15rem 0; color: var(--aufc-navy); }
.em-total-strong { font-weight: 800; font-size: 1.05rem; }
.em-error { background: #ffebee; border: 1px solid #ef9a9a; color: #c62828; border-radius: var(--radius-md); padding: 0.6rem 0.9rem; margin-top: 0.75rem; font-weight: 600; }

.em-modal .modal-title { color: var(--aufc-navy); font-weight: 700; }
.em-desc { font-size: 0.85rem; color: var(--aufc-grey-500); }
.em-base { font-weight: 600; color: var(--aufc-navy); }
.em-group { border: 1px solid var(--aufc-grey-100); border-radius: var(--radius-md); padding: 0.6rem 0.8rem; margin-bottom: 0.75rem; }
.em-group legend { float: none; width: auto; font-size: 0.92rem; font-weight: 700; color: var(--aufc-navy); padding: 0 0.3rem; margin: 0; }
.em-group-rule { font-weight: 400; font-size: 0.78rem; color: var(--aufc-grey-500); }
.em-choice { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; font-size: 0.95rem; cursor: pointer; }
.em-choice input { width: 1.2rem; height: 1.2rem; }
.em-choice-price { margin-left: auto; font-size: 0.8rem; color: var(--aufc-grey-500); }
.em-live { flex: 1; display: flex; flex-direction: column; }
.em-live-price { font-weight: 800; font-size: 1.15rem; color: var(--aufc-navy); }
.em-live-problem { font-size: 0.78rem; color: #c62828; }

/* Food on the ticket page / confirmation */
.em-food-list { list-style: none; padding: 0; margin: 0; }
.em-food-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--aufc-grey-100); font-size: 0.9rem; }
.em-food-list li:last-child { border-bottom: 0; }
.em-food-sub { display: block; font-size: 0.8rem; color: var(--aufc-grey-500); }

/* The Food orders report prints cleanly from the browser */
.ef-report { margin-bottom: 2rem; }
.ef-count { display: inline-block; min-width: 2.5rem; text-align: right; font-weight: 800; color: var(--aufc-gold-dark); margin-right: 0.6rem; }
.ef-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ef-table th { text-align: left; padding: 0.45rem; border-bottom: 2px solid var(--aufc-grey-100); color: var(--aufc-navy); }
.ef-table td { padding: 0.45rem; border-bottom: 1px solid var(--aufc-grey-100); vertical-align: top; }
@media print {
    header, nav, footer, .aufc-header, .aufc-nav, .aufc-breadcrumb, .no-print, .ef-filter { display: none !important; }
    body { background: #fff !important; }
    .aufc-page { padding: 0 !important; }
    .aufc-card { box-shadow: none !important; border: 1px solid #ccc !important; break-inside: avoid; }
    .ef-report { break-after: page; }
    .ef-report:last-child { break-after: auto; }
    .ef-table tr { break-inside: avoid; }
    a[href]:after { content: none !important; }
}
