/* Mamachya Govyala Jauya — small additions on top of mgj-styles.css for pieces the
   base stylesheet didn't need (server error banner, BookMyShow note, admin screens).
   Kept separate so mgj-styles.css stays a clean base port. */

/* Searchable combo (city/theatre/date/showtime) — a plain text input that filters a
   dropdown list as you type, since a 630+ theatre native <select> is unusable to scan by
   eye. Selecting an option is the only way to set a value; typing without picking one
   leaves nothing selected (enforced in JS), same as the native <select> it replaces. */
.combo {
  position: relative;
}

.combo-input {
  width: 100%;
  max-width: 24rem;
  cursor: text;
}

.combo-input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.combo-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  max-width: 24rem;
  max-height: 16rem;
  overflow-y: auto;
  margin-top: .35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .5rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}

.combo-option {
  padding: .6rem .875rem;
  font-size: .9rem;
  color: var(--off-white);
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.combo-option:last-child {
  border-bottom: none;
}

.combo-option:hover,
.combo-option.active {
  background: rgba(242,183,5,.16);
  color: var(--gold);
}

.combo-empty {
  padding: .6rem .875rem;
  font-size: .85rem;
  color: var(--muted);
}

.field-error-banner {
  display: block;
  background: #3a1010;
  border: 1px solid #c0392b;
  color: #ffdada;
  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;
}

.bms-note {
  margin-top: 10px;
  font-family: Inter, sans-serif;
  font-size: 12.5px;
  line-height: 18px;
  color: #b9d4dc;
}

.bms-note a {
  color: #F2B705;
  word-break: break-all;
}

/* The register fields sit inside a plain <div> (WebForms only allows one runat="server"
   <form> per page) — this class restores the vertical rhythm a real <form> would give them. */
.field-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Ticket stepper: give the −/+ buttons and count some air instead of sitting flush. */
.counter {
  gap: 1.25rem;
}

.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 longer ("MGJ" + timestamp + 4 chars, ~24 chars) — override the
   base 1.75rem size and let it wrap instead of forcing horizontal scroll on phones. */
.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/MGJTheatreMaster.aspx) live inside the shared Bootstrap admin shell and use their
   own page-scoped <style> blocks matching that template, not this file. */
