/* Sofrah Order Board: staff board layout. Works from a 360 px phone upwards. */
.sob-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 8px 0; }
.sob-alert { background: #b32d2e; color: #fff; font-weight: 600; padding: 8px 12px; border-radius: 4px; animation: sob-pulse 1.2s ease-in-out infinite; }
/* The pulse is a ring around the alert, so the text keeps its full contrast. */
@media (prefers-reduced-motion: reduce) { .sob-alert { animation: none; } }
@keyframes sob-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(179, 45, 46, 0.55); } 50% { box-shadow: 0 0 0 6px rgba(179, 45, 46, 0); } }
.sob-conn { color: #50575e; }
.sob-ordering { font-weight: 600; }
.sob-ordering.is-open { color: #006b1f; }
.sob-ordering.is-closed { color: #7a4f00; }
.sob-conn--lost { color: #b32d2e; font-weight: 600; }
.sob-note { margin: 0 0 12px; color: #50575e; }
.sob-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 960px) { .sob-columns { grid-template-columns: 1fr; } }
.sob-col h2 { font-size: 15px; margin: 0 0 8px; }
.sob-col--awaiting h2 { color: #b32d2e; }
.sob-empty { color: #50575e; font-style: italic; }
.sob-card { background: #fff; border: 1px solid #c3c4c7; border-left: 4px solid #2271b1; border-radius: 4px; padding: 10px 12px; margin-bottom: 12px; }
.sob-card--awaiting { border-left-color: #b32d2e; }
.sob-card--ready { border-left-color: #00a32a; }
.sob-card--collected, .sob-card--not_collected, .sob-card--rejected, .sob-card--cancelled_diner, .sob-card--cancelled_restaurant { border-left-color: #8c8f94; }
.sob-card__head { display: flex; justify-content: space-between; gap: 8px; }
.sob-card__status { color: #50575e; }
.sob-card p { margin: 4px 0; }
.sob-card__items { margin: 6px 0 6px 18px; list-style: disc; }
.sob-card__items small { display: block; color: #50575e; }
.sob-card__total { font-weight: 600; }
.sob-paid { color: #006b1f; font-weight: 400; }
.sob-unpaid { color: #50575e; font-weight: 400; }
.sob-card__check { color: #b32d2e; font-weight: 600; }
.sob-card__note { margin: 8px 0; padding: 6px 8px; border-left: 4px solid #dba617; background: #fcf9e8; color: #1d2327; font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
.sob-card__actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-end; margin-top: 8px; }
.sob-field { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.sob-field input[type="text"] { min-width: 180px; }
.sob-card__msg { color: #b32d2e; }
.sob-card__msg:empty { display: none; }
.sob-card .button { min-height: 44px; line-height: 42px; padding-top: 0; padding-bottom: 0; } /* touch screens in the kitchen */
.sob-card__history > summary { cursor: pointer; padding: 8px 0; }
.sob-card__history ol { margin: 4px 0 0 18px; font-size: 12px; color: #50575e; }
.sob-closed { margin-top: 16px; }
.sob-closed summary { cursor: pointer; font-weight: 600; }
