/* Booking widget styling, recreated from the screenshot.
Selector names are generic: swap them for the class names Eat App actually
outputs (inspect the widget in your browser's dev tools). */
:root {
--brand-brown: #762b16;
--brand-green: #1e3226;
--brand-gold: #cdb363;
--bg: #fff5e8; /* cream background */
--border: rgba(118, 43, 22, 0.25); /* soft brown outline */
--selected-bg: rgba(205, 179, 99, 0.25); /* faded gold for selected slot */
--radius: 10px;
--gap: 16px;
}
.widget {
font-family: "Noir Pro", sans-serif;
background: var(--bg);
color: var(--brand-brown);
border: 1px solid var(--border);
border-radius: var(--radius);
max-width: 784px;
overflow: hidden;
}
/* ---------- Venue + Guests + Date on one line ---------- */
.filters {
display: grid;
grid-template-columns: 1.6fr 0.7fr 1fr; /* venue gets the most room */
gap: var(--gap);
align-items: start;
padding: 24px 16px 16px;
border-bottom: 1px solid var(--border);
box-shadow: 0 2px 4px rgba(118, 43, 22, 0.12);
}
.filters label {
display: block;
margin-bottom: 6px;
font-size: 12px;
font-weight: 700;
}
.filters select,
.filters input {
width: 100%;
box-sizing: border-box;
height: 44px;
padding: 0 12px;
font: inherit;
font-size: 15px;
color: var(--brand-brown);
background: transparent;
border: 1px solid var(--border);
border-radius: var(--radius);
}
/* ---------- Time slots ---------- */
.times-title,
.times-section-title {
font-weight: 700;
color: var(--brand-brown);
}
.times-title {
text-align: center;
font-size: 17px;
margin: 24px 0 16px;
}
.times-section-title {
font-size: 14px;
margin: 24px 16px 12px;
}
.times-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--gap);
padding: 0 16px;
}
.time-slot {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 48px; /* compact slots */
font: inherit;
font-size: 15px;
font-weight: 700;
color: var(--brand-brown);
background: transparent;
border: 1px solid var(--border);
border-radius: var(--radius);
cursor: pointer;
transition: background 0.15s ease, border-color 0.15s ease;
}
.time-slot small { /* "Night of Thu, Nov 12" */
font-size: 10px;
font-weight: 600;
}
.time-slot:hover {
background: var(--selected-bg);
}
.time-slot.selected,
.time-slot[aria-pressed="true"] {
background: var(--selected-bg);
border-color: var(--brand-gold);
}
/* ---------- "Show more times" dropdown ---------- */
.show-more {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
margin-top: 20px;
padding: 8px 16px;
font: inherit;
font-size: 15px;
font-weight: 700;
color: var(--brand-brown);
background: transparent;
border: 0;
cursor: pointer;
}
.show-more::after { /* chevron */
content: "";
width: 8px;
height: 8px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg) translateY(-2px);
transition: transform 0.2s ease;
}
.show-more[aria-expanded="true"]::after {
transform: rotate(-135deg) translateY(-2px);
}
/* Extra slots stay hidden until the dropdown is opened */
.times-more { display: none; margin-top: var(--gap); }
.times-more.open { display: block; }
/* ---------- Continue button ---------- */
.footer {
margin-top: 24px;
padding: 16px;
border-top: 1px solid var(--border);
}
.continue {
width: 100%;
padding: 16px;
font: inherit;
font-size: 17px;
font-weight: 700;
color: #fff;
background: var(--brand-brown);
border: 0;
border-radius: var(--radius);
cursor: pointer;
}
.continue:disabled {
background: rgba(118, 43, 22, 0.2);
color: rgba(255, 255, 255, 0.7);
cursor: not-allowed;
}
/* ---------- Mobile ---------- */
@media (max-width: 520px) {
.times-grid { grid-template-columns: repeat(2, 1fr); }
.filters { grid-template-columns: 1fr 1fr; }
.filters .venue-field { grid-column: 1 / -1; }
}