/* Regal Venue Booking - scoped styles.
   Matches the local_proxy.py tester's look (Bootstrap defaults: clean
   card, generous padding, system font) regardless of the active
   WordPress theme's own CSS. Everything here is scoped under
   .regal-booking-card so it can never leak into the rest of the site. */

.regal-booking-card,
.regal-booking-card * {
    /* Same stack as Bootstrap 5's own $font-family-sans-serif default -
       forced with !important because WP themes commonly set body/input
       font-family with equal or higher specificity than a plain class
       selector, which is what caused the mismatch from local_proxy.py. */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif !important;
}

.regal-booking-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 1.5rem;
}

.regal-ai-box {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Container-based responsive rows. Bootstrap's .row/.col-md-* break at
   fixed VIEWPORT widths, not the actual rendered width of this widget -
   so inside a narrow WordPress content column they still try to lay
   fields out side by side on an ordinary desktop browser, which is what
   produced the cramped/squeezed look. Flexbox with wrap responds to the
   widget's own width instead, so fields collapse to one column whenever
   there isn't real room for two - regardless of the browser's viewport. */
.regal-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.regal-field {
    flex: 1 1 200px;
    min-width: 0;
}

.regal-field label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.regal-quote-box {
    background: #212529;
    color: #fff;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.regal-quote-box h6 {
    color: #fff;
    margin-bottom: 0.5rem;
}

#quoteDisplay {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
        monospace !important;
    color: #4ade80;
    white-space: pre-wrap;
}
