:root {
  --ticket-font-family: "NanumSquare", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --ticket-bg: linear-gradient(180deg, #eef4fb 0%, #f8fbff 34%, #ffffff 100%);
  --ticket-surface: rgba(255, 255, 255, 0.96);
  --ticket-surface-strong: #ffffff;
  --ticket-border: rgba(22, 78, 135, 0.11);
  --ticket-shadow: 0 24px 60px rgba(15, 59, 102, 0.12);
  --ticket-shadow-soft: 0 14px 35px rgba(17, 67, 112, 0.08);
  --ticket-navy: #123f6b;
  --ticket-blue: #2e77c7;
  --ticket-blue-dark: #103d69;
  --ticket-blue-soft: #e8f2ff;
  --ticket-text: #17324d;
  --ticket-muted: #6c7f93;
  --ticket-danger: #cb463f;
  --ticket-danger-strong: #b33633;
  --ticket-warning: #b67c12;
  --ticket-warning-soft: #fff5dd;
  --ticket-success: #26714a;
  --ticket-success-soft: #edf8f1;
  --ticket-success-border: #c9e9d3;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body.ticket-redesign-page {
  background: var(--ticket-bg);
  color: var(--ticket-text);
  font-family: var(--ticket-font-family);
}

body.ticket-redesign-page,
body.ticket-redesign-page button,
body.ticket-redesign-page input,
body.ticket-redesign-page select,
body.ticket-redesign-page textarea,
body.ticket-redesign-page table,
body.ticket-redesign-page .modal,
body.ticket-redesign-page .modal *,
body.ticket-redesign-page .ticket-page-shell,
body.ticket-redesign-page .ticket-page-shell * {
  font-family: var(--ticket-font-family);
  box-sizing: border-box;
}

body.ticket-redesign-page .fa,
body.ticket-redesign-page .fa::before,
body.ticket-redesign-page .fa::after {
  font-family: FontAwesome !important;
}

body.ticket-redesign-page a {
  color: inherit;
  text-decoration: none;
}

body.ticket-redesign-page img {
  max-width: 100%;
}

body.ticket-redesign-page .container,
body.ticket-redesign-page .row,
body.ticket-redesign-page [class*="col-"] {
  margin: 0;
  padding: 0;
}

.ticket-page-shell {
  width: min(100%, 780px);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--ticket-surface);
  border-left: 1px solid var(--ticket-border);
  border-right: 1px solid var(--ticket-border);
  box-shadow: var(--ticket-shadow);
}

.ticket-toast-root {
  position: fixed;
  left: 50%;
  top: calc(18px + env(safe-area-inset-top));
  z-index: 2000;
  display: grid;
  gap: 10px;
  width: min(calc(100vw - 24px), 420px);
  transform: translateX(-50%);
  pointer-events: none;
}

.ticket-toast {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 42, 68, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 18px 36px rgba(7, 28, 49, 0.2);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ticket-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ticket-toast-success {
  background: rgba(38, 113, 74, 0.96);
}

.ticket-toast-warning {
  background: rgba(171, 47, 47, 0.96);
}

.ticket-toast-error {
  background: rgba(152, 34, 34, 0.97);
}

.ticket-applicant-bar {
  padding: 12px 18px;
  background: #fcf9e9;
  border-bottom: 1px solid rgba(183, 145, 75, 0.2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: #8d5d09;
}

#applicant_bar {
  padding: 12px 18px !important;
  background: #fcf9e9;
  border-bottom: 1px solid rgba(183, 145, 75, 0.2) !important;
  color: #8d5d09;
}

.ticket-brandbar,
.ticket-page-shell .navbar {
  margin: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--ticket-blue-dark);
}

.ticket-page-shell .navbar-header {
  float: none;
  padding: 14px 20px;
}

.ticket-page-shell .navbar-brand {
  display: inline-block;
  float: none;
  height: auto;
  margin: 0;
  padding: 0;
}

.ticket-page-shell .navbar-brand img,
.ticket-brandbar img {
  display: block;
  width: 76px;
  height: auto;
}

.ticket-brandbar {
  padding: 14px 20px;
}

.ticket-hero {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(134, 194, 255, 0.38), transparent 34%),
    linear-gradient(135deg, #103d69 0%, #2567ab 52%, #4b98de 100%);
  color: #fff;
}

.ticket-hero--compact {
  padding-top: 22px;
  padding-bottom: 18px;
}

.ticket-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ticket-hero-title {
  margin: 14px 0 8px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.22;
}

.ticket-hero-desc {
  margin: 0;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}

.ticket-content {
  padding: 28px;
}

.ticket-stack {
  display: grid;
  gap: 22px;
}

.ticket-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--ticket-surface-strong);
  border: 1px solid var(--ticket-border);
  box-shadow: var(--ticket-shadow-soft);
}

.ticket-card-muted {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.ticket-card h2,
.ticket-card h3,
.ticket-card h4,
.ticket-section-title,
.panel-title {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--ticket-text);
}

.ticket-card h2,
.ticket-section-title {
  font-size: 30px;
  line-height: 1.3;
}

.ticket-card h3,
.panel-title {
  font-size: 22px;
  line-height: 1.4;
}

.ticket-copy {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ticket-muted);
}

.ticket-selection-card > .w3-border {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.ticket-poster-grid {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ticket-poster-card {
  position: relative;
  height: 214px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(12, 44, 76, 0.18);
}

.ticket-poster-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-selection-copy {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ticket-selection-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ticket-text);
}

.ticket-selection-time {
  font-size: 15px;
  color: #5f7390;
}

.poster-large-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 29, 49, 0.6);
  color: #fff;
}

.ticket-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ticket-chip,
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: var(--ticket-blue);
}

.label-danger {
  background: var(--ticket-danger);
}

.ticket-summary-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.ticket-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 18px;
  background: var(--ticket-blue-soft);
  border: 1px solid rgba(46, 119, 199, 0.1);
}

.ticket-summary-item i {
  width: 18px;
  margin-top: 2px;
  text-align: center;
  color: var(--ticket-blue);
}

.ticket-summary-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ticket-muted);
  letter-spacing: 0.04em;
}

.ticket-summary-value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.ticket-tabs-wrap {
  overflow: hidden;
}

.ticket-page-shell .nav-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

.ticket-page-shell .nav-tabs > li {
  float: none;
  width: auto !important;
  margin: 0;
}

.ticket-page-shell .nav-tabs > li > a {
  display: block;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(46, 119, 199, 0.12);
  border-radius: 18px;
  background: #f5f9ff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  color: var(--ticket-muted);
}

.ticket-page-shell .nav-tabs > li.active > a,
.ticket-page-shell .nav-tabs > li.active > a:hover,
.ticket-page-shell .nav-tabs > li.active > a:focus {
  border-color: transparent;
  background: linear-gradient(135deg, #103d69 0%, #2f81cf 100%);
  color: #fff;
}

.ticket-page-shell .tab-content {
  margin-top: 18px;
}

.ticket-page-shell .tab-pane {
  display: none;
}

.ticket-page-shell .tab-pane.active {
  display: block;
}

.ticket-info-block {
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--ticket-border);
}

.ticket-info-block + .ticket-info-block {
  margin-top: 18px;
}

.ticket-info-block hr {
  margin: 26px 0;
  border: 0;
  border-top: 1px solid rgba(17, 67, 112, 0.08);
}

.ticket-editor-view img {
  height: auto;
  border-radius: 16px;
}

.ticket-editor-view table {
  width: 100%;
  border-collapse: collapse;
}

.ticket-editor-view th,
.ticket-editor-view td {
  padding: 10px 12px;
  border: 1px solid rgba(17, 67, 112, 0.12);
}

.ticket-map {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
}

.well {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  background: #f6faff;
  border: 1px solid rgba(17, 67, 112, 0.08);
  box-shadow: none;
}

.ticket-bottom-cta,
#intro_btn_section {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin-top: 22px;
  padding: 16px 0 0;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0) 0%, rgba(248, 251, 255, 0.92) 28%, rgba(248, 251, 255, 1) 100%);
}

body.step1-booking-page .ticket-content {
  padding-bottom: 124px;
}

body.step1-booking-page .ticket-bottom-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 780px);
  margin-top: 0;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0) 0%, rgba(248, 251, 255, 0.94) 24%, rgba(248, 251, 255, 0.99) 100%);
}

body.step1-booking-page .ticket-bottom-cta.is-hidden-before-otp {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

.ticket-cta-guide {
  margin-bottom: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ticket-muted);
}

.ticket-btn,
.btn,
#ticket_able_button,
#ticket_disable_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.ticket-btn:hover,
.btn:hover,
#ticket_able_button:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-blue,
#ticket_able_button {
  color: #fff;
  background: linear-gradient(135deg, #1364bc 0%, #3091ee 100%);
  box-shadow: 0 16px 30px rgba(33, 107, 181, 0.24);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #c13a3a 0%, #e15a4d 100%);
  box-shadow: 0 16px 30px rgba(167, 44, 44, 0.22);
}

.btn-secondary,
.btn-default {
  color: var(--ticket-text);
  background: #edf4fb;
  border: 1px solid rgba(46, 119, 199, 0.12);
  box-shadow: none;
}

.btn[disabled],
#ticket_disable_button,
.btn-cancel {
  color: #fff;
  cursor: default;
  background: linear-gradient(135deg, #8f9baa 0%, #758393 100%);
  box-shadow: none;
}

.ticket-selection-card,
.w3-border {
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--ticket-border) !important;
}

.ticket-form-grid {
  display: grid;
  gap: 18px;
}

.contents,
.contents2 {
  padding: 0;
}

.ticket-inline-note,
.sub-content {
  color: var(--ticket-muted);
  font-size: 13px;
}

.ticket-auth-status {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(46, 119, 199, 0.12);
  background: #f6faff;
}

.ticket-auth-status-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ticket-text);
}

.ticket-auth-status-copy {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ticket-muted);
}

.ticket-auth-status-pending {
  background: #eef6ff;
  border-color: rgba(46, 119, 199, 0.2);
}

.ticket-auth-status-success {
  background: var(--ticket-success-soft);
  border-color: var(--ticket-success-border);
}

.ticket-auth-status-expired {
  background: #fff6ed;
  border-color: rgba(219, 141, 52, 0.22);
}

.label_title {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ticket-text);
}

.w3-input,
input[type=text],
input[type=tel],
select,
textarea,
.form-control {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(46, 119, 199, 0.18);
  border-radius: 16px;
  background: #fff;
  color: var(--ticket-text);
  font-size: 16px !important;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

textarea,
#etc_textarea {
  min-height: 112px;
  resize: vertical;
}

.w3-input:focus,
input[type=text]:focus,
input[type=tel]:focus,
select:focus,
textarea:focus,
.form-control:focus {
  outline: none;
  border-color: rgba(46, 119, 199, 0.55);
  box-shadow: 0 0 0 4px rgba(46, 119, 199, 0.12);
}

.input-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.input-group .w3-input,
.input-group input {
  flex: 1 1 auto;
}

.input-group-btn,
.input-group-btn.align-top {
  display: flex;
  align-items: stretch;
}

.hpp_verify_btn {
  min-width: 126px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(46, 119, 199, 0.14);
  border-radius: 16px;
  background: #edf4fb;
  color: var(--ticket-blue-dark);
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

#ViewTimer {
  margin-top: 8px;
  color: var(--ticket-muted);
}

.ticket-auth-timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.ticket-auth-resend {
  font-weight: 800;
  color: var(--ticket-blue);
  text-decoration: underline;
  cursor: pointer;
}

.ticket-auth-time {
  font-weight: 800;
  color: var(--ticket-danger);
}

.termsheader {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 54px !important;
  border: 1px solid rgba(46, 119, 199, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  font-size: 15px;
  font-weight: 700;
}

.termsheader + .termsheader {
  margin-top: 10px;
}

.termsheader input[type=checkbox] {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  margin: 0;
}

.termsheader label {
  display: block;
  margin: 0;
  cursor: pointer;
}

.common_btn {
  position: absolute;
  right: 18px;
  top: 19px;
  color: var(--ticket-blue);
  font-size: 13px;
  font-weight: 800;
}

.table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.table thead th {
  padding: 0 12px 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ticket-muted);
  text-align: left;
}

.table tbody tr {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: inset 0 0 0 1px rgba(46, 119, 199, 0.14);
}

.table tbody td {
  padding: 16px 12px;
  font-size: 15px;
  vertical-align: middle;
  color: var(--ticket-text);
}

.table tbody tr td:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.table tbody tr td:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.plus-minus {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 999px;
  background: #edf4fb;
  border: 1px solid rgba(46, 119, 199, 0.16);
  color: var(--ticket-text);
  font-size: 18px;
  font-weight: 800;
  box-shadow: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  overflow-y: auto;
  padding: 0 12px;
  background: rgba(10, 25, 41, 0.38);
}

.modal.fade.in {
  display: block;
}

.modal-dialog {
  width: min(94vw, 620px) !important;
  margin: 0;
  position: fixed !important;
  left: 50%;
  bottom: 16px !important;
  transform: translateX(-50%);
  top: auto !important;
  right: auto !important;
}

.modal-content {
  border: 0;
  border-radius: 24px;
  background: var(--ticket-surface-strong);
  box-shadow: 0 24px 60px rgba(15, 59, 102, 0.2);
  overflow: hidden;
}

.modal-header,
.modal-footer {
  padding: 18px 22px;
  border: 0;
}

.modal-body {
  padding: 0 22px 22px;
}

.modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--ticket-text);
}

.close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--ticket-muted);
  font-size: 28px;
  line-height: 1;
  opacity: 1;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.modal-footer .btn {
  width: auto;
  min-width: 120px;
  min-height: 48px;
  font-size: 15px;
  border-radius: 14px;
}

.modal-footer .btn-block {
  width: 100%;
}

.ticket-redesign-page #round_info_setting .modal-content,
.ticket-redesign-page #round_info_setting .modal-header,
.ticket-redesign-page #round_info_setting .modal-body,
.ticket-redesign-page #round_info_setting .modal-footer {
  color: var(--ticket-text);
}

.ticket-redesign-page #round_info_setting #modal_ticket_title {
  margin: 0 0 18px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--ticket-text) !important;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.ticket-redesign-page #round_info_setting #ticket-info,
.ticket-redesign-page #round_info_setting #ticket-info span,
.ticket-redesign-page #round_info_setting .next-page,
.ticket-redesign-page #round_info_setting .reserve-end {
  color: var(--ticket-muted) !important;
}

.ticket-redesign-page #round_info_setting #ticket-info {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  line-height: 1.6;
}

.ticket-redesign-page #round_info_setting .danger,
.ticket-redesign-page #round_info_setting #ticket-info .danger {
  color: var(--ticket-danger-strong) !important;
}

.ticket-redesign-page #round_info_setting .font-w600,
.ticket-redesign-page #round_info_setting .bold {
  color: var(--ticket-text) !important;
}

.ticket-redesign-page #round_info_setting .fa-info-circle {
  color: var(--ticket-blue);
}

.ticket-picker-guide {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ticket-muted);
}

.ticket-picker-list {
  display: grid;
  gap: 12px;
}

.ticket-picker-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(46, 119, 199, 0.14);
}

.ticket-picker-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ticket-picker-seat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ticket-picker-seat-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ticket-text);
}

.ticket-picker-seat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ticket-picker-price,
.ticket-picker-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ticket-picker-price {
  background: #edf4fb;
  color: var(--ticket-text);
}

.ticket-picker-status-open {
  background: #edf8f1;
  color: var(--ticket-success);
}

.ticket-picker-status-wait {
  background: #fff5dd;
  color: var(--ticket-warning);
}

.ticket-picker-status-end {
  background: #f3f5f7;
  color: #758393;
}

.ticket-picker-qty {
  flex: 0 0 auto;
}

.ticket-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf4fb;
}

.ticket-qty-value {
  min-width: 26px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  color: var(--ticket-text);
}

.ticket-qty-closed {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f3f5f7;
  color: #758393;
  font-size: 13px;
  font-weight: 800;
}

.ticket-picker-summary {
  display: grid;
  width: 100%;
  gap: 10px;
  margin-right: auto;
}

.ticket-picker-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #103d69 0%, #2f81cf 100%);
  color: #fff;
  border: 0;
}

.ticket-picker-summary-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
}

.ticket-picker-summary-card strong {
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
}

.ticket-picker-summary-note {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.ticket-picker-summary-copy {
  display: grid;
  gap: 4px;
}

.ticket-picker-summary-value {
  flex: 0 0 auto;
  text-align: right;
}

.ticket-picker-notice {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ticket-muted);
}

.ticket-picker-notice i {
  margin-right: 6px;
  color: var(--ticket-blue);
}

.ticket-status-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ticket-muted);
}

.ticket-center,
.center {
  text-align: center;
}

.left {
  float: left;
}

.right {
  float: right;
}

.mb1 { margin-bottom: 8px; }
.mb2 { margin-bottom: 16px; }
.mt1 { margin-top: 8px; }
.mt2 { margin-top: 16px; }
.mt3 { margin-top: 24px; }
.mt4 { margin-top: 32px; }
.my1 { margin-top: 8px; margin-bottom: 8px; }
.my3 { margin-top: 24px; margin-bottom: 24px; }
.mx2 { margin-left: 16px; margin-right: 16px; }
.p0 { padding: 0 !important; }
.p1 { padding: 8px !important; }
.p2 { padding: 16px !important; }
.pt0 { padding-top: 0 !important; }
.pt2 { padding-top: 16px !important; }
.px1 { padding-left: 8px !important; padding-right: 8px !important; }
.px2 { padding-left: 16px !important; padding-right: 16px !important; }
.py1 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py2 { padding-top: 16px !important; padding-bottom: 16px !important; }
.w100 { width: 100%; }
.bold,
.bolder { font-weight: 800; }
.pre-line { white-space: pre-line; }
.danger { color: var(--ticket-danger); }

#applicantDetailBox {
  padding-left: 0;
}

#applicantDetailBox li {
  list-style: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 67, 112, 0.08);
  font-size: 15px;
  line-height: 1.6;
}

#applicantDetailBox li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .ticket-page-shell {
    width: 100%;
    min-height: 100vh;
    border: 0;
    box-shadow: none;
  }

  .ticket-brandbar,
  .ticket-page-shell .navbar-header {
    padding: 12px 16px;
  }

  .ticket-toast-root {
    top: calc(12px + env(safe-area-inset-top));
    width: calc(100vw - 20px);
  }

  .ticket-page-shell .navbar-brand img,
  .ticket-brandbar img {
    width: 72px;
  }

  .ticket-hero {
    padding: 18px 16px 16px;
  }

  .ticket-kicker {
    padding: 5px 10px;
    font-size: 11px;
  }

  .ticket-hero-title {
    margin: 10px 0 4px;
    font-size: 20px;
  }

  .ticket-hero-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  .ticket-content {
    padding: 16px;
  }

  .ticket-card,
  .ticket-info-block {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .ticket-card h2,
  .ticket-section-title {
    font-size: 18px;
  }

  .ticket-card h3,
  .panel-title {
    font-size: 18px;
  }

  .ticket-copy,
  .well,
  .table tbody td {
    font-size: 13px;
  }

  .ticket-poster-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ticket-poster-card {
    width: min(180px, 42vw);
    height: 240px;
  }

  .ticket-summary-item {
    padding: 14px 16px;
  }

  .ticket-summary-value {
    font-size: 15px;
  }

  .ticket-page-shell .nav-tabs {
    gap: 8px;
  }

  .ticket-page-shell .nav-tabs > li > a {
    padding: 12px 10px;
    font-size: 14px;
    border-radius: 14px;
  }

  .ticket-bottom-cta,
  #intro_btn_section {
    padding-top: 14px;
  }

  body.step1-booking-page .ticket-content {
    padding-bottom: 132px;
  }

  body.step1-booking-page .ticket-bottom-cta {
    width: 100%;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }

  body.step1-booking-page .ticket-bottom-cta.is-hidden-before-otp {
    transform: translateX(-50%) translateY(10px);
  }

  .ticket-btn,
  .btn,
  #ticket_able_button,
  #ticket_disable_button {
    min-height: 50px;
    font-size: 16px;
    border-radius: 14px;
  }

  .input-group {
    flex-direction: column;
  }

  .hpp_verify_btn {
    width: 100%;
    min-height: 44px;
  }

  .modal-dialog {
    width: calc(100vw - 20px) !important;
    left: 50%;
    bottom: 10px !important;
    transform: translateX(-50%);
  }

  .modal-header,
  .modal-footer {
    padding: 16px;
  }

  .modal-body {
    padding: 0 16px 16px;
  }

  .modal-title {
    font-size: 18px;
  }

  .ticket-redesign-page #round_info_setting #modal_ticket_title {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .ticket-picker-main {
    gap: 10px;
  }

  .ticket-picker-seat-name {
    font-size: 14px;
  }

  .ticket-picker-qty {
    flex: 0 0 auto;
  }

  .ticket-qty-control,
  .ticket-qty-closed {
    min-width: 112px;
    justify-content: space-between;
  }

  .ticket-picker-summary-card strong {
    font-size: 20px;
  }

  .ticket-picker-summary-card {
    align-items: flex-start;
  }
}
