/* Banquet code modal input styling */
#banquetCodeInput {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 320px;
    display: block;
}

/* Banner warning for banquet ticket code */
.banner-warning {
    background: #fffbe6;
    color: #b45309;
    border: 2px solid #fbbf24;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 22px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.08);
}

:root {
    --card-bg: #ffffff;
    --page-bg: #f4f6f8;
    --accent: #2b6cb0;
    --muted: #6b7280;
    --warn: #b45309;
}

* {
    box-sizing: border-box
}

body {
    font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--page-bg);
    margin: 0;
    padding: 32px;
    color: #111
}

.container {
    max-width: 1400px;
    margin: 0 auto
}

.header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    padding: 20px
}

h1 {
    margin: 0;
    font-size: 1.6rem
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 16px
}

@media(min-width:900px) {
    .form-grid {
        grid-template-columns: 1fr 360px
    }

    aside {
        align-self: start;
        position: sticky;
        top: 24px;
        height: fit-content;
    }
}

.fieldset {
    border: 2px solid #cbd5e1;
    padding: 16px;
    border-radius: 10px
}

.legend {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent)
}

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

.table th,
.table td {
    padding: 8px 6px;
    text-align: left;
    border-bottom: 1px solid #cbd5e1
}

.table th {
    font-size: 0.95rem;
    color: var(--muted)
}

.input {
    width: 100%;
    padding: 8px;
    border: 2px solid #94a3b8;
    border-radius: 6px;
    font-family: inherit
}

.qty {
    width: 80px
}

.sub {
    width: 120px;
    text-align: right;
    font-weight: 600
}

.small {
    font-size: 0.9rem;
}

.italic-note {
    font-style: italic;
    font-size: 0.9rem;
}

.summary-label {
    font-size: 1rem;
    font-weight: 600;
    color: #111
}

.total-box {
    background: #fff;
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.summary-actions {
    display: flex;
    justify-content: center;
}

.total-amount {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 700
}

.button {
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600
}

.button:hover {
    background: #1e5a8e
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Waiver modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: #fff;
    width: 90%;
    max-width: 720px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-weight: 700;
    color: #0f172a;
}

.modal-body {
    padding: 14px 16px;
    color: #111;
    line-height: 1.5;
    max-height: 60vh;
    overflow: auto;
}

.modal-footer {
    padding: 12px 16px;
    border-top: 1px solid #eef2f7;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.link-button {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.footer {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem
}

.show-extras-btn {
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block
}

.show-extras-btn:hover {
    background: #1e5a8e
}

.hidden {
    display: none
}

.error-inline {
    color: var(--warn);
    font-size: 0.9rem;
    margin-top: 6px
}

.radio-group {
    display: flex;
    gap: 16px;
    align-items: center
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

.radio-group input[type="radio"] {
    cursor: pointer;
    width: auto
}

/* Utility Classes for Common Inline Styles */

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.grid-address {
    display: grid;
    grid-template-columns: 2fr 0.75fr 1.25fr;
    gap: 10px;
}

.grid-2-name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.grid-gap-8 {
    display: grid;
    gap: 8px;
}

/* Flex layouts */
.flex-center {
    display: flex;
    align-items: center;
    gap: 16px;
}

.flex-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-checkbox-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Spacing */
.mt-10 {
    margin-top: 10px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-8 {
    margin-top: 8px;
}

.mb-8 {
    margin-bottom: 8px;
}

.pt-10 {
    padding-top: 10px;
}

.p-12 {
    padding: 12px;
}

.p-8 {
    padding: 8px;
}

/* Text alignment */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Border utilities */
.border-top {
    border-top: 1px solid #e6eef8;
}

.border-address {
    border: 2px solid #cbd5e1;
    border-radius: 8px;
}

/* Input width utilities */
.input-auto {
    width: auto;
}

.input-uppercase {
    text-transform: uppercase;
}

/* Logo container */
.logo-container {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 200px;
    background: transparent;
    box-shadow: none;
    border: none;
}

.logo-image {
    max-width: 100%;
    max-height: 136px;
    display: block;
}

/* Summary grid */
.summary-grid {
    display: grid;
    gap: 8px;
}

/* Error message spacing */
.error-msg {
    display: none;
    margin-top: 8px;
}

.error-msg.show {
    display: block;
}

/* Table header width utilities */
.col-110 {
    width: 110px;
}

.col-120 {
    width: 120px;
}

/* Currency label */
.currency-label {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Section intro text spacing */
.section-intro {
    margin-bottom: 8px;
}

/* Dark button secondary */
.button-secondary {
    background: #9CA3AF;
    color: #111;
}

.button-secondary:hover {
    background: #8b94a0;
}

/* Field container with border */
.field-container {
    margin-top: 10px;
    padding: 12px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
}

/* Field container with top border */
.field-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    border-top: 1px solid #e6eef8;
    padding-top: 10px;
}

/* Email link styling */
.email-link {
    color: var(--accent);
}

/* Input helpers */
.input-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-checkbox-label-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Required field indicator */
.required {
    color: red;
}

/* Info icon button styling */
.info-icon-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.info-icon-btn:hover {
    transform: scale(1.2);
    color: #1e5a8e;
}

.info-icon-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 50%;
}

/* Modal close button */
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #111;
}