:root {
    --seas-blue-900: #14365c;
    --seas-blue-700: #24446f;
    --seas-blue-500: #3f7fc0;
    --seas-blue-100: #eaf2fb;
    --seas-ink: #202939;
    --seas-page: #f4f7fb;
    --seas-border: #dbe5f1;
    --bs-primary: var(--seas-blue-700);
    --bs-primary-rgb: 36, 68, 111;
}

body {
    background: var(--seas-page);
    color: var(--seas-ink);
}

main.container {
    max-width: 1320px;
}

.navbar {
    border-top: 4px solid var(--seas-blue-700);
    box-shadow: 0 .25rem 1.25rem rgba(20, 54, 92, .05);
}

.navbar-brand {
    letter-spacing: 0;
    color: var(--seas-blue-900);
}

.navbar-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-link {
    color: #536176;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--seas-blue-700);
}

.nav-count-badge {
    align-items: center;
    background: #dc3545;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .7rem;
    font-weight: 700;
    height: 1.2rem;
    justify-content: center;
    min-width: 1.2rem;
    padding: 0 .32rem;
    line-height: 1;
}

.dropdown-item-child {
    padding-left: 2rem;
}

.hidden {
    display: none;
}

.btn-primary {
    --bs-btn-bg: var(--seas-blue-700);
    --bs-btn-border-color: var(--seas-blue-700);
    --bs-btn-hover-bg: var(--seas-blue-900);
    --bs-btn-hover-border-color: var(--seas-blue-900);
    --bs-btn-active-bg: var(--seas-blue-900);
    --bs-btn-active-border-color: var(--seas-blue-900);
}

.btn-outline-primary {
    --bs-btn-color: var(--seas-blue-700);
    --bs-btn-border-color: #9bb5d4;
    --bs-btn-hover-bg: var(--seas-blue-700);
    --bs-btn-hover-border-color: var(--seas-blue-700);
    --bs-btn-active-bg: var(--seas-blue-900);
    --bs-btn-active-border-color: var(--seas-blue-900);
}

.btn-outline-add {
    --bs-btn-color: #198754;
    --bs-btn-border-color: #8fd1b1;
    --bs-btn-hover-bg: #198754;
    --bs-btn-hover-border-color: #198754;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-bg: #157347;
    --bs-btn-active-border-color: #157347;
    --bs-btn-active-color: #ffffff;
}

.btn-checked-in {
    --bs-btn-bg: #157347;
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: #157347;
    --bs-btn-hover-bg: #198754;
    --bs-btn-hover-border-color: #198754;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-bg: #198754;
    --bs-btn-active-border-color: #198754;
    --bs-btn-active-color: #ffffff;
}

.btn-create-plus {
    display: inline-block;
    width: 1rem;
    margin-right: .55rem;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: .8;
    text-align: center;
    vertical-align: middle;
    position: relative;
    top: -.14em;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #8fb5df;
    box-shadow: 0 0 0 .2rem rgba(63, 127, 192, .18);
}

.form-check-input:checked {
    background-color: var(--seas-blue-700);
    border-color: var(--seas-blue-700);
}

.border {
    border-color: var(--seas-border) !important;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

.table-responsive {
    scrollbar-color: #9bb5d4 transparent;
}

.table-light {
    --bs-table-bg: #edf4fb;
    --bs-table-color: var(--seas-blue-900);
    border-color: var(--seas-border);
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid var(--seas-border);
}

.tooltip {
    --bs-tooltip-max-width: none;
}

.tooltip .tooltip-inner {
    max-width: none;
    white-space: nowrap;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: #f6faff;
}

.layout-background-fields {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.background-upload-control {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.background-upload-row {
    align-items: center;
    display: flex;
    gap: .5rem;
    width: 100%;
}

.background-upload-field {
    flex: 1 1 auto;
    min-width: 0;
}

.background-upload-field input[type="file"] {
    width: 100%;
}

.background-upload-row .btn-icon-square {
    flex: 0 0 auto;
    width: 2.4rem;
}

.background-upload-current {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.layout-background-preview-wrap {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: 100%;
}

.layout-background-preview {
    align-items: center;
    background: #f8fbff;
    border: 1px solid var(--seas-border);
    border-radius: .55rem;
    display: flex;
    justify-content: center;
    min-height: 240px;
    overflow: hidden;
    padding: 1rem;
}

.layout-background-preview img {
    display: block;
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
}

.layout-background-preview-empty {
    font-size: .95rem;
    text-align: center;
}

.layout-preview-modal-dialog {
    max-width: min(96vw, 1600px);
}

.layout-preview-modal .modal-content {
    height: min(92vh, 980px);
}

.layout-preview-modal-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.layout-preview-modal .modal-body {
    display: flex;
    min-height: 0;
}

.layout-preview-modal-header {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.layout-preview-modal-title-wrap {
    align-items: center;
    display: inline-flex;
    gap: .7rem;
    min-width: 0;
}

.layout-preview-modal-logo {
    display: block;
    flex: 0 0 auto;
    height: 1.5rem;
    width: 1.5rem;
}

.layout-preview-frame-wrap {
    background: #f8f9fa;
    flex: 1 1 auto;
    min-height: 0;
}

.layout-preview-frame {
    background: #fff;
    border: 0;
    display: block;
    height: 100%;
    min-height: 70vh;
    width: 100%;
}

.layout-preview-modal-content:fullscreen {
    background: #f3f6fb;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
    margin: 50px auto;
    width: calc(100vw - 100px);
}

.layout-preview-modal-content:fullscreen .modal-body {
    flex: 1 1 auto;
    min-height: 0;
}

.layout-preview-modal-content:fullscreen .layout-preview-frame-wrap,
.layout-preview-modal-content:fullscreen .layout-preview-frame {
    height: 100%;
    min-height: 0;
}

.badge.text-bg-light {
    background-color: var(--seas-blue-100) !important;
    color: var(--seas-blue-900) !important;
}

.metric-card {
    min-height: 100%;
}

.metric-card .h3 {
    color: var(--seas-blue-900);
}

.event-menu-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid var(--seas-border);
    border-radius: .7rem;
    color: #6c7b90;
    height: 48px;
    max-width: 240px;
    min-width: 0;
    padding: 0 .55rem;
}

.event-menu-toggle:hover,
.event-menu-toggle:focus,
.event-menu-toggle.show {
    background: #f8fbff;
    border-color: var(--seas-border);
    color: var(--seas-blue-700);
}

.event-menu-label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-menu-value {
    color: var(--seas-blue-900);
    font-size: .92rem;
    font-weight: 600;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-language-form {
    min-width: 190px;
}

.current-event-indicator,
.current-event-summary {
    background: linear-gradient(135deg, #f7fbff, #eef5fd);
    border: 1px solid var(--seas-border);
    border-radius: .65rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 190px;
    padding: .55rem .8rem;
}

.current-event-label {
    color: #6c7b90;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.current-event-value {
    color: var(--seas-blue-900);
    font-size: .95rem;
    font-weight: 600;
}

.dashboard-hero {
    align-items: end;
    background: linear-gradient(135deg, #ffffff, #edf5fd 55%, #e5effa);
    border: 1px solid var(--seas-border);
    border-radius: .85rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.6rem;
}

.dashboard-hero p.text-uppercase {
    color: var(--seas-blue-700);
}

.dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
}

.dashboard-shortcuts {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.shortcut-tile,
.dashboard-event-item {
    background: #f8fbff;
    border: 1px solid var(--seas-border);
    border-radius: .75rem;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.shortcut-tile:hover,
.shortcut-tile:focus,
.dashboard-event-item:hover,
.dashboard-event-item:focus {
    border-color: #9bb5d4;
    box-shadow: 0 .5rem 1.4rem rgba(20, 54, 92, .08);
    transform: translateY(-1px);
}

.shortcut-title,
.dashboard-event-name {
    color: var(--seas-blue-900);
    font-weight: 700;
}

.shortcut-icon {
    align-items: center;
    background: #eaf3fe;
    border: 1px solid #d2e4fb;
    border-radius: .8rem;
    color: var(--seas-blue-800);
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    margin-bottom: .35rem;
    width: 2.75rem;
}

.shortcut-icon svg {
    fill: none;
    height: 1.2rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1.2rem;
}

.shortcut-text,
.dashboard-event-meta {
    color: #6c7b90;
    font-size: .92rem;
}

.dashboard-event-list {
    display: grid;
    gap: .85rem;
}

.table-sort-link {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    text-decoration: none;
}

.table-sort-link:hover,
.table-sort-link:focus {
    color: var(--seas-blue-700);
    text-decoration: underline;
}

.sort-indicator {
    color: var(--seas-blue-700);
    display: inline-flex;
    align-items: center;
    gap: .15rem;
}

.sort-icon {
    fill: currentColor;
    height: 1rem;
    width: 1rem;
}

.sort-priority {
    min-width: .95rem;
    height: .95rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--seas-blue-700);
    box-shadow: 0 0 0 2px #ffffff;
    color: #ffffff;
    font-size: .62rem;
    font-weight: 700;
    line-height: 1;
}

.btn-icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 1.85rem;
    justify-content: center;
    padding: 0;
    width: 1.85rem;
}

.btn-icon svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1rem;
}

.btn-icon-square {
    align-items: center;
    border-radius: .55rem;
    display: inline-flex;
    height: calc(2.25rem + 2px);
    justify-content: center;
    min-width: 2.4rem;
    padding-inline: .65rem;
}

.btn-icon-square svg {
    fill: none;
    height: 1.1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 1.1rem;
}

.inline-select-actions > .btn,
.inline-select-actions > button.btn {
    height: calc(1.5em + .75rem + 2px);
}

.table-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: .35rem;
    justify-content: flex-end;
    white-space: nowrap;
}

.theater-seat-actions-col {
    width: 6.9rem;
    min-width: 6.9rem;
}

.theater-seat-actions-grid {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: center;
    white-space: normal;
    width: 6.25rem;
}

.theater-layout-actions-col {
    width: 6.25rem;
    min-width: 6.25rem;
}

.theater-layout-actions-grid {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: center;
    white-space: normal;
    width: 6.25rem;
}

.template-actions-col {
    width: 5.15rem;
    min-width: 5.15rem;
}

.entity-actions-col {
    width: 6.95rem;
    min-width: 6.95rem;
}

.participant-actions-col {
    width: 8.6rem;
    min-width: 8.6rem;
}

.participant-actions-grid {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: center;
    white-space: normal;
    width: 8.1rem;
}

.customer-actions-col {
    width: 9.75rem;
    min-width: 9.75rem;
}

.customer-actions-grid {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: center;
    white-space: normal;
    width: 9.2rem;
}

.table-col-tight {
    white-space: nowrap;
    width: 1%;
}

.table-col-tight.text-end,
.table-col-tight.text-center {
    width: 1%;
}

.page-actions > a svg,
.page-actions > button svg {
    fill: none;
    height: 1.05rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 1.05rem;
}

.list-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: .75rem 1rem;
}

.list-toolbar-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.btn-toolbar-icon {
    height: 2.4rem;
    padding-inline: 0;
    width: 2.4rem;
}

.btn-toolbar-icon-wide {
    width: 3.25rem;
}

.toolbar-icon-badge {
    font-size: .65rem;
    line-height: 1;
    min-width: 1.15rem;
    padding: .18rem .28rem;
    position: absolute;
    right: -.32rem;
    top: -.32rem;
}

.btn:disabled,
.btn.disabled,
.btn[aria-disabled="true"] {
    --bs-btn-bg: transparent !important;
    --bs-btn-border-color: #6c757d !important;
    --bs-btn-color: #6c757d !important;
    --bs-btn-hover-bg: transparent !important;
    --bs-btn-hover-border-color: #6c757d !important;
    --bs-btn-hover-color: #6c757d !important;
    --bs-btn-active-bg: transparent !important;
    --bs-btn-active-border-color: #6c757d !important;
    --bs-btn-active-color: #6c757d !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: #6c757d !important;
    box-shadow: none !important;
    color: #6c757d !important;
    cursor: not-allowed;
    opacity: 1;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-btn-disabled-color: #6c757d;
}

.btn-icon-square:disabled,
.btn-icon-square.disabled,
.btn-icon-square[aria-disabled="true"],
.btn-icon:disabled,
.btn-icon.disabled,
.btn-icon[aria-disabled="true"] {
    --bs-btn-bg: transparent !important;
    --bs-btn-border-color: #6c757d !important;
    --bs-btn-color: #6c757d !important;
    background-color: transparent !important;
    border-color: #6c757d !important;
    color: #6c757d !important;
}

.table-actions .btn.disabled,
.table-actions .btn[aria-disabled="true"] {
    pointer-events: none;
}

.btn:disabled:hover,
.btn.disabled:hover,
.btn[aria-disabled="true"]:hover,
.btn:disabled:focus,
.btn.disabled:focus,
.btn[aria-disabled="true"]:focus {
    background-color: transparent !important;
    border-color: #6c757d !important;
    box-shadow: none !important;
    color: #6c757d !important;
}

.btn-email-list {
    background: var(--seas-blue-50);
    border: 1px solid var(--seas-blue-100);
    color: var(--seas-blue-700);
}

.btn-email-list:hover,
.btn-email-list:focus {
    background: var(--seas-blue-100);
    color: var(--seas-blue-900);
}

.participant-barcode-cell {
    align-items: center;
    display: inline-flex;
    gap: .5rem;
    max-width: 100%;
}

.participant-barcode-toggle {
    flex: 0 0 auto;
}

.participant-barcode-toggle-text {
    display: none;
    font-family: var(--bs-font-monospace);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.participant-barcode-toggle-icon {
    display: inline-flex;
}

.participant-barcode-display {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    gap: .5rem;
    max-width: 100%;
    padding: 0;
    text-align: left;
}

.participant-barcode-text {
    font-family: var(--bs-font-monospace);
    white-space: nowrap;
}

.participant-barcode-graphic {
    align-items: center;
    display: none;
    height: 36px;
}

.participant-barcode-graphic svg,
.participant-barcode-modal-graphic svg {
    color: #111827;
    display: block;
}

.participant-barcode-graphic svg {
    height: 36px;
    max-width: 180px;
    width: auto;
}

.participant-barcode-cell.is-graphic .participant-barcode-text {
    display: none;
}

.participant-barcode-cell.is-graphic .participant-barcode-toggle-icon {
    display: none;
}

.participant-barcode-cell.is-graphic .participant-barcode-toggle-text {
    display: inline-block;
}

.participant-barcode-cell.is-graphic .participant-barcode-graphic {
    display: inline-flex !important;
}

.participant-barcode-modal-stage {
    align-items: center;
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    padding: 1.25rem;
}

.participant-barcode-modal-graphic {
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 100%;
    min-height: 180px;
    width: 100%;
}

.participant-barcode-modal-graphic svg {
    height: 180px;
    max-width: 100%;
    width: auto;
}

.help-markdown-content {
    color: var(--bs-body-color);
}

.help-markdown-content > *:last-child {
    margin-bottom: 0;
}

.help-markdown-content h1,
.help-markdown-content h2,
.help-markdown-content h3,
.help-markdown-content h4 {
    margin-top: 1.75rem;
    margin-bottom: .75rem;
}

.help-markdown-content h1:first-child,
.help-markdown-content h2:first-child,
.help-markdown-content h3:first-child,
.help-markdown-content h4:first-child {
    margin-top: 0;
}

.help-markdown-content p,
.help-markdown-content ul,
.help-markdown-content ol {
    margin-bottom: .85rem;
}

.help-markdown-content ul,
.help-markdown-content ol {
    padding-left: 1.2rem;
}

.help-markdown-content code {
    background: var(--seas-blue-100);
    border-radius: .25rem;
    font-size: .9em;
    padding: .1rem .3rem;
}

.media-picker-field {
    display: grid;
    gap: .5rem;
}

.media-picker-field .form-label {
    margin-bottom: 0;
}

.media-picker {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.25rem !important;
}

.media-picker-preview {
    background: var(--seas-blue-100);
    box-sizing: border-box;
    display: block;
    height: auto;
    max-height: 220px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.media-picker-actions {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.media-picker-actions .btn {
    align-self: flex-start;
}

.media-manager-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.media-manager-item {
    display: grid;
    gap: .6rem;
    padding: .75rem;
}

.media-manager-item img {
    aspect-ratio: 4 / 3;
    background: var(--seas-blue-100);
    border-radius: .35rem;
    object-fit: cover;
    width: 100%;
}

.text-secondary {
    color: #65758b !important;
}

.text-uppercase.small.fw-semibold {
    color: var(--seas-blue-700) !important;
    letter-spacing: .04em;
}

.detail-list dt,
.detail-list dd {
    padding-block: .65rem;
    border-bottom: 1px solid #edf0f4;
}

.detail-list dt:last-of-type,
.detail-list dd:last-of-type {
    border-bottom: 0;
}

.event-card {
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.event-card.is-current {
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
    border-color: #8fb5df !important;
    box-shadow: 0 .65rem 1.8rem rgba(36, 68, 111, .10);
}

.event-card.is-current .h5 a {
    color: var(--seas-blue-900) !important;
}

.event-card:hover {
    border-color: #9bb5d4 !important;
    box-shadow: 0 .5rem 1.5rem rgba(22, 34, 51, .08);
    transform: translateY(-1px);
}

.column-choice {
    min-height: 44px;
    cursor: pointer;
}

.two-factor-qr img {
    max-width: 220px;
}

.column-choice:hover {
    border-color: #b8c7e6 !important;
    background: #f8fbff;
}

.category-transfer-list,
.transfer-list {
    max-height: 22rem;
    overflow: auto;
}

.category-transfer-list ul,
.transfer-list ul {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-transfer-list li label,
.transfer-list li label {
    align-items: center;
    border: 1px solid #dfe7f2;
    border-radius: .35rem;
    cursor: pointer;
    display: flex;
    gap: .5rem;
    min-height: 42px;
    padding: .55rem .65rem;
}

.category-transfer-list li label:hover,
.transfer-list li label:hover {
    background: #f8fbff;
    border-color: #b8c7e6;
}

.form-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
}

.form-tabs .nav-link {
    white-space: nowrap;
    color: #536176;
}

.form-tabs .nav-link.active {
    color: var(--seas-blue-900);
    border-top: 3px solid var(--tab-accent, var(--seas-blue-500));
    font-weight: 600;
}

.layout-form-tabs-shell {
    margin-bottom: 1rem;
}

.layout-settings-panel {
    background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

.layout-settings-panel-header {
    display: flex;
    align-items: center;
}

.layout-form-tabs-header {
    display: flex;
    align-items: end;
    gap: .75rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.layout-form-tabs-header .form-tabs {
    margin-bottom: 0;
    border-bottom: 0;
}

.layout-form-tabs-toggle {
    flex: 0 0 auto;
    margin-bottom: .2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    border-radius: .4rem;
    box-shadow: none;
}

.layout-form-tabs-toggle svg {
    width: .95rem;
    height: .95rem;
}

.layout-form-tabs-toggle:hover,
.layout-form-tabs-toggle:focus-visible {
    background: rgba(148, 163, 184, 0.14);
    color: #334155;
}

.layout-form-tabs-toggle:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.16);
}

.layout-form-tabs-shell.layout-form-tabs-shell-collapsed {
    margin-bottom: 1.5rem;
}

.layout-form-tab-content {
    height: 20rem;
    overflow: hidden;
    padding-bottom: 1rem !important;
}

.layout-form-tab-pane {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: .35rem;
}

.effective-settings-scroll {
    max-height: 2000px;
    overflow-y: auto;
}

.tab-accent-identity {
    --tab-accent: #006fba;
}

.tab-accent-company {
    --tab-accent: #008060;
}

.tab-accent-documents {
    --tab-accent: #7b4ab8;
}

.tab-accent-event {
    --tab-accent: #c77700;
}

.tab-accent-permissions {
    --tab-accent: #c23b55;
}

.tab-accent-notes {
    --tab-accent: #526070;
}

.tab-accent-extra {
    --tab-accent: #9f3a8c;
}

.tab-accent-emails {
    --tab-accent: #007c89;
}

.participant-email-row {
    background: #fbfdff;
}

.participant-email-cell {
    min-width: 0;
}

.participant-email-actions {
    min-width: 0;
}

.participant-email-row.is-marked-delete {
    opacity: .55;
}

.participant-email-row.is-marked-delete td {
    text-decoration: line-through;
}

.participant-companion-primary {
    background: linear-gradient(135deg, #f8fbff, #eef5fd);
    border: 1px solid var(--seas-border);
    border-radius: .75rem;
    padding: .9rem 1rem;
}

.participant-companion-primary-label {
    color: #6c7b90;
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .2rem;
    text-transform: uppercase;
}

.participant-companion-primary-name {
    color: var(--seas-blue-900);
    font-size: 1rem;
    font-weight: 700;
}

.participant-companion-primary-meta {
    color: #536176;
    font-size: .9rem;
    margin-top: .15rem;
}

.participant-service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.participant-service-pill {
    background: #eef5fd;
    border: 1px solid #d4e3f5;
    border-radius: 999px;
    color: var(--seas-blue-900);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1;
    padding: .28rem .55rem;
}

.participant-flag-indicator {
    align-items: center;
    border: 1px solid var(--seas-border);
    border-radius: 999px;
    display: inline-flex;
    height: 1.8rem;
    justify-content: center;
    width: 1.8rem;
}

.participant-flag-indicator svg {
    fill: none;
    height: .95rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: .95rem;
}

.participant-flag-indicator.is-on {
    background: #edf8f1;
    border-color: #b9e1c7;
    color: #1f7a43;
}

.participant-flag-indicator.is-off {
    background: #fbf4f5;
    border-color: #ead1d6;
    color: #a45463;
}

.companion-table-compact {
    white-space: nowrap;
    width: 1%;
}

.participant-email-row.is-marked-delete .form-control,
.participant-email-row.is-marked-delete .form-select,
.participant-email-row.is-marked-delete .form-check-input,
.participant-email-row.is-marked-delete .form-check-label {
    pointer-events: none;
}

.participant-email-delete-toggle.is-active {
    --bs-btn-color: #842029;
    --bs-btn-border-color: #f1aeb5;
    --bs-btn-bg: #f8d7da;
    --bs-btn-hover-color: #842029;
    --bs-btn-hover-bg: #f5c2c7;
    --bs-btn-hover-border-color: #ea868f;
}

.filter-suggestion-field {
    position: relative;
}

.filter-suggestion-menu {
    left: 0;
    max-height: 220px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + .25rem);
    z-index: 1060;
}

.filter-suggestion-menu .list-group-item {
    font-size: .95rem;
}

.template-preview-modal-dialog {
    height: 94vh;
    max-height: 94vh;
}

.template-preview-modal-dialog .modal-content {
    height: 100%;
    max-height: 100%;
}

.template-preview-modal-dialog .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.template-preview-modal-dialog .template-preview-frame-wrapper {
    flex: 1 1 auto;
    height: clamp(34rem, 68vh, 56rem);
    min-height: 34rem;
}

.template-preview-modal-dialog .template-preview-frame-wrapper iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

@media (min-width: 576px) {
    .template-preview-toolbar [data-template-preview-actions] {
        padding-top: 1.95rem;
    }
}

.seat-search-group {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.seat-search-result {
    background: transparent;
    border: 0;
    border-radius: .65rem;
    display: block;
    padding: .25rem;
    text-align: left;
    width: 100%;
}

.seat-search-result:hover,
.seat-search-result:focus,
.seat-search-result.is-highlighted {
    background: #f4f8fd;
    outline: 0;
}

.seat-search-companions {
    border-left: 2px solid #d9e5f4;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-left: .25rem;
    padding-left: .75rem;
}

.seat-search-companions-label {
    color: #6c7b90;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.seat-search-result-companion .fw-medium::before {
    color: #9bb5d4;
    content: "-> ";
}

.seat-search-companion-choice {
    align-items: flex-start;
    display: flex;
    gap: .65rem;
}

.seat-search-companion-choice .form-check-input {
    flex: 0 0 auto;
}

.reservation-status-badge {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: .76rem;
    font-weight: 600;
    gap: .32rem;
    line-height: 1.1;
    padding: .24rem .55rem;
}

.reservation-status-badge::before {
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: .42rem;
    width: .42rem;
}

.reservation-status-normal {
    background: #eef5ff;
    border-color: #cdddff;
    color: #295ba7;
}

.reservation-status-normal::before {
    background: #4a88e8;
}

.reservation-status-hidden {
    background: #f3f4f6;
    border-color: #d6dae1;
    color: #5f6b7a;
}

.reservation-status-hidden::before {
    background: #8b96a6;
}

.reservation-status-blocked {
    background: #fdeeee;
    border-color: #efc1c7;
    color: #a63a49;
}

.reservation-status-blocked::before {
    background: #d54b5f;
}

.reservation-status-reserved {
    background: #fff5df;
    border-color: #f2d28b;
    color: #9a6514;
}

.reservation-status-reserved::before {
    background: #d79a2b;
}

.list-filter-row .form-label {
    font-size: .78rem;
    margin-bottom: .25rem;
}

.pagination-size-label {
    font-size: .78rem;
}

.pagination-size-select {
    font-size: .78rem;
}

@media (min-width: 992px) {
    .list-filter-row {
        flex-wrap: nowrap;
    }

    .list-filter-row > [class*="col-lg-"] {
        flex: 0 0 auto;
    }

    .list-filter-row .form-select,
    .list-filter-row .btn,
    .list-filter-row .form-control {
        min-height: 2.5rem;
    }

    .list-filter-actions {
        align-self: flex-end;
        white-space: nowrap;
    }
}

.template-side-panel {
    position: sticky;
    top: 92px;
}

.template-marker-panel {
    background: #fbfdff;
}

.template-marker-tabs {
    flex-wrap: wrap;
    gap: .35rem;
    overflow: visible;
}

.template-marker-tabs .nav-link {
    font-size: .82rem;
    padding: .4rem .65rem;
}

.template-marker {
    background: transparent;
    border-inline: 0;
}

.template-marker-panel .tab-content {
    max-height: 36rem;
    overflow-y: auto;
    padding-right: .35rem;
}

.template-switch {
    align-items: center;
    background: #f7fbff;
    border: 1px solid var(--seas-border);
    border-radius: .5rem;
    display: flex;
    gap: .75rem;
    min-height: 48px;
    padding: .7rem .9rem .7rem 3.25rem;
}

.template-switch .form-check-input {
    height: 1.25rem;
    margin-left: -2.35rem;
    margin-top: 0;
    width: 2.35rem;
}

.template-switch .form-check-input:checked {
    background-color: var(--seas-blue-700);
    border-color: var(--seas-blue-700);
}

.template-switch .form-check-input:checked + .form-check-label {
    color: var(--seas-blue-900);
}

.template-switch .form-check-label {
    font-weight: 600;
}

.participant-check,
.seas-switch {
    align-items: center;
    background: #f7fbff;
    border: 1px solid var(--seas-border);
    border-radius: .5rem;
    display: flex;
    gap: .75rem;
    min-height: 48px;
    padding: .7rem .9rem .7rem 3.25rem;
}

.form-grid-check-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.form-grid-check-col .participant-check,
.form-grid-check-col .seas-switch {
    width: 100%;
}

.participant-check .form-check-input,
.seas-switch .form-check-input {
    height: 1.25rem;
    margin-left: -2.35rem;
    margin-top: 0;
    width: 2.35rem;
}

.participant-check .form-check-label,
.seas-switch .form-check-label {
    font-weight: 600;
}

.participant-check .form-check-input:checked,
.seas-switch .form-check-input:checked {
    background-color: var(--seas-blue-700);
    border-color: var(--seas-blue-700);
}

.participant-check .form-check-input:checked + .form-check-label,
.seas-switch .form-check-input:checked + .form-check-label {
    color: var(--seas-blue-900);
}

.form-state-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-state-toggle {
    margin-left: auto;
    max-width: 320px;
    min-width: 220px;
    justify-content: flex-end;
}

.form-state-toggle .form-check-label {
    display: flex;
    align-items: center;
}

.form-state-toggle.form-state-toggle-compact {
    border-radius: .4rem;
    min-height: 40px;
    min-width: 0;
    padding: .45rem .7rem .45rem 3.25rem;
    width: auto;
}

@media (max-width: 767.98px) {
    .form-state-header {
        align-items: stretch;
        flex-direction: column;
    }

    .form-state-toggle {
        margin-left: 0;
        max-width: none;
        min-width: 0;
    }
}

.user-menu-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid var(--seas-border);
    border-radius: .7rem;
    color: #6c7b90;
    height: 48px;
    padding: 0 .55rem;
}

.user-menu-toggle:hover,
.user-menu-toggle:focus,
.user-menu-toggle.show {
    background: #f8fbff;
    border-color: var(--seas-border);
    color: var(--seas-blue-700);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--seas-blue-700);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.event-menu-toggle .text-start,
.user-menu-toggle .text-start {
    line-height: 1.1;
}

.user-role {
    font-size: .75rem;
    line-height: 1.1;
}

.profile-form {
    max-width: 820px;
}

.page-actions,
.form-actions {
    flex-wrap: wrap;
}

.page-actions .btn,
.form-actions .btn {
    min-height: 38px;
}

.login-page {
    min-height: 100vh;
    background: #f5f7fb;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
}

.login-brand-panel {
    color: #fff;
    background:
        linear-gradient(140deg, rgba(20, 54, 92, .96), rgba(36, 68, 111, .9)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='2'%3E%3Cpath d='M0 170h900M0 330h900M0 490h900M0 650h900M170 0v900M330 0v900M490 0v900M650 0v900'/%3E%3Ccircle cx='650' cy='240' r='180'/%3E%3Ccircle cx='190' cy='680' r='120'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    padding: clamp(2rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.seas-logo-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-brand-logo {
    width: min(260px, 70vw);
    height: auto;
}

.login-brand-logo-mark {
    width: 64px;
}

.seas-logo-title {
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 800;
}

.seas-logo-subtitle {
    color: rgba(255, 255, 255, .78);
}

.login-brand-copy {
    max-width: 720px;
}

.login-brand-copy h1 {
    max-width: 680px;
    font-size: clamp(2rem, 4vw, 4.25rem);
    line-height: 1.03;
    font-weight: 800;
}

.login-copyright {
    color: rgba(255, 255, 255, .72);
}

.login-card {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    background: #fff;
}

.login-card form {
    max-width: 440px;
}

.login-language {
    max-width: 220px;
}

.btn.btn-outline-secondary.password-toggle {
    border: var(--bs-border-width) solid var(--bs-border-color);
}

@media (max-width: 991.98px) {
    .dashboard-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-hero-actions {
        justify-content: stretch;
    }

    .dashboard-hero-actions .btn {
        width: 100%;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 360px;
        gap: 3rem;
    }

    .login-card {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    main.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar .container {
        align-items: flex-start;
    }

    .navbar-collapse {
        padding-top: .75rem;
    }

    .navbar-collapse form,
    .navbar-collapse .dropdown,
    .navbar-collapse .form-select {
        width: 100%;
    }

    .event-menu-toggle {
        justify-content: flex-start;
        max-width: none;
        width: 100%;
    }

    .event-menu-value {
        max-width: none;
    }

    .current-event-indicator,
    .current-event-summary {
        min-width: 100%;
    }

    .user-menu-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: .5rem;
    }

    .page-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .page-actions .btn {
        width: 100%;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch !important;
    }

    .form-actions .btn {
        width: 100%;
    }

    .table > :not(caption) > * > * {
        padding: .75rem;
        white-space: nowrap;
    }

    .table-responsive {
        border-radius: .5rem;
    }

    .tab-content {
        padding: 1rem !important;
    }

    .form-tabs .nav-link {
        padding: .65rem .85rem;
    }

    .modal-dialog {
        margin: .75rem;
    }

    .login-brand-panel {
        min-height: 300px;
        padding: 1.5rem;
    }

    .login-brand-copy h1 {
        font-size: 2rem;
    }

    .login-card {
        padding: 1.5rem;
    }

    .login-card form,
    .login-language {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    h1.h3 {
        font-size: 1.35rem;
    }

    .seas-logo-subtitle {
        font-size: .875rem;
    }

    .login-brand-logo-mark {
        width: 56px;
    }
}
.template-html-editor-shell {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.875rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.template-html-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.template-html-editor-group {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.625rem;
    background: var(--bs-tertiary-bg);
}

.template-html-editor-mode {
    gap: 0.25rem;
}

.template-html-editor-mode-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--bs-secondary-color);
    padding-inline: 0.65rem;
}

.template-html-editor-mode-button.active {
    background: #fff;
    color: var(--bs-body-color);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.template-html-editor-mode-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    font-size: 0.8125rem;
    font-weight: 700;
}

.template-html-editor-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.template-html-editor-button {
    min-width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--bs-body-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.template-html-editor-button:hover,
.template-html-editor-button:focus-visible {
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
}

.template-html-editor-button.active {
    background: #0d6efd;
    color: #fff;
}

.tiptap-button-icon {
    width: 1rem;
    height: 1rem;
    display: block;
}

.template-html-editor-select-group {
    gap: 0.4rem;
    padding-inline: 0.45rem;
}

.template-html-editor-select-label {
    color: var(--bs-secondary-color);
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

.template-html-editor-select {
    min-width: 8.25rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 1.4rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.template-html-editor-select:focus {
    box-shadow: none;
}

.template-html-editor-hint {
    color: var(--bs-secondary-color);
    font-size: 0.8125rem;
}

.template-html-editor-source {
    font-family: var(--bs-font-monospace);
    min-height: 16rem;
    border-radius: 0.75rem;
}

.template-html-editor-visual {
    min-height: 16rem;
    overflow: auto;
    background: var(--bs-body-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--bs-border-color);
    padding: 0.875rem 1rem;
    line-height: 1.5;
}

.template-html-editor-visual:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    outline: 0;
}

.template-html-editor-visual.is-readonly {
    background: var(--bs-secondary-bg);
}

.template-html-editor-visual h1,
.template-html-editor-visual h2,
.template-html-editor-visual h3,
.template-html-editor-visual h4,
.template-html-editor-visual h5,
.template-html-editor-visual h6 {
    margin-top: 0;
}

.template-html-editor-visual p:last-child,
.template-html-editor-visual ul:last-child,
.template-html-editor-visual ol:last-child,
.template-html-editor-visual blockquote:last-child,
.template-html-editor-visual pre:last-child {
    margin-bottom: 0;
}

.template-html-editor-visual blockquote {
    margin: 0 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
}

.template-html-editor-visual pre {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    overflow: auto;
}

.template-html-editor-visual ul,
.template-html-editor-visual ol {
    padding-left: 1.5rem;
}

.template-html-editor-visual > *:last-child {
    margin-bottom: 0;
}

.template-html-editor-visual .ProseMirror {
    min-height: calc(16rem - 1.75rem);
    outline: none !important;
}

.template-html-editor-visual .ProseMirror p {
    min-height: 1.9rem;
    margin: 0 0 .45rem;
    padding: .22rem .4rem;
    border: 1px dashed rgba(155, 181, 212, .65);
    border-radius: .45rem;
}

.template-html-editor-visual .ProseMirror p:last-child {
    margin-bottom: 0;
}

.template-html-editor-visual .ProseMirror table,
.template-html-editor-visual .seas-editor-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 .75rem;
    table-layout: fixed;
}

.template-html-editor-visual .ProseMirror td,
.template-html-editor-visual .ProseMirror th,
.template-html-editor-visual .seas-editor-table td,
.template-html-editor-visual .seas-editor-table th {
    border: 1px solid rgba(155, 181, 212, .85);
    padding: .45rem .55rem;
    vertical-align: top;
    background: #fff;
}

.template-html-editor-visual .ProseMirror th,
.template-html-editor-visual .seas-editor-table th {
    background: rgba(13, 110, 253, .08);
    font-weight: 700;
}

.template-html-editor-visual .ProseMirror td > p,
.template-html-editor-visual .ProseMirror th > p {
    margin-bottom: 0;
}

.template-html-editor-visual .template-field-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0 .16rem;
    padding: .16rem .5rem;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.35;
    vertical-align: baseline;
    white-space: normal;
}

.template-html-editor-visual .template-action-button-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0 .16rem;
    padding: .18rem .56rem;
    border-radius: .5rem !important;
    box-shadow: none !important;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    vertical-align: baseline;
    white-space: normal;
    color: #0f5132;
    background: #d1e7dd;
    border-color: #8fc5a9 !important;
}

.template-html-editor-visual .template-field-chip.ProseMirror-selectednode {
    outline: 1px dashed var(--seas-blue-500);
    outline-offset: 1px;
}

.template-html-editor-visual .template-action-button-chip.ProseMirror-selectednode {
    outline: 1px dashed #198754;
    outline-offset: 1px;
}

.template-html-editor-error {
    color: var(--bs-danger-text-emphasis);
    background: var(--bs-danger-bg-subtle);
    border-color: var(--bs-danger-border-subtle);
}

.template-html-editor-shell[data-editor-mode="visual"] .template-html-editor-source {
    display: none;
}

.template-html-editor-shell[data-editor-mode="html"] .template-html-editor-visual {
    display: none;
}

.reservation-designer {
    background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
    position: relative;
}

.reservation-designer-toolbar {
    align-items: center;
    background: #f8fbff;
    border: 1px solid var(--seas-border);
    border-radius: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: .6rem .7rem;
}

.reservation-designer-toolbar-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.reservation-designer-toolbar .btn-toolbar-icon {
    height: 2.3rem;
    width: 2.3rem;
}

.reservation-designer-toolbar .btn-toolbar-icon.is-active {
    --bs-btn-bg: var(--seas-blue-700);
    --bs-btn-border-color: var(--seas-blue-700);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--seas-blue-900);
    --bs-btn-hover-border-color: var(--seas-blue-900);
    --bs-btn-hover-color: #fff;
}

.reservation-designer-alert {
    border-radius: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.7rem 0.9rem;
}

.reservation-designer-alert.is-warning {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
}

.reservation-designer-alert.is-success {
    background: #d1e7dd;
    border: 1px solid #a3cfbb;
    color: #0f5132;
}

.reservation-designer-info-panel {
    background: #fff;
    border: 1px solid var(--seas-border);
    border-radius: 0.85rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    min-width: 240px;
    position: absolute;
    right: 1rem;
    top: 7rem;
    width: 260px;
    z-index: 30;
}

.reservation-designer-info-panel-header {
    align-items: center;
    border-bottom: 1px solid var(--seas-border);
    cursor: move;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
}

.reservation-designer-info-panel-close {
    flex: 0 0 auto;
    height: 2rem;
    width: 2rem;
}

.reservation-designer-info-panel-body {
    padding: 0.8rem;
}

.reservation-designer-participant-panel {
    width: 340px;
}

.reservation-designer-participant-list {
    display: grid;
    gap: 0.5rem;
    max-height: 22rem;
    overflow-y: auto;
}

.reservation-designer-participant-item {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid var(--seas-border);
    border-radius: 0.75rem;
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.65rem 0.75rem;
}

.reservation-designer-participant-item:active {
    cursor: grabbing;
}

.reservation-designer-participant-item.is-dragging {
    opacity: 0.55;
}

.reservation-designer-drag-ghost {
    align-items: center;
    background: rgba(15, 23, 42, 0.92);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    left: -9999px;
    pointer-events: none;
    position: fixed;
    top: -9999px;
    width: 2rem;
    z-index: 9999;
}

.reservation-designer-drag-ghost svg {
    display: block;
    height: 1rem;
    width: 1rem;
}

.reservation-designer-participant-name {
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
}

.reservation-designer-participant-meta,
.reservation-designer-participant-help {
    color: #607089;
    font-size: 0.8rem;
}

.reservation-designer-info-list {
    display: grid;
    gap: 0.55rem;
}

.reservation-designer-info-list > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.reservation-designer-info-list dt,
.reservation-designer-info-list dd {
    margin: 0;
}

.reservation-designer-info-list dt {
    color: #607089;
    font-size: 0.88rem;
    font-weight: 600;
}

.reservation-designer-info-list dd {
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
}

.reservation-designer-info-inline-label {
    color: #607089;
    font-size: 0.82rem;
    font-weight: 400;
}

.reservation-designer-surface {
    width: 100%;
    min-height: 520px;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.875rem;
    background: #ffffff;
    overflow: hidden;
    outline: none;
    overscroll-behavior: contain;
    touch-action: none;
}

.reservation-designer-surface:focus {
    border-color: #8fb5df;
    box-shadow: 0 0 0 .2rem rgba(63, 127, 192, .18);
}

.reservation-designer-statusbar {
    align-items: center;
    background: #f8fbff;
    border: 1px solid var(--seas-border);
    border-radius: 0.75rem;
    color: #4b5b73;
    display: flex;
    font-size: 0.9rem;
    justify-content: space-between;
    margin-top: 0.9rem;
    min-height: 2.6rem;
    padding: 0.55rem 0.85rem;
}

.reservation-designer-statusbar-meta {
    align-items: center;
    color: #607089;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .template-html-editor-shell {
        padding: 0.75rem;
    }

    .template-html-editor-toolbar {
        align-items: flex-start;
    }

    .template-html-editor-hint {
        width: 100%;
    }

    .template-html-editor-select-group {
        width: 100%;
    }

    .template-html-editor-select {
        min-width: 0;
        width: 100%;
    }

    .reservation-designer-toolbar {
        justify-content: flex-start;
    }
}
4
