/* ============================================
   PICKUP FORM - Compact Style
   ============================================ */

.reservation-widget.delivery-widget {
  max-width: 540px;
  margin: 1.5vh auto;
  padding: var(--space-lg, 1.25rem);
  background: var(--bg-primary, #FDFBF7);
  border: 1px solid var(--bg-tertiary, #EDE6DA);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 4px 20px var(--shadow-soft, rgba(45, 41, 38, 0.08));
}

.reservation-widget.delivery-widget h2 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  text-align: center;
  margin-bottom: var(--space-md, 0.6rem);
  color: var(--text-primary, #2D2926);
  font-weight: 600;
  font-size: 1.4rem;
}

/* ============================================
   FORM LAYOUT - Compact
   ============================================ */

.reservation-form.single-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm, 0.5rem);
}

/* ============================================
   FORM FIELDS - Compact
   ============================================ */

.field {
  display: flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
  background: var(--bg-secondary, #F5F0E8);
  padding: var(--space-sm, 0.5rem) var(--space-md, 1rem);
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--bg-tertiary, #EDE6DA);
  transition: all var(--transition-fast, 150ms ease);
}

.field:hover {
  border-color: var(--brand-gold-light, #E5D4A4);
}

.field:focus-within {
  border-color: var(--brand-gold, #C9A456);
}

.field i {
  font-size: 1rem;
  color: var(--brand-gold, #C9A456);
  width: 20px;
  text-align: center;
}

.field-input {
  flex: 1;
  min-width: 0;
}

.field-input label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-secondary, #5C5550);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.field-input input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bg-tertiary, #EDE6DA);
  color: var(--text-primary, #2D2926);
  font-size: 1rem;
  width: 100%;
  padding: 0.3rem 0;
}

.field-input input:focus {
  outline: none;
  border-bottom-color: var(--brand-gold, #C9A456);
}

.field-input input::placeholder {
  color: var(--text-muted, #8B857D);
}

/* ============================================
   SUBMIT BUTTON - Compact
   ============================================ */

.reservation-submit {
  grid-column: 1 / -1;
  padding: var(--space-sm, 0.75rem);
  background: linear-gradient(135deg, var(--brand-gold, #C9A456), var(--brand-gold-dark, #A68736));
  border: none;
  border-radius: var(--radius-md, 8px);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast, 150ms ease);
  margin-top: var(--space-sm, 0.4rem);
}

.reservation-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201, 164, 86, 0.4);
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
  .reservation-widget.delivery-widget {
    margin: var(--space-sm, 0.5rem);
    padding: var(--space-sm, 0.75rem);
  }

  .reservation-widget.delivery-widget h2 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm, 0.5rem);
  }

  .field {
    padding: var(--space-xs, 0.4rem) var(--space-sm, 0.5rem);
  }

  .field-input input {
    font-size: 16px !important;
  }

  .reservation-submit {
    padding: var(--space-sm, 0.6rem);
    min-height: 40px;
  }
}

/* ============================================
   RTL (Hebrew)
   ============================================ */

html[lang="he"] .reservation-widget.delivery-widget {
  direction: rtl;
}

html[lang="he"] .field {
  flex-direction: row-reverse;
}

html[lang="he"] .field-input {
  text-align: right;
}

html[lang="he"] .field-input label {
  text-align: right;
}

/* ============================================
   RESTAURANT CLOSED MESSAGE
   ============================================ */

.closed-message {
  text-align: center;
  padding: var(--space-lg, 1.5rem) var(--space-md, 1rem);
}

.closed-icon {
  font-size: 3rem;
  color: var(--brand-gold, #C9A456);
  margin-bottom: var(--space-md, 1rem);
}

.closed-status {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary, #2D2926);
  margin-bottom: var(--space-sm, 0.5rem);
}

.next-open {
  font-size: 1rem;
  color: var(--brand-wine, #722F37);
  margin-bottom: var(--space-sm, 0.5rem);
}

.today-hours {
  font-size: 0.9rem;
  color: var(--text-secondary, #5C5550);
}

.closed-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm, 0.5rem);
  margin-top: var(--space-md, 1rem);
}

.closed-actions .reservation-submit {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 0;
}

.closed-actions .reservation-back {
  display: block;
  text-align: center;
  padding: var(--space-sm, 0.75rem);
  background: var(--bg-secondary, #F5F0E8);
  border: 1px solid var(--bg-tertiary, #EDE6DA);
  border-radius: var(--radius-md, 8px);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #2D2926);
  text-decoration: none;
  transition: all var(--transition-fast, 150ms ease);
}

.closed-actions .reservation-back:hover {
  background: var(--bg-tertiary, #EDE6DA);
}
