/* Ohh My Dog — small additions on top of omd-styles.css (server error banner, admin screens). */

.field-error-banner {
  display: block;
  background: #3a1f0d;
  border: 1px solid #b06b1b;
  color: #ffe6c9;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
}

.field-success-banner {
  display: block;
  background: #0d3a1a;
  border: 1px solid #1fa34d;
  color: #d9ffe4;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
}

/* WebForms only allows one runat="server" <form> per page, so Default.aspx wraps the fields in
   a plain <div> instead of a real <form> — this class restores the same vertical rhythm the
   original static mockup got for free from form { display:flex; flex-direction:column; gap:1.25rem }. */
.field-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Ticket stepper: give the −/+ buttons and count some air instead of sitting flush. */
.counter .btn-icon {
  min-width: 2.5rem;
  padding: 0.5rem 0.9rem;
}

/* The sticky summary bar's flex row (title+line on the left, button on the right,
   justify-content:space-between, no wrap) works at desktop widths but has no room on a
   phone once the theatre name/ticket count get long — the button gets squeezed off.
   Stack it on narrow screens instead: text on its own row, full-width button below. */
@media (max-width: 640px) {
  .summary-inner {
    flex-wrap: wrap;
    row-gap: .6rem;
  }
  .summary-info {
    flex: 1 1 100%;
    min-width: 0;
  }
  .summary-line {
    white-space: normal;
    line-height: 1.4;
    word-break: break-word;
  }
  #confirm-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Real Transaction No. is long ("OMD" + timestamp + 4 chars, ~24 chars) — wrap instead of scroll. */
.ticket-ref {
  font-size: 1.15rem;
  line-height: 1.5;
  word-break: break-all;
}

@media (max-width: 480px) {
  .ticket-ref {
    font-size: 1rem;
  }
}

/* Admin screens (C/Dashboard.aspx, C/AcceptedReport.aspx, C/RejectedReport.aspx,
   C/OMDShowSchedule.aspx) live inside the shared Bootstrap admin shell and use their own
   page-scoped <style> blocks matching that template, not this file. */
