:root {
    --bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --panel: rgba(255, 255, 255, 0.95);
    --panel-strong: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --text: #2d3748;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --muted: #718096;
    --accent: #e53e3e;
    --accent-dark: #c53030;
    --accent-soft: rgba(229, 62, 62, 0.1);
    --success: #38a169;
    --warn: #d69e2e;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --bubble-bot: #ffffff;
    --bubble-user: var(--gradient-accent);
    --button-bg: var(--gradient-secondary);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    background: var(--bg);
    background-attachment: fixed;
    /* overflow: hidden; */
}

.chat-shell {
    max-width: 1024px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(11px);
}

.header {
    margin-bottom: 16px;
}

.subtitle {
    margin: 4px 0 10px;
    font-size: 0.95rem;
    color: #2d3748;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #fff;
    background: #667eea;
    padding: 4px 10px;
    border-radius: 999px;
}

.chat-panel {
    min-height: 240px;
    max-height: 420px;
    overflow: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    background: #f8fbff;
    padding: 14px;
    margin-bottom: 12px;
}

.message {
    margin-bottom: 10px;
    width: fit-content;
    max-width: 85%;
    word-break: break-word;
}

.message.bot {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(102, 126, 234, 0.22);
    border-radius: 16px;
    padding: 10px 12px;
    color: #1e293b;
    align-self: flex-start;
}

.message.user {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    border-radius: 16px;
    padding: 10px 12px;
    align-self: flex-end;
}

.message-text {
    margin: 0;
}

.chat-input-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 12px;
}

.text-input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    outline: none;
}

.send-btn {
    min-width: 110px;
    border: 0;
    border-radius: 10px;
    padding: 12px;
    /* background: linear-gradient(135deg, #667eea, #764ba2); */
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.send-btn:hover {
    transform: translateY(-1px);
}

.loading-dots {
    display: inline-block;
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #667eea;
}

.loading-dots::before,
.loading-dots::after {
    content: '';
    position: absolute;
    top: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #667eea;
    animation: pinger 1.2s infinite ease-in-out;
}

.loading-dots::before {
    left: -12px;
}

.loading-dots::after {
    left: 12px;
    animation-delay: 0.25s;
}

@keyframes pinger {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-6px); opacity: 1; }
}


.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}

.hero-copy,
.hero-stats,
.panel,
.subpanel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-copy {
    padding: 34px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    max-width: 11ch;
}

.hero-text {
    margin: 18px 0 0;
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.65;
}

.eyebrow,
.section-kicker,
.note-chip,
.status-pill,
.table-badge,
.keyword-row span {
    font-family: "IBM Plex Mono", monospace;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-dark);
}

.hero-stats {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.stat-tile {
    background: var(--panel-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
}

.stat-label,
.stat-sub,
.status-helper,
.upload-sub,
.clip-meta,
.copy-card small,
.stack-item span,
.stack-item small,
.summary-card small,
th,
td,
label span,
input,
textarea,
select,
#validationMessage,
.upload-meta,
.clip-item small {
    color: var(--muted);
}

.stat-tile strong {
    display: block;
    margin: 10px 0 6px;
    font-size: 2rem;
}

.workspace {
    display: grid;
    gap: 24px;
}

.panel,
.subpanel {
    padding: 26px;
}

.compact-panel {
    padding: 20px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.panel-head h2,
.subpanel h3,
.clip-card h3 {
    margin: 0;
}

.note-chip,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(198, 93, 46, 0.18);
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 9px 14px;
    font-size: 0.78rem;
}

.campaign-form,
.copy-stack,
.stack-list,
.note-list {
    display: grid;
    gap: 18px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(198, 93, 46, 0.18);
    border-color: rgba(198, 93, 46, 0.3);
}

.platform-picker {
    display: grid;
    gap: 10px;
}

.platform-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.platform-options label {
    display: flex;
    gap: 8px;
    align-items: center;
}

.platform-options input {
    width: auto;
}

.upload-zone {
    padding: 32px 20px;
    text-align: center;
    border: 2px dashed rgba(198, 93, 46, 0.28);
    background: linear-gradient(135deg, rgba(198, 93, 46, 0.08), rgba(255, 255, 255, 0.6));
    border-radius: 24px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.upload-zone:hover,
.upload-zone.dragging {
    transform: translateY(-2px);
    border-color: rgba(198, 93, 46, 0.6);
}

.upload-zone input {
    display: none;
}

.upload-title {
    display: block;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700;
}

.upload-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.clip-list,
.summary-grid,
.breakdown-grid,
.clip-cards,
.profile-list {
    display: grid;
    gap: 16px;
}

.clip-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.clip-item,
.summary-card,
.stack-item,
.copy-card,
.table-wrap,
.clip-card {
    background: var(--panel-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.clip-item {
    padding: 14px 16px;
}

.clip-item span,
.stack-item strong,
.summary-card strong,
.copy-card strong {
    display: block;
    color: var(--text);
}

.form-actions,
.results-actions,
.status-row,
.clip-headline {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.primary-btn,
.ghost-btn {
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent), #e38b57);
    color: #fff9f2;
    box-shadow: 0 16px 28px rgba(198, 93, 46, 0.24);
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.66);
    color: var(--text);
    border: 1px solid var(--border);
}

.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-1px);
}

.primary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.progress-track {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: rgba(73, 48, 24, 0.08);
    overflow: hidden;
}

.progress-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #f1aa72, var(--success));
    transition: width 0.35s ease;
}

.status-row {
    margin-top: 12px;
}

.status-helper {
    margin: 14px 0 0;
    line-height: 1.6;
}

.hidden {
    display: none;
}

.summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 16px;
}

.summary-card {
    padding: 18px;
}

.summary-card strong {
    font-size: 2rem;
    margin: 8px 0 10px;
}

.breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
}

.stack-item {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.table-wrap {
    overflow-x: auto;
}

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

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.table-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.table-badge.ok {
    background: rgba(31, 143, 99, 0.14);
    color: var(--success);
}

.table-badge.warn {
    background: rgba(176, 77, 62, 0.14);
    color: var(--warn);
}

.table-badge.muted {
    background: rgba(73, 48, 24, 0.08);
    color: var(--muted);
}

.clip-cards {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.clip-card {
    overflow: hidden;
}

.clip-card video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #111;
}

.clip-card-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.keyword-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.keyword-row span {
    padding: 6px 10px;
    background: rgba(198, 93, 46, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(198, 93, 46, 0.12);
    font-size: 0.78rem;
}

.copy-card {
    padding: 14px 16px;
}

.copy-card p {
    margin: 10px 0;
    line-height: 1.55;
}

.note-list {
    margin: 10px 0 0;
    padding-left: 18px;
}

.note-list li {
    color: var(--muted);
    line-height: 1.45;
}

@media (max-width: 980px) {
    .hero,
    .grid.two,
    .grid.three,
    .summary-grid,
    .breakdown-grid {
        grid-template-columns: 1fr;
    }

    .panel-head,
    .form-actions,
    .results-actions,
    .status-row,
    .clip-headline,
    .upload-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .page-shell {
        padding: 18px 14px 40px;
    }

    .hero-copy,
    .panel,
    .subpanel,
    .hero-stats {
        padding: 20px;
    }

    .platform-options,
    .clip-list,
    .clip-cards {
        grid-template-columns: 1fr;
    }
}
.notice-panel {
    padding: 18px 22px;
    margin-bottom: 24px;
}

.success-panel {
    border-color: rgba(31, 143, 99, 0.3);
    color: var(--success);
}

.error-panel {
    border-color: rgba(176, 77, 62, 0.3);
    color: var(--warn);
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.connection-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.55;
}

.delivery-note {
    margin-top: 10px;
    color: var(--accent-dark);
    font-size: 0.84rem;
    line-height: 1.5;
}
@media (max-width: 980px) {
    .connection-grid {
        grid-template-columns: 1fr;
    }
}

.field-label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 240, 233, 0.72);
}

.text-input {
  width: 100%;
  border: 1px solid rgba(244, 240, 233, 0.16);
  background: rgba(15, 17, 26, 0.92);
  color: #f4f0e9;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
}

.text-input:focus {
  outline: none;
  border-color: rgba(244, 240, 233, 0.4);
  box-shadow: 0 0 0 3px rgba(244, 240, 233, 0.08);
}

.minimal-shell {
  max-width: 1240px;
}

.compact-hero {
  grid-template-columns: 1.3fr 0.9fr;
}

.compact-connections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.slim-workspace {
  gap: 20px;
}

.planner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.planner-card,
.queue-item,
.empty-state {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.planner-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.planner-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.platform-checks {
  display: grid;
  gap: 10px;
}

.platform-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.platform-check input {
  width: auto;
  margin: 0;
}

.queue-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.queue-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.empty-aware {
  min-height: 180px;
  align-content: start;
}

/* Chat UI override for Event Booking AI */
:root {
  --bg: #071622;
  --panel-bg: #0e1b33;
  --text-light: #eaf1ff;
  --text-muted: #9cb5d6;
  --bubble-user: linear-gradient(130deg, #16c2ff, #0f80ff);
  --bubble-bot: #17375a;
  --button-bg: linear-gradient(135deg, #33d6ff, #5c8dff);
}

body {
  background: radial-gradient(circle at top left, #295cff 0%, #071622 60%);
  color: var(--text-light);
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.chat-shell {
  max-width: 900px;
  margin: 40px auto;
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header {
  padding: 24px 32px;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
}

.chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.chat-panel {
  min-height: 400px;
  max-height: 500px;
  overflow-y: auto;
  padding: 24px;
  background: #fafafa;
  display: grid;
  gap: 16px;
}

.message {
  max-width: 80%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  line-height: 1.6;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.message.bot {
  background: white;
  color: var(--text);
  justify-self: flex-start;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.message.user {
  background: var(--gradient-accent);
  color: white;
  justify-self: flex-end;
  text-align: right;
}

.message-text {
  margin: 0;
}

.message-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.suggestion-chip {
  border: 1px solid rgba(15, 128, 255, 0.16);
  border-radius: 999px;
  background: rgba(15, 128, 255, 0.08);
  color: #0f80ff;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.suggestion-chip:hover {
  transform: translateY(-1px);
  background: rgba(15, 128, 255, 0.14);
  border-color: rgba(15, 128, 255, 0.3);
}

.chat-input-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: white;
}

.text-input {
  width: 100%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text);
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.text-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.send-btn {
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  /* background: var(--gradient-secondary); */
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.results-panel {
  padding: 24px;
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.results-panel h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
}

.event-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.event-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.event-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-details h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}

.event-details h4 {
  margin: 4px 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.event-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

.buy-btn {
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.buy-btn:hover {
  transform: scale(1.05);
}

.event-fav {
  position: absolute;
  top: 12px;
  right: 12px;
}

.fav-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e53e3e;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fav-btn:hover {
  background: rgba(229, 62, 62, 0.1);
}

.message.error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.message strong {
  font-weight: 600;
}

.message em {
  font-style: italic;
  color: var(--muted);
}

.events-grid {
  display: grid;
  gap: 16px;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.no-results img {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.no-results h3 {
  color: var(--text);
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.no-results p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}


.queue-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 12px;
}

.queue-media video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: #111;
}

.queue-body {
  display: grid;
  gap: 6px;
}

.queue-body strong,
.queue-body span {
  color: var(--text);
}

.queue-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state {
  padding: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.message.error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.message strong {
  font-weight: 600;
}

.message em {
  font-style: italic;
  color: var(--muted);
}
.queue-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.queue-headline small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.queue-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.platform-chip strong {
  font-size: 0.9rem;
}

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

.remove-clip-btn {
  color: var(--warn);
  border-color: rgba(176, 77, 62, 0.28);
}

.remove-clip-btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

@media (max-width: 720px) {
  .queue-headline {
    flex-direction: column;
  }
}
.queue-campaign-id {
  display: inline-block;
  margin-top: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.metadata-block {
  display: grid;
  gap: 10px;
}

.metadata-label {
  margin: 0;
}

.meta-upload-zone {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(198, 93, 46, 0.35);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.meta-upload-zone:hover,
.meta-upload-zone.dragging {
  transform: translateY(-1px);
  border-color: rgba(198, 93, 46, 0.65);
}

.meta-upload-zone[data-invalid="true"] {
  border-color: rgba(176, 77, 62, 0.65);
}

.meta-upload-zone input {
  display: none;
}

.meta-upload-title {
  color: var(--text);
  font-weight: 700;
}

.meta-upload-sub,
.metadata-status,
.metadata-preview p,
.metadata-preview small {
  color: var(--muted);
}

.metadata-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.metadata-preview {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.metadata-preview strong {
  display: block;
  margin-bottom: 8px;
}

.metadata-preview p,
.metadata-preview small {
  margin: 0;
  line-height: 1.5;
}

.metadata-clear {
  padding: 10px 14px;
}

.queue-meta-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 143, 99, 0.12);
  color: var(--success);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Modal styles */
.modal {
    display: none;
}

.inline-detail-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--panel-strong);
    padding: 16px;
    margin: 12px 0 20px;
    box-shadow: var(--shadow);
}

.event-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.event-dropdown-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text);
}

.event-dropdown-header .close-dropdown {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
}

.event-dropdown-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    margin-bottom: 16px;
    align-items: start;
}

.event-dropdown-left,
.event-dropdown-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-dropdown-meta p {
    margin: 4px 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.event-description {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.tickets-grid {
    display: grid;
    gap: 12px;
}

.inline-detail-panel {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    background: #fff;
    padding: 20px;
    margin: 12px 0 20px;
    box-shadow: 0 14px 30px rgba(44, 52, 69, 0.13);
}

.event-dropdown-header,
.event-dropdown-body,
.ticket-card {
    color: var(--text);
}

.event-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.event-dropdown-header h3 {
    margin: 0;
    font-size: 1.7rem;
    color: #123456;
}

.event-dropdown-body {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 16px;
    margin-bottom: 18px;
    align-items: start;
}

.event-detail-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    height: 170px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.event-dropdown-meta p {
    margin: 8px 0;
    color: #17233d;
    font-size: 0.92rem;
    line-height: 1.45;
}

.event-dropdown-meta p strong {
    margin-right: 6px;
    color: #2f3f57;
}

.event-description {
    color: #2f3f57;
    font-size: 0.95rem;
    line-height: 1.62;
    margin: 0;
    white-space: pre-wrap;
}

.ticket-card {
    background: #fff;
    border: 1px solid rgba(20, 40, 80, 0.08);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 20px rgba(21, 24, 31, 0.03);
    display: grid;
    gap: 8px;
}

.ticket-card h5 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f253f;
}

.ticket-card .ticket-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e53e3e;
}

.ticket-quantity {
    color: #1c7a18;
    font-weight: 600;
}

.ticket-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 8px;
    gap: 6px;
    padding: 0 8px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #eef4ff;
    color: #1b3b72;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.qty-input {
    width: 46px;
    border: none;
    text-align: center;
    outline: none;
    font-weight: 700;
}

.booking-footer {
    margin-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.booking-summary {
    /* display: flex; */
    gap: 20px;
    color: #17233d;
    font-weight: 600;
}

.book-btn,
.confirm-payment-btn {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    color: #fff;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.book-btn:hover,
.confirm-payment-btn:hover {
    transform: translateY(-1px);
}

.book-btn:disabled,
.confirm-payment-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.booking-result {
    margin-top: 16px;
    border-radius: 12px;
    background: #eef8ff;
    border: 1px solid rgba(20, 103, 210, 0.2);
    padding: 10px;
}

.booking-result pre {
    background: #f4f9ff;
    padding: 10px;
    border-radius: 10px;
    max-height: 320px;
    overflow: auto;
}

.payment-section {
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 12px;
    padding-top: 12px;
}

.card-element {
    border: 1px solid rgba(0,0,0,0.16);
    border-radius: 10px;
    padding: 12px;
    margin: 10px 0;
}

.payment-error {
    margin-top: 10px;
    color: #c72c41;
}

@media(max-width: 900px) {
    .event-dropdown-body {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 650px) {
    .chat-shell {
        margin: 16px;
        padding: 14px;
    }

    .chat-input-form { grid-template-columns: 1fr; }

    .send-btn { width: 100%; }
}


.ticket-card {
    padding: 14px;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: var(--radius-md);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
}

.ticket-header h5 {
    margin: 0;
    font-size: 1rem;
}

.ticket-price {
    font-weight: 700;
    color: var(--accent);
}

.ticket-details p {
    margin: 6px 0;
    color: var(--muted);
}

.ticket-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 8px;
    overflow: hidden;
    width: max-content;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f0f4f8;
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    padding: 4px;
}

.booking-footer {
    margin-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.booking-summary {
    /* display: flex; */
    gap: 16px;
    color: var(--text);
    font-weight: 600;
}

.book-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8a5c);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
}

.book-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.booking-result {
    margin-top: 14px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: rgba(237, 246, 255, 0.85);
    border: 1px solid rgba(98, 150, 255, 0.4);
    color: #0d3d8f;
    font-size: 0.92rem;
    line-height: 1.4;
}

.booking-result .error {
    color: #a82f2f;
}

.payment-section {
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 12px;
    padding-top: 12px;
}

.card-element {
    border: 1px solid rgba(0,0,0,0.16);
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
}

.payment-error {
    margin-top: 8px;
    color: #a82f2f;
}

.select-ticket-btn:hover {
    transform: translateY(-1px);
}

/* Final event drawer polish */
body .message.has-results {
    max-width: 100%;
    width: 100%;
}

body .chat-results-block {
    overflow: visible;
}

body .inline-detail-panel {
    width: 100%;
    max-width: none;
    margin: 14px 0 22px;
    padding: 20px 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(108, 71, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #fbf7ef 0%, #f5efe5 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

body .event-dropdown-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
}

body .event-dropdown-header h3,
body .ticket-section-head h4,
body .booking-summary-head h4,
body .booking-contact-head h4,
body .booking-footer-copy strong {
    color: #203554;
}

body .event-detail-kicker,
body .booking-footer-copy span {
    color: #9b6f42;
}

body .event-dropdown-header h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

body .close-dropdown {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 999px;
    border: 1px solid rgba(32, 53, 84, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: transparent;
    font-size: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

body .close-dropdown::before {
    content: "\00d7";
    display: block;
    color: #4d6685;
    font-size: 1.35rem;
    line-height: 38px;
    text-align: center;
}

body .compact-detail-body {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

body .compact-detail-visual,
body .compact-detail-copy {
    display: grid;
    gap: 12px;
}

body .event-detail-image {
    width: 100%;
    height: 160px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

body .event-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body .meta-chip {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(32, 53, 84, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: #3f5673;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

body .event-description {
    min-height: 120px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(32, 53, 84, 0.08);
    background: rgba(255, 255, 255, 0.82);
    color: #334865;
    font-size: 0.94rem;
    line-height: 1.65;
    display: block;
    white-space: normal;
    overflow: hidden;
}

body .ticket-selection-section,
body .booking-summary-panel,
body .booking-contact,
body .booking-footer,
body .booking-result {
    margin-top: 14px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(32, 53, 84, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
}

body .ticket-section-head,
body .booking-summary-head,
body .booking-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body .ticket-selection-hint,
body .booking-contact-head p {
    margin: 0;
    color: #61758f;
    font-size: 0.84rem;
    line-height: 1.5;
}

body .compact-tickets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 14px;
    width: 700px
}

body .compact-ticket-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(32, 53, 84, 0.08);
    background: #fffdfa;
    box-shadow: none;
}

body .compact-ticket-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

body .ticket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
}

body .ticket-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body .compact-ticket-card h5 {
    margin: 0;
    color: #203554;
    font-size: 1rem;
    line-height: 1.2;
}

body .ticket-caption {
    margin: 0;
    color: #7184a0;
    font-size: 0.8rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body .ticket-price-wrap {
    display: grid;
    gap: 4px;
    /* justify-items: end; */
    /* text-align: right; */
}

body .ticket-price {
    color: #e06a2c;
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body .ticket-quantity {
    display: none !important;
}

body .ticket-qty-control {
    /* width: 100%; */
    justify-content: space-between;
    gap: 10px;
    padding: 4px 10px !important;
    border-radius: 999px;
    border: 1px solid rgba(32, 53, 84, 0.08);
    background: #f5f8fc;
}

body .qty-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(32, 53, 84, 0.08);
    box-shadow: none;
}

body .qty-input {
    width: 44px;
    color: #203554;
    font-size: 0.95rem;
}

body .booking-summary-panel,
body .booking-summary-list {
    display: grid;
    gap: 4px;
}

body .summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #eef4fa;
    color: #304863;
    font-size: 0.9rem;
}

body .summary-line strong,
body .booking-summary > span strong {
    color: #203554;
}

body .booking-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body .booking-summary > span {
    /* min-width: 124px; */
    padding: 6px 10px;
    /* border-radius: 8px; */
    /* border: 1px solid rgba(32, 53, 84, 0.08); */
    /* background: #fffdfa; */
    color: #5c708a;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body .booking-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body .booking-field span {
    color: #5c708a;
    font-size: 0.8rem;
    font-weight: 700;
}

body .booking-contact-input {
    border-radius: 14px;
    border: 1px solid rgba(32, 53, 84, 0.1);
    background: #fffdfa;
    color: #203554;
}

body .booking-footer {
    padding-top: 16px;
}

body .book-btn,
body .confirm-payment-btn {
    min-width: 190px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2180f3, #2dc0f2);
    box-shadow: none;
}

body .payment-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(64, 159, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.98));
}

body .payment-section p {
    margin: 0;
    color: #405873;
    font-size: 0.9rem;
}

body .payment-section p strong {
    color: #203554;
}

body .card-element {
    border-radius: 14px;
    border: 1px solid rgba(32, 53, 84, 0.12);
    background: #ffffff;
    padding: 14px;
}

body .payment-error {
    margin-top: 0;
    font-size: 0.84rem;
}

@media (max-width: 860px) {
    body .compact-detail-body {
        grid-template-columns: 1fr;
    }

    body .event-detail-image {
        height: 170px;
    }
}

@media (max-width: 640px) {
    body .inline-detail-panel {
        padding: 16px;
    }

    body .ticket-section-head,
    body .booking-summary-head,
    body .booking-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    body .booking-contact-grid,
    body .compact-tickets {
        grid-template-columns: 1fr;
    }

    body .book-btn,
    body .confirm-payment-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Compact event details and staged booking flow */
.inline-detail-panel {
    margin: 16px 0 24px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(15, 42, 76, 0.12);
    background:
        radial-gradient(circle at top right, rgba(255, 140, 66, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(246, 249, 253, 0.98));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.event-dropdown-header {
    margin-bottom: 14px;
    align-items: flex-start;
}

.event-dropdown-header h3 {
    max-width: none;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    line-height: 1.05;
}

.compact-detail-body {
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.compact-detail-visual,
.compact-detail-copy {
    display: grid;
    gap: 10px;
}

.event-detail-image {
    height: 118px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.event-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 42, 76, 0.08);
    color: #38506b;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.event-description {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-selection-section,
.booking-summary-panel,
.booking-contact,
.booking-footer,
.booking-result {
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ticket-section-head,
.booking-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ticket-section-head h4,
.booking-summary-head h4,
.booking-contact-head h4 {
    margin: 0;
    font-size: 1.05rem;
}

.ticket-selection-hint,
.booking-contact-head p {
    margin: 0;
    color: #66788f;
    font-size: 0.84rem;
    line-height: 1.45;
}

.compact-tickets {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.compact-ticket-card {
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    box-shadow: none;
}

.compact-ticket-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.ticket-header {
    align-items: flex-start;
    gap: 10px;
}

.ticket-copy {
    min-width: 0;
}

.compact-ticket-card h5 {
    margin: 0 0 4px;
    font-size: 0.98rem;
}

.ticket-caption {
    margin: 0;
    color: #6a7d93;
    font-size: 0.82rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-price-wrap {
    display: grid;
    /* justify-items: end; */
    gap: 6px;
    /* text-align: right; */
}

.ticket-price {
    font-size: 1.12rem;
    letter-spacing: -0.02em;
}

.ticket-quantity {
    padding: 4px 8px;
    font-size: 0.74rem;
}

.ticket-qty-control {
    width: 100%;
    justify-content: space-between;
    padding: 4px 6px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    box-shadow: none;
}

.qty-input {
    width: 40px;
    font-size: 0.95rem;
}

.booking-summary-panel {
    display: grid;
    gap: 12px;
}

.booking-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.booking-summary-list {
    display: grid;
    gap: 8px;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(244, 247, 251, 0.95);
    color: #314158;
    font-size: 0.88rem;
}

.summary-line strong {
    color: #10233d;
    font-size: 0.9rem;
}

.booking-summary {
    gap: 10px;
}

.booking-summary > span {
    min-width: 118px;
    padding: 12px 14px;
}

.booking-summary > span strong {
    font-size: 1.2rem;
}

.booking-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-contact-input {
    padding: 12px 14px;
    border-radius: 14px;
}

.booking-footer-copy {
    display: grid;
    gap: 3px;
}

.booking-footer-copy span {
    color: #6a7d93;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.booking-footer-copy strong {
    color: #10233d;
    font-size: 0.95rem;
}

.book-btn,
.confirm-payment-btn {
    min-width: 180px;
    padding: 12px 18px;
}

.booking-result {
    padding: 14px;
}

@media (max-width: 820px) {
    .compact-detail-body {
        grid-template-columns: 1fr;
    }

    .event-detail-image {
        height: 160px;
    }

    .booking-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .inline-detail-panel {
        padding: 14px;
        border-radius: 18px;
    }

    .ticket-section-head,
    .booking-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .compact-tickets {
        grid-template-columns: 1fr;
    }

    .book-btn,
    .confirm-payment-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (min-width: 721px) {
    body .event-shell {
        width: min(100%, 1600px) !important;
        padding: 32px 24px 64px !important;
    }

    body .event-chat-card {
        width: min(96vw, 1360px) !important;
    }

    body .event-chat-header {
        padding: 24px 28px 18px !important;
    }

    body .chat-panel {
        min-height: 560px !important;
        max-height: 560px !important;
        padding: 24px 26px 28px !important;
        gap: 16px !important;
    }

    body .prompt-bar {
        padding: 26px 18px !important;
    }

    body .chat-input-form {
        padding: 26px 24px !important;
    }

    body .message.has-results {
        max-width: min(100%, 1160px) !important;
    }

    body .event-card {
        grid-template-columns: 150px 1fr !important;
        gap: 18px !important;
        padding: 18px !important;
    }

    body .event-img {
        width: 150px !important;
        height: 150px !important;
    }
}

@media (min-width: 721px) {
    body .event-shell {
        width: min(100%, 1600px) !important;
        padding: 32px 24px 64px !important;
    }

    body .event-chat-card {
        width: min(96vw, 1360px) !important;
    }

    body .event-chat-header {
        padding: 24px 28px 18px !important;
    }

    body .chat-panel {
        min-height: 560px !important;
        max-height: 560px !important;
        padding: 24px 26px 28px !important;
        gap: 16px !important;
    }

    body .prompt-bar {
        padding:26px 18px !important;
    }

    body .chat-input-form {
        padding: 26px 24px !important;
    }

    body .message.has-results {
        max-width: min(100%, 1160px) !important;
    }

    body .event-card {
        grid-template-columns: 150px 1fr !important;
        gap: 18px !important;
        padding: 18px !important;
    }

    body .event-img {
        width: 150px !important;
        height: 150px !important;
    }
}


/* Final ticket drawer overrides */
body .inline-detail-panel {
    margin-top: 10px !important;
    padding: 10px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(249, 246, 239, 0.98), rgba(241, 236, 228, 0.98)) !important;
    border: 1px solid rgba(194, 173, 145, 0.28) !important;
}

body .event-dropdown-header {
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
}

body .event-dropdown-header h3 {
    color: #1c2f4e !important;
    font-size: 1.3rem !important;
    line-height: 1.02 !important;
    margin-left: 10px !important;
}

body .event-dropdown-header .close-dropdown {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #48617d !important;
    border: 1px solid rgba(72, 97, 125, 0.12) !important;
    box-shadow: 0 10px 18px rgba(31, 46, 67, 0.08) !important;
}

body .event-dropdown-body {
    grid-template-columns: minmax(0, 0.4fr) minmax(220px, 0.95fr) !important;
    gap: 12px !important;
    align-items: start !important;
}

body .event-dropdown-left,
body .event-dropdown-right {
    gap: 14px !important;
}

body .event-detail-image {
    width: 100% !important;
    height: 160px !important;
    border-radius: 20px !important;
    object-fit: cover !important;
}

body .event-dropdown-meta {
    display: grid !important;
    gap: 8px !important;
}

body .event-dropdown-meta p {
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #3e526a !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
}

body .event-dropdown-meta p strong {
    display: block !important;
    margin-bottom: 4px !important;
    color: #6f7f92 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

body .event-detail-kicker {
    margin: 0 !important;
    color: #8a6f52 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

body .event-detail-copy,
body .booking-contact,
body .ticket-selection-section {
    padding: 14px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    border: 1px solid rgba(194, 173, 145, 0.18) !important;
}

body .event-description,
body .event-dropdown-right > p {
    color: #30445c !important;
    font-size: 0.9rem !important;
    line-height: 1.58 !important;
}

body .event-detail-actions {
    display: flex !important;
    justify-content: flex-start !important;
}

body .show-tickets-btn,
body .hide-tickets-btn {
    border: none !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    font: inherit !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

body .show-tickets-btn {
    background: linear-gradient(135deg, #16324f, #224f7d) !important;
    color: #f7fbff !important;
    box-shadow: 0 12px 22px rgba(20, 40, 64, 0.18) !important;
}

body .show-tickets-btn:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

body .hide-tickets-btn {
    background: rgba(28, 47, 78, 0.08) !important;
    color: #29415d !important;
}

body .ticket-selection-section.hidden {
    display: none !important;
}

body .ticket-section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

body .ticket-section-head h4 {
    margin: 0 !important;
    color: #1c2f4e !important;
    font-size: 1rem !important;
}

body .compact-tickets {
    display: grid !important;
    gap: 10px !important;
    margin-top: 0 !important;
    width: 700px
}

body .compact-ticket-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: #fffdf9 !important;
    border: 1px solid rgba(194, 173, 145, 0.2) !important;
    box-shadow: none !important;
}

body .compact-ticket-card .ticket-header {
    margin-bottom: 10px !important;
    align-items: center !important;
}

body .compact-ticket-card h5 {
    margin: 0 !important;
    color: #213652 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

body .compact-ticket-card .ticket-price {
    color: #dd6d2f !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
}

body .ticket-qty-control {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    justify-content: space-between;
}

body .qty-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(41, 65, 93, 0.12) !important;
    background: #ffffff !important;
    color: #29415d !important;
}

body .qty-input {
    width: 54px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    text-align: center !important;
    border-radius: 10px !important;
    background: #ffffff !important;
}

body .ticket-empty-state {
    margin: 0 !important;
    color: #5a6d82 !important;
    font-size: 0.86rem !important;
}

body .booking-contact-head h4 {
    color: #1c2f4e !important;
    font-size: 0.98rem !important;
}

body .booking-contact-head p {
    color: #667a91 !important;
    font-size: 0.82rem !important;
}

body .booking-contact-input {
    min-height: 42px !important;
    font-size: 0.88rem !important;
    background: #ffffff !important;
}

body .booking-footer {
    margin-top: 12px !important;
    padding-top: 0 !important;
    border-top: none !important;
}

body .booking-summary {
    color: #2b3f59 !important;
    font-size: 0.86rem !important;
}

body .book-btn {
    padding: 10px 14px !important;
    border-radius: 14px !important;
    font-size: 0.86rem !important;
}

@media (max-width: 720px) {
    body .inline-detail-panel {
        padding: 8px !important;
    }

    body .event-dropdown-header h3 {
        font-size: 1.3rem !important;
        max-width: none !important;
    }

    body .event-dropdown-body {
        grid-template-columns: 1fr !important;
    }

    body .event-detail-image {
        height: 180px !important;
    }

    body .ticket-section-head,
    body .booking-footer {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body .show-tickets-btn,
    body .book-btn {
        width: 100% !important;
    }
}

/* Detail drawer two-step booking flow */
body .inline-detail-panel {
    margin-top: 10px !important;
    padding: 10px !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, rgba(249, 246, 239, 0.98), rgba(241, 236, 228, 0.98)) !important;
    border: 1px solid rgba(194, 173, 145, 0.28) !important;
}

body .event-dropdown-header {
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
}

body .event-dropdown-header h3 {
    color: #1c2f4e !important;
    font-size: 1.3rem !important;
    line-height: 1.02 !important;
}

body .event-dropdown-header .close-dropdown {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #48617d !important;
    border: 1px solid rgba(72, 97, 125, 0.12) !important;
    box-shadow: 0 10px 18px rgba(31, 46, 67, 0.08) !important;
}

body .event-dropdown-body {
    grid-template-columns: minmax(0, 0.4fr) minmax(220px, 0.95fr) !important;
    gap: 12px !important;
    align-items: start !important;
}

body .event-dropdown-left,
body .event-dropdown-right {
    gap: 6px !important;
}

body .event-detail-image {
    width: 100% !important;
    height: 160px !important;
    border-radius: 20px !important;
    object-fit: cover !important;
}

body .event-dropdown-meta {
    display: grid !important;
    gap: 8px !important;
}

body .event-dropdown-meta p {
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #3e526a !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
}

body .event-dropdown-meta p strong {
    display: block !important;
    margin-bottom: 4px !important;
    color: #6f7f92 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

body .event-detail-kicker {
    color: #8a6f52 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

body .event-detail-copy,
body .booking-contact,
body .ticket-selection-section {
    padding: 14px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    border: 1px solid rgba(194, 173, 145, 0.18) !important;
}

body .event-description,
body .event-dropdown-right > p {
    color: #30445c !important;
    font-size: 0.8rem !important;
    line-height: 1.58 !important;
}

body .event-detail-actions {
    display: flex !important;
    justify-content: flex-start !important;
}

body .show-tickets-btn,
body .hide-tickets-btn {
    border: none !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    font: inherit !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

body .show-tickets-btn {
    background: linear-gradient(135deg, #16324f, #224f7d) !important;
    color: #f7fbff !important;
    box-shadow: 0 12px 22px rgba(20, 40, 64, 0.18) !important;
}

body .show-tickets-btn:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

body .hide-tickets-btn {
    background: rgba(28, 47, 78, 0.08) !important;
    color: #29415d !important;
}

body .ticket-selection-section.hidden {
    display: none !important;
}

body .ticket-section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

body .ticket-section-head h4 {
    margin: 0 !important;
    color: #1c2f4e !important;
    font-size: 1rem !important;
}

body .compact-tickets {
    display: grid !important;
    gap: 10px !important;
    margin-top: 0 !important;
}

body .compact-ticket-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: #fffdf9 !important;
    border: 1px solid rgba(194, 173, 145, 0.2) !important;
    box-shadow: none !important;
}

body .compact-ticket-card .ticket-header {
    margin-bottom: 0px !important;
    align-items: center !important;
}

body .compact-ticket-card h5 {
    margin: 0 !important;
    color: #213652 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

body .compact-ticket-card .ticket-price {
    color: #dd6d2f !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
}

body .ticket-qty-control {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    justify-content: space-around;
}

body .qty-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(41, 65, 93, 0.12) !important;
    background: #ffffff !important;
    color: #29415d !important;
}

body .qty-input {
    width: 54px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    text-align: center !important;
    border-radius: 10px !important;
    background: #ffffff !important;
}

body .ticket-empty-state {
    margin: 0 !important;
    color: #5a6d82 !important;
    font-size: 0.86rem !important;
}

body .booking-contact-head h4 {
    color: #1c2f4e !important;
    font-size: 0.98rem !important;
}

body .booking-contact-head p {
    color: #667a91 !important;
    font-size: 0.82rem !important;
}

body .booking-contact-input {
    min-height: 42px !important;
    font-size: 0.88rem !important;
    background: #ffffff !important;
}

body .booking-footer {
    padding-top: 12px !important;
    border-top: none !important;
}

body .booking-summary {
    color: #2b3f59 !important;
    font-size: 0.86rem !important;
}

body .book-btn {
    padding: 10px 14px !important;
    border-radius: 14px !important;
    font-size: 0.86rem !important;
}

@media (max-width: 720px) {
    body .inline-detail-panel {
        padding: 14px !important;
    }

    body .event-dropdown-header h3 {
        font-size: 1.3rem !important;
        max-width: none !important;
    }

    body .event-dropdown-body {
        grid-template-columns: 1fr !important;
    }

    body .event-detail-image {
        height: 140px !important;
    }

    body .ticket-section-head,
    body .booking-footer {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body .show-tickets-btn,
    body .book-btn {
        width: 100% !important;
    }
}

/* Event chat end-of-file overrides */
body .event-shell {
    width: min(100%, 1600px) !important;
    padding: 32px 24px 64px !important;
}

body .event-chat-card {
    width: min(96vw, 1360px) !important;
    border-radius: 30px !important;
}

body .event-chat-header {
    gap: 14px !important;
    padding: 20px 20px 16px !important;
}

body .event-brand-copy h1 {
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

body .event-brand-copy p {
    margin-top: 5px !important;
    font-size: 0.84rem !important;
}

body .event-brand-badge {
    padding: 7px 11px !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.12em !important;
}

body .chat-panel {
    min-height: 560px !important;
    max-height: 560px !important;
    padding: 24px 26px 28px !important;
    gap: 16px !important;
    border-radius: 22px !important;
}

body .message {
    max-width: 86% !important;
    padding: 12px 13px !important;
    border-radius: 10px !important;
}

body .message.user {
    max-width: 80% !important;
}

body .message.has-results {
    max-width: calc(80% - 6px) !important;
    padding: 10px 10px 12px !important;
}

body .message-text {
    font-size: 0.9rem !important;
    line-height: 1.48 !important;
}

body .message-suggestions,
body .prompt-bar {
    gap: 8px !important;
}

body .prompt-bar {
    padding: 26px 18px 5px !important;
}

body .suggestion-chip,
body .prompt-pill {
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
}

body .chat-input-form {
    gap: 8px !important;
    padding:26px 24px !important;
}

body .text-input {
    min-height: 50px !important;
    padding: 0 16px !important;
    font-size: 0.92rem !important;
}

body .send-btn {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 16px !important;
    font-size: 1.05rem !important;
}

body .event-chat-footer {
    padding: 0 14px 16px !important;
    font-size: 0.72rem !important;
}

body .chat-results-block {
    margin-top: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    /* background: rgba(10, 18, 30, 0.26) !important; */
    /* border: 1px solid rgba(255, 255, 255, 0.05) !important; */
}

body .chat-results-head {
    margin-bottom: 9px !important;
    padding: 0 !important;
}

body .chat-results-head strong {
    font-size: 0.94rem !important;
}

body .chat-results-label {
    font-size: 0.68rem !important;
    letter-spacing: 0.14em !important;
}

body .chat-events-list {
    gap: 8px !important;
}

body .event-card {
    grid-template-columns: 84px 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    /* background: linear-gradient(180deg, rgba(14, 20, 30, 0.96), rgba(19, 28, 40, 0.96)) !important; */
    align-items: start !important;
    box-shadow: none !important;
}

body .event-img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 12px !important;
}

body .event-details h3 {
    margin: 0 0 3px !important;
    font-size: 0.95rem !important;
    line-height: 1.22 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body .event-details h4 {
    margin: 0 !important;
    font-size: 0.76rem !important;
    line-height: 1.34 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body .event-bottom {
    margin-top: 0 !important;
    gap: 8px !important;
    align-items: center !important;
}

body .price {
    font-size: 0.84rem !important;
}

body .buy-btn {
    padding: 7px 12px !important;
    font-size: 0.77rem !important;
    border-radius: 30px !important;
    box-shadow: none !important;
}

body .compact-no-results {
    padding: 16px 12px !important;
}

body .compact-no-results h3 {
    font-size: 0.9rem !important;
}

body .compact-no-results p {
    font-size: 0.78rem !important;
}

@media (max-width: 720px) {
    body .event-shell {
        padding: 22px 12px 44px !important;
    }

    body .event-chat-card {
        width: 100% !important;
        border-radius: 24px !important;
    }

    body .event-brand-badge {
        display: none !important;
    }

    body .chat-panel {
        min-height: 430px !important;
        max-height: 430px !important;
    }

    body .message,
    body .message.has-results,
    body .message.user {
        max-width: 100% !important;
    }

    body .event-card {
        grid-template-columns: 72px 1fr !important;
        padding: 9px !important;
    }

    body .event-img {
        width: 72px !important;
        height: 72px !important;
    }
}

/* Final event chat overrides */
body .event-shell {
    width: min(100%, 1240px);
    padding: 42px 20px 68px;
}

body .event-chat-card {
    width: min(100%, 520px);
    border-radius: 30px;
}

body .event-chat-header {
    gap: 14px;
    padding: 20px 20px 16px;
}

body .event-brand {
    gap: 12px;
}

body .event-brand-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 0.95rem;
}

body .event-brand-copy h1 {
    font-size: 1.2rem;
    line-height: 1;
}

body .event-brand-copy p {
    margin-top: 5px;
    font-size: 0.84rem;
}

body .event-brand-badge {
    padding: 7px 11px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}

body .chat-meta {
    padding-top: 12px;
}

body .meta-pill {
    padding: 6px 13px;
    font-size: 0.74rem;
}

body .chat-panel {
    min-height: 470px !important;
    max-height: 470px !important;
    padding: 14px 12px 18px !important;
    gap: 10px !important;
    border-radius: 22px !important;
}

body .chat-panel::-webkit-scrollbar {
    width: 8px;
}

body .chat-panel::-webkit-scrollbar-thumb {
    background: rgba(156, 181, 214, 0.22);
    border-radius: 999px;
}

body .message {
    max-width: 86%;
    padding: 12px 13px !important;
    border-radius: 10px !important;
}

body .message.user {
    max-width: 90%;
}

body .message-text {
    font-size: 0.9rem;
    line-height: 1.48;
}

body .message-suggestions,
body .prompt-bar {
    gap: 8px;
}

body .prompt-bar {
    padding: 14px 14px;
}

body .suggestion-chip,
body .prompt-pill {
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

body .chat-input-form {
    gap: 8px;
    padding: 14px 14px !important;
}

body .text-input {
    min-height: 50px;
    padding: 0 16px !important;
    font-size: 0.92rem;
}

body .send-btn {
    width: 50px;
    height: 50px;
    min-width: 50px !important;
    border-radius: 16px !important;
    font-size: 1.05rem;
}

body .event-chat-footer {
    padding: 0 14px 16px;
    font-size: 0.72rem;
}

body .message.has-results {
    max-width: calc(100% - 6px);
    padding: 10px 10px 12px !important;
}

body .chat-results-block {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    /* background: rgba(10, 18, 30, 0.26); */
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
}

body .chat-results-head {
    margin-bottom: 9px;
    padding: 0;
}

body .chat-results-head strong {
    font-size: 0.94rem;
    color: #f0f0ff;
}

body .chat-results-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

body .chat-events-list {
    gap: 8px;
}

body .event-card {
    grid-template-columns: 84px 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    /* background: linear-gradient(180deg, rgba(14, 20, 30, 0.96), rgba(19, 28, 40, 0.96)) !important; */
    align-items: start;
    box-shadow: none !important;
}

body .event-card:hover {
    transform: translateY(-1px);
}

body .event-img {
    width: 84px;
    height: 84px;
    border-radius: 12px;
}

body .event-details {
    gap: 3px;
}

body .event-details h3 {
    margin: 0 0 3px;
    font-size: 0.95rem;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body .event-details h4 {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.34;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .event-bottom {
    margin-top: 6px;
    gap: 8px;
    align-items: center;
}

body .price {
    font-size: 0.84rem;
}

body .buy-btn {
    padding: 7px 12px;
    font-size: 0.77rem;
    border-radius: 30px;
    box-shadow: none;
}

body .compact-no-results {
    padding: 16px 12px;
}

body .compact-no-results h3 {
    font-size: 0.9rem;
}

body .compact-no-results p {
    font-size: 0.78rem;
}

@media (max-width: 720px) {
    body .event-shell {
        padding: 22px 12px 44px;
    }

    body .event-chat-card {
        width: 100%;
        border-radius: 24px;
    }

    body .event-chat-header {
        padding: 18px 16px 14px;
    }

    body .event-brand-badge {
        display: none;
    }

    body .chat-panel {
        min-height: 430px !important;
        max-height: 430px !important;
    }

    body .message,
    body .message.has-results,
    body .message.user {
        max-width: 100%;
    }

    body .event-card {
        grid-template-columns: 72px 1fr !important;
        padding: 9px !important;
    }

    body .event-img {
        width: 72px;
        height: 72px;
    }

    body .buy-btn {
        padding: 7px 10px;
        font-size: 0.74rem;
    }
}

/* Final chat polish for inline event results */
.event-shell {
    width: min(100%, 1240px);
    padding: 42px 20px 68px;
}

.event-chat-card {
    width: min(100%, 520px);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        var(--event-panel);
}

.event-chat-header {
    gap: 14px;
    padding: 20px 20px 16px;
}

.event-brand {
    gap: 12px;
}

.event-brand-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 0.95rem;
}

.event-brand-copy h1 {
    font-size: 1.2rem;
    line-height: 1;
}

.event-brand-copy p {
    margin-top: 5px;
    font-size: 0.84rem;
}

.event-brand-badge {
    padding: 7px 11px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}

.chat-meta {
    padding-top: 12px;
}

.meta-pill {
    padding: 6px 13px;
    font-size: 0.74rem;
}

.chat-panel {
    min-height: 470px !important;
    max-height: 470px !important;
    padding: 14px 12px 18px !important;
    gap: 10px !important;
}

.chat-panel::-webkit-scrollbar {
    width: 8px;
}

.chat-panel::-webkit-scrollbar-thumb {
    background: rgba(156, 181, 214, 0.22);
    border-radius: 999px;
}

.message {
    max-width: 86%;
    padding: 12px 13px !important;
    border-radius: 18px !important;
}

.message.user {
    max-width: 74%;
}

.message-text {
    font-size: 0.9rem;
    line-height: 1.48;
}

.message-suggestions,
.prompt-bar {
    gap: 8px;
}

.prompt-bar {
    padding: 0 14px 14px;
}

.suggestion-chip,
.prompt-pill {
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

.chat-input-form {
    gap: 8px;
    padding: 0 14px 14px !important;
}

.text-input {
    min-height: 50px;
    padding: 0 16px !important;
    font-size: 0.92rem;
}

.send-btn {
    width: 50px;
    height: 50px;
    min-width: 50px !important;
    border-radius: 16px !important;
    font-size: 1.05rem;
}

.event-chat-footer {
    padding: 0 14px 16px;
    font-size: 0.72rem;
}

.message.has-results {
    max-width: calc(100% - 6px);
    padding: 10px 10px 12px !important;
}

.chat-results-block {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    /* background: rgba(10, 18, 30, 0.26); */
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
}

.chat-results-head {
    margin-bottom: 9px;
    padding: 0;
}

.chat-results-head strong {
    font-size: 0.94rem;
    color: #f0f0ff;
}

.chat-results-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.chat-events-list {
    gap: 8px;
}

.event-card {
    grid-template-columns: 84px 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(14, 20, 30, 0.96), rgba(19, 28, 40, 0.96)) !important;
    align-items: start;
}

.event-card:hover {
    transform: translateY(-1px);
}

.event-img {
    height: 84px;
    border-radius: 12px;
}

.event-details {
    gap: 3px;
}

.event-details h3 {
    margin: 0 0 3px;
    font-size: 0.95rem;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-details h4 {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.34;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-bottom {
    margin-top: 6px;
    gap: 8px;
    align-items: center;
}

.price {
    font-size: 0.84rem;
}

.buy-btn {
    padding: 7px 12px;
    font-size: 0.77rem;
    border-radius: 12px;
    box-shadow: none;
}

.compact-no-results {
    padding: 16px 12px;
}

.compact-no-results h3 {
    font-size: 0.9rem;
}

.compact-no-results p {
    font-size: 0.78rem;
}

@media (max-width: 720px) {
    .event-shell {
        padding: 22px 12px 44px;
    }

    .event-chat-card {
        width: 100%;
        border-radius: 24px;
    }

    .event-chat-header {
        padding: 18px 16px 14px;
    }

    .event-brand-badge {
        display: none;
    }

    .chat-panel {
        min-height: 430px !important;
        max-height: 430px !important;
    }

    .message,
    .message.has-results,
    .message.user {
        max-width: 100%;
    }

    .event-card {
        grid-template-columns: 72px 1fr !important;
        padding: 9px !important;
    }

    .event-img {
        height: 72px;
    }

    .buy-btn {
        padding: 7px 10px;
        font-size: 0.74rem;
    }
}

/* Event Booking AI redesign */
:root {
    --event-bg-1: #0a0a14;
    --event-bg-2: #12121f;
    --event-panel: #12121f;
    --event-panel-soft: #1a1a2e;
    --event-panel-border: rgba(108, 71, 255, 0.2);
    --event-text: #f0f0ff;
    --event-text-soft: #9090b0;
    --event-accent: #6c47ff;
    --event-accent-strong: #9b7aff;
    --event-accent-dark: #4a00e0;
    --event-highlight: #e040fb;
    --event-user: linear-gradient(135deg, #6c47ff, #e040fb);
    --event-bot: #1a1a2e;
    --event-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

body {
    min-height: 100vh !important;
    margin: 0 !important;
    font-family: "Manrope", sans-serif !important;
    color: var(--event-text) !important;
    background:
        radial-gradient(circle at top left, rgba(108, 71, 255, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(224, 64, 251, 0.14), transparent 28%),
        linear-gradient(120deg, var(--event-bg-1), var(--event-bg-2)) !important;
}

.event-shell {
    width: min(100%, 1520px);
    margin: 0 auto;
    padding: 40px 24px 72px;
}

.event-chat-card {
    width: min(100%, 1380px);
    margin: 50px auto;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--event-panel-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        var(--event-panel);
    box-shadow: var(--event-shadow);
    backdrop-filter: blur(16px);
}

.event-chat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 18px;
    background: linear-gradient(135deg, #16103a, #1a1a2e);
    border-bottom: 1px solid rgba(108, 71, 255, 0.25);
}

.event-brand {
    display: flex;
    gap: 14px;
    align-items: center;
}

.event-brand-avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    /* background: linear-gradient(135deg, var(--event-accent), var(--event-highlight)); */
    background-color: #000;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.event-brand-copy h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
    line-height: 1.05;
    color: #f0f0ff;
}

.event-brand-copy p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0;
    color: rgba(244, 241, 234, 0.78);
    font-size: 0.92rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #72f7bb;
    box-shadow: 0 0 12px rgba(114, 247, 187, 0.7);
}

.event-brand-badge {
    align-self: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--event-bg-1);
    color: #fff;
    color: rgba(255, 247, 239, 0.74);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-meta {
    display: flex;
    justify-content: center;
    padding: 14px 18px 0;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--event-text-soft);
    font-size: 0.8rem;
}

.chat-panel {
    min-height: 640px !important;
    max-height: 640px !important;
    margin: 0 !important;
    padding: 22px 22px 26px !important;
    display: grid !important;
    align-content: start;
    gap: 14px;
    overflow-y: auto !important;
    background: transparent !important;
    border: none !important;
}

.message {
    max-width: 84%;
    margin: 0 !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

.message.bot {
    justify-self: start;
    background: var(--event-bot) !important;
    color: var(--event-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.message.user {
    justify-self: end;
    text-align: left !important;
    /* background: var(--event-user) !important; */
    background: #f4f0e9 !important;
    /* color: #fff8f1 !important; */
    color: #000000 !important;
}

.message-text {
    margin: 0 !important;
    line-height: 1.6;
    font-size: 0.98rem;
}

.message-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.suggestion-chip,
.prompt-pill {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--event-text);
    padding: 10px 14px;
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.suggestion-chip:hover,
.prompt-pill:hover,
.buy-btn:hover,
.send-btn:hover,
.book-btn:hover,
.confirm-payment-btn:hover,
.close-dropdown:hover,
.qty-btn:hover {
    transform: translateY(-1px);
}

.suggestion-chip:hover{
    border-color: rgba(108, 71, 255, 0.5);
    background: rgba(108, 71, 255, 0.12);
}

.prompt-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 18px 18px;
}

.chat-input-form {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 14px 14px !important;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.text-input {
    min-height: 54px;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--event-text) !important;
    padding: 0 18px !important;
    font: inherit !important;
}

.text-input::placeholder {
    color: #7f8ca1;
}

.text-input:focus {
    border-color: rgba(108, 71, 255, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.14) !important;
}

.send-btn {
    width: 54px;
    height: 54px;
    min-width: 54px !important;
    border: none !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, var(--event-accent), var(--event-highlight)) !important;
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 800;
    /* box-shadow: 0 12px 26px rgba(242, 140, 82, 0.3) !important; */
}

.event-chat-footer {
    padding: 0 14px 18px;
    text-align: center;
    color: rgba(154, 168, 187, 0.55);
    font-size: 0.76rem;
}

.results-panel {
    width: min(100%, 900px);
    margin: 28px auto 0;
    padding: 0;
    background: transparent !important;
    border-top: none !important;
    display: none !important;
}

.hidden {
    display: none !important;
}

.results-head {
    margin-bottom: 18px;
    padding: 24px 24px 8px;
    border-radius: 28px 28px 0 0;
    border: 1px solid var(--event-panel-border);
    border-bottom: none;
    background: rgba(26, 26, 46, 0.9);
}

.results-label {
    margin: 0 0 8px;
    color: var(--event-highlight);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.results-head h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    color: #f0f0ff;
}

.results-subtitle {
    margin: 10px 0 0;
    color: var(--event-text-soft);
}

.events-grid {
    display: grid;
    gap: 16px;
}

.message.has-results {
    max-width: min(100%, 1120px);
    width: 100%;
    padding: 14px 14px 16px;
}

.chat-results-block {
    margin-top: 12px;
}

.chat-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 0 2px;
    color: #f0f0ff;
}

.chat-results-label {
    color: var(--event-highlight);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.chat-events-list {
    display: grid;
    gap: 14px;
}

.event-card {
    display: grid !important;
    grid-template-columns: 136px 1fr;
    gap: 16px;
    padding: 16px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    border: 1px solid var(--event-panel-border) !important;
    background: rgba(26, 26, 46, 0.92) !important;
    box-shadow: none !important;
}

.event-img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 14px;
}

.event-img-fallback,
.booking-status-image-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(108, 71, 255, 0.2), rgba(224, 64, 251, 0.18));
    color: #f0f0ff;
    font-family: "Space Grotesk", sans-serif;
}

.event-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.event-details h3 {
    margin: 0 0 6px;
    color: #f0f0ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    line-height: 1.25;
}

.event-details h4 {
    margin: 0 0 4px;
    color: var(--event-text-soft);
    font-size: 0.82rem;
    font-weight: 500;
}

.event-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.price {
    color: var(--event-accent-strong);
    font-weight: 700;
    font-size: 0.88rem;
}

.buy-btn,
.book-btn,
.confirm-payment-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--event-accent), var(--event-highlight));
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.82rem;
}

.no-results {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 44px 20px;
    border-radius: 28px;
    border: 1px solid var(--event-panel-border);
    background: rgba(26, 26, 46, 0.9);
    text-align: center;
}

.compact-no-results {
    gap: 8px;
    padding: 18px 14px;
    border-radius: 18px;
}

.compact-no-results h3 {
    font-size: 0.98rem;
}

.compact-no-results p {
    font-size: 0.82rem;
}

.no-results h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    color: #f0f0ff;
}

.no-results p {
    margin: 0;
    color: var(--event-text-soft);
}

.no-results-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(108, 71, 255, 0.14);
    color: var(--event-accent-strong);
    font-size: 1.4rem;
    font-weight: 800;
}

.inline-detail-panel {
    margin: 14px 0 4px !important;
    padding: 24px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: linear-gradient(180deg, #1a1a2e, #12121f) !important;
    box-shadow: none !important;
}

@media (max-width: 720px) {
    .message.has-results {
        max-width: 100%;
    }

    .event-card {
        grid-template-columns: 78px 1fr;
        padding: 10px !important;
    }

    .event-img {
        height: 78px;
    }
}

.event-dropdown-header,
.ticket-header,
.booking-footer,
.booking-status-hero,
.booking-status-grid,
.booking-status-body {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.event-dropdown-header {
    margin-bottom: 20px;
}

.event-dropdown-header h3,
.inline-detail-panel > h4,
.booking-contact-head h4,
.booking-status-hero h4,
.booking-status-details h5 {
    margin: 0;
    color: #f0f0ff;
    font-family: "Space Grotesk", sans-serif;
}

.close-dropdown,
.qty-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--event-text);
    cursor: pointer;
}

.close-dropdown {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.1rem;
}

.event-dropdown-body {
    display: grid !important;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 22px !important;
    margin-bottom: 20px;
}

.event-dropdown-left,
.event-dropdown-right,
.event-dropdown-meta,
.tickets-grid,
.booking-contact-grid {
    display: grid;
    gap: 14px;
}

.event-detail-image,
.booking-status-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
}

.event-dropdown-meta p,
.event-description,
.event-dropdown-right > p,
.ticket-card,
.booking-summary > span,
.booking-contact,
.booking-status-card,
.booking-result,
.payment-section {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
}

.event-dropdown-meta p,
.event-description,
.event-dropdown-right > p,
.ticket-card,
.booking-contact,
.booking-result,
.payment-section,
.booking-status-card {
    padding: 16px;
}

.event-dropdown-meta p,
.event-description,
.event-dropdown-right > p,
.ticket-card p,
.booking-contact-head p,
.booking-field span,
.booking-status-card p,
.payment-section p {
    margin: 0;
    color: var(--event-text-soft);
    line-height: 1.65;
}

.tickets-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ticket-price {
    color: var(--event-accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.ticket-quantity {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(224, 64, 251, 0.12);
    color: var(--event-highlight) !important;
    font-weight: 700;
}

.ticket-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.qty-input,
.booking-contact-input,
.card-element {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(4, 9, 15, 0.25) !important;
    color: var(--event-text) !important;
}

.qty-input {
    width: 54px;
    padding: 8px !important;
    text-align: center;
}

.booking-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

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

.booking-field span {
    color: var(--event-text-soft);
    font-size: 0.86rem;
}

.booking-contact-input {
    padding: 12px 14px !important;
}

.booking-contact-error,
.payment-error,
.error {
    color: #ff8f8f !important;
}

.booking-footer {
    margin-top: 18px;
    flex-wrap: wrap;
}

.booking-summary {
    /* display: flex; */
    gap: 12px;
    flex-wrap: wrap;
}

.booking-summary > span {
    min-width: 128px;
    padding: 14px 16px;
    color: var(--event-text-soft);
}

.booking-summary > span strong {
    display: block;
    margin-top: 4px;
    color: #f0f0ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
}

.booking-status-pill {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(224, 64, 251, 0.12);
    color: var(--event-highlight);
    font-size: 0.8rem;
    font-weight: 700;
}

.booking-status-order {
    color: var(--event-accent-strong);
    font-weight: 700;
}

.booking-status-body {
    /* margin-top: 16px; */
}

.booking-status-image {
    max-width: 180px;
}

.booking-status-grid {
    /* margin-top: 14px; */
    flex-wrap: wrap;
}

.booking-status-grid div {
    min-width: 120px;
}

.booking-status-grid span {
    display: block;
    color: var(--event-text-soft);
    font-size: 0.84rem;
}

.booking-status-grid strong {
    color: #f0f0ff;
}

.loading {
    margin: 0;
    color: var(--event-text-soft);
}

@media (max-width: 720px) {
    .event-shell {
        padding: 28px 14px 56px;
    }

    .event-chat-card {
        width: 100%;
    }

    .event-chat-header,
    .event-dropdown-header,
    .event-bottom,
    .booking-footer,
    .booking-status-body {
        flex-direction: column;
    }

    .event-dropdown-body,
    .event-card,
    .booking-contact-grid {
        grid-template-columns: 1fr !important;
    }

    .chat-panel {
        min-height: 360px !important;
        max-height: 360px !important;
    }

    .send-btn,
    .book-btn,
    .confirm-payment-btn {
        width: 100%;
    }

    .chat-input-form {
        grid-template-columns: 1fr !important;
    }
}

/* AI Event Concierge Refresh */
body {
  background:
    radial-gradient(circle at top left, rgba(70, 228, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 177, 66, 0.18), transparent 24%),
    linear-gradient(180deg, #07131f 0%, #0b1c2b 42%, #edf4fb 42%, #edf4fb 100%);
  color: #132033;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.ai-shell {
  max-width: 1220px;
  margin: 28px auto 54px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(6, 24, 44, 0.18);
  backdrop-filter: blur(18px);
}

.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 22px;
  margin-bottom: 22px;
}

.hero-copy-block,
.metric-card,
.value-card,
.conversation-stage,
.assistant-card,
.results-panel {
  border: 1px solid rgba(19, 32, 51, 0.08);
  box-shadow: 0 20px 50px rgba(17, 34, 58, 0.08);
}

.hero-copy-block {
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 12%, rgba(70, 228, 255, 0.22), transparent 24%),
    linear-gradient(140deg, #081b2d 0%, #0e2740 52%, #10395b 100%);
  color: #f4fbff;
  position: relative;
  overflow: hidden;
}

.hero-copy-block::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 189, 89, 0.34), transparent 66%);
}

.eyebrow-tag,
.section-kicker,
.results-badge,
.metric-label,
.value-step {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-tag {
  margin: 0 0 14px;
  color: #7de9ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-banner h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.hero-banner .subtitle {
  margin: 18px 0 0;
  max-width: 58ch;
  color: rgba(234, 246, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 233, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f4fbff;
  font-size: 0.92rem;
}

.hero-metrics {
  display: grid;
  gap: 18px;
}

.metric-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.96));
}

.metric-label {
  display: block;
  margin-bottom: 10px;
  color: #1089b2;
  font-size: 0.76rem;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: #10213a;
  font-size: 1.18rem;
  line-height: 1.35;
}

.metric-card p {
  margin: 0;
  color: #59708f;
  line-height: 1.6;
}

.ai-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.value-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.value-step {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ff8f34;
  font-size: 0.8rem;
  font-weight: 700;
}

.value-card h3 {
  margin: 0 0 10px;
  color: #10213a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.value-card p {
  margin: 0;
  color: #5a6f8c;
  line-height: 1.6;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.78fr);
  gap: 22px;
  align-items: start;
}

.conversation-stage,
.assistant-card,
.results-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
}

.conversation-stage {
  padding: 22px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-kicker {
  margin: 0 0 8px;
  color: #0d8ab5;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-head h2,
.assistant-card h3,
.results-hero h2 {
  margin: 0;
  color: #10213a;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(12, 144, 187, 0.14), rgba(24, 97, 255, 0.12));
  color: #0f5f86;
  border: 1px solid rgba(15, 95, 134, 0.12);
  white-space: nowrap;
}

.prompt-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.prompt-pill {
  border: 1px solid rgba(16, 137, 178, 0.16);
  border-radius: 999px;
  /* background: linear-gradient(180deg, #f7fcff, #eef7ff); */
  background-color: #fff;
  color: #000;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}



.chat-panel {
  min-height: 640px;
  max-height: 640px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(238, 246, 255, 0.96)),
    radial-gradient(circle at top right, rgba(125, 233, 255, 0.22), transparent 28%);
  border: 1px solid rgba(17, 34, 58, 0.06);
  border-radius: 22px;
}

.message {
  max-width: 78%;
  padding: 16px 18px;
  border-radius: 22px;
  box-shadow: 0 18px 35px rgba(15, 36, 66, 0.08);
}

.message.bot {
  background: #ffffff;
  border: 1px solid rgba(16, 137, 178, 0.12);
  color: #183048;
}

.message.user {
  background: linear-gradient(135deg, #14c8ff, #1562ff);
  color: #f7fbff;
}

.message-text {
  line-height: 1.65;
}

.chat-input-form {
  padding: 18px 0 0;
  background: transparent;
  border-top: none;
  margin-bottom: 0;
}

.text-input {
  min-height: 58px;
  border: 1px solid rgba(17, 34, 58, 0.1);
  background: #fefefe;
  border-radius: 18px;
  color: #10213a;
  /* box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); */
}

.send-btn {
  min-width: 132px;
  border-radius: 18px;
  /* background: linear-gradient(135deg, #ff8c3a, #ff5f7f); */
}

.assistant-rail {
  display: grid;
  gap: 18px;
}

.assistant-card {
  padding: 22px;
}

.assistant-card h3 {
  margin-bottom: 14px;
  font-size: 1.32rem;
}

.assistant-points {
  margin: 0;
  padding-left: 18px;
  color: #5a6f8c;
  line-height: 1.8;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff, #eef6fd);
  border: 1px solid rgba(16, 137, 178, 0.08);
}

.process-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10bde8, #1f63ff);
  color: #fff;
  font-weight: 700;
}

.process-item strong {
  display: block;
  margin-bottom: 4px;
  color: #10213a;
}

.process-item p {
  margin: 0;
  color: #5a6f8c;
  line-height: 1.55;
}

.results-panel {
  margin-top: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 177, 66, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.94);
}

.results-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.results-hero p {
  margin: 10px 0 0;
  color: #5a6f8c;
  line-height: 1.6;
}

.results-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 189, 232, 0.1);
  color: #0d7597;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.events-grid {
  gap: 18px;
}

.event-card {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(16, 137, 178, 0.08);
  box-shadow: 0 20px 40px rgba(17, 34, 58, 0.08);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(17, 34, 58, 0.12);
}

.event-img {
  width: 138px;
  height: 138px;
  border-radius: 20px;
}

.event-details h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.event-details h4 {
  color: #5c6f88;
}

.price {
  color: #ff6a3d;
  font-size: 1.16rem;
}

.buy-btn {
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  /* background: linear-gradient(135deg, #b25bff, #ff5f7f); */
  background: var(--event-user) !important;
  box-shadow: 0 14px 26px rgba(178, 91, 255, 0.22);
  color: #fff;
}

.buy-btn:hover {
  transform: translateY(-1px);
}

.no-results {
  border-radius: 24px;
  padding: 42px 24px;
}
.cust_flex{
    display: flex;
    align-items: center;
}

@media (max-width: 1040px) {
  .hero-banner,
  .experience-grid,
  .ai-value-strip {
    grid-template-columns: 1fr;
  }

  .results-hero,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .ai-shell {
    margin: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .hero-copy-block,
  .conversation-stage,
  .assistant-card,
  .results-panel,
  .value-card,
  .metric-card {
    padding: 18px;
  }

  .hero-banner h1 {
    max-width: none;
    font-size: 2.4rem;
  }

  .chat-input-form {
    grid-template-columns: 1fr;
  }

  .send-btn {
    width: 100%;
  }

  .event-card {
    flex-direction: column;
  }

  .event-img {
    width: 100%;
    height: 220px;
  }

  .event-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .buy-btn {
    width: 100%;
    text-align: center;
  }
}

.booking-status-card {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 22px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
    color: #10233d;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.booking-status-hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.booking-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 128, 255, 0.12);
    color: #0f80ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.booking-status-order {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #314158;
}

.booking-status-hero h4 {
    margin: 10px 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.65rem;
    line-height: 1.02;
    color: #10233d;
}

.booking-status-hero p,
.booking-status-details p {
    margin: 0;
    color: #617287;
    line-height: 1.7;
}

.booking-status-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    align-items: flex-start;
}

.booking-status-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.booking-status-image-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #d9ecff, #fef3e8);
    color: #314158;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.booking-status-details {
    display: grid;
    gap: 10px;
}

.booking-status-details h5 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    color: #10233d;
}

.booking-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-status-grid div {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(15, 42, 76, 0.04);
    border: 1px solid rgba(15, 42, 76, 0.06);
}

.booking-status-grid span {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    color: #6b7c93;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.booking-status-grid strong {
    display: block;
    color: #10233d;
    font-size: 1rem;
}

.booking-confirm-head {
    display: flex;
    align-items: center;
}

.booking-confirm-grid {
    display: flex;
    gap: 0;
}

.booking-confirm-item {
    flex: 1 1 0;
    padding: 0 14px 0 0;
}

.booking-confirm-item:first-child {
    padding-left: 0;
}

.booking-confirm-item:last-child {
    border-right: none;
}

.booking-confirm-item span {
    display: block;
    margin-bottom: 3px;
    font-size: 0.68rem;
    color: #8b9eb5;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
}

.booking-confirm-item strong {
    display: block;
    color: #10233d;
    font-size: 0.85rem;
    font-weight: 700;
    word-break: break-all;
    margin-left: 2px;
}

@media (max-width: 480px) {
    .booking-confirm-grid {
        flex-wrap: wrap;
        gap: 10px;
    }
    .booking-confirm-item {
        flex: 1 1 calc(50% - 10px);
        padding: 0;
        border-right: none;
    }
}

.booking-contact {
    margin-top: 20px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: rgba(255, 255, 255, 0.84);
}

.booking-contact-head h4 {
    margin: 0 0 6px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    color: #10233d;
}

.booking-contact-head p {
    margin: 0;
    color: #617287;
    line-height: 1.6;
}

.booking-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

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

.booking-field span {
    color: #314158;
    font-size: 0.9rem;
    font-weight: 600;
}

.booking-contact-input {
    width: 100%;
    border: 1px solid rgba(15, 42, 76, 0.12);
    border-radius: 14px;
    background: #ffffff;
    color: #10233d;
    padding: 12px 14px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-contact-input:focus {
    border-color: rgba(15, 128, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(15, 128, 255, 0.12);
}

.booking-contact-error {
    margin: 12px 0 0;
    color: #b42318;
    font-weight: 600;
}

.booking-status-success .booking-status-pill {
    background: rgba(24, 121, 78, 0.12);
    color: #18794e;
}

.booking-status-pending .booking-status-pill,
.booking-status-processing .booking-status-pill {
    background: rgba(217, 119, 6, 0.14);
    color: #b45309;
}

.booking-status-cancelled .booking-status-pill,
.booking-status-expired .booking-status-pill,
.booking-status-failed .booking-status-pill {
    background: rgba(180, 35, 24, 0.12);
    color: #b42318;
}

@media (max-width: 720px) {
    .booking-status-body {
        grid-template-columns: 1fr;
    }

    .booking-status-image {
        width: 100%;
        height: 180px;
    }

    .booking-status-grid {
        grid-template-columns: 1fr;
    }

    .booking-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Final final event detail cascade */
.inline-detail-panel {
    margin: 18px 0 28px !important;
    padding: 28px !important;
    border: 1px solid rgba(15, 42, 76, 0.08) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at top right, rgba(255, 140, 66, 0.14), transparent 28%),
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 24%),
        linear-gradient(180deg, #fffdf8 0%, #f6f8fc 100%) !important;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14) !important;
}

.event-dropdown-header {
    align-items: flex-start !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.event-dropdown-header h3 {
    max-width: 18ch;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.04em;
    color: #10233d !important;
}

.event-dropdown-header .close-dropdown {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(16, 35, 61, 0.08) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: transparent !important;
    font-size: 0 !important;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08) !important;
}

.event-dropdown-header .close-dropdown::before {
    content: "\00d7";
    display: block;
    color: #59708e;
    font-size: 1.7rem;
    line-height: 42px;
    text-align: center;
}

.event-dropdown-body {
    grid-template-columns: minmax(240px, 300px) 1fr !important;
    gap: 26px !important;
    margin-bottom: 24px !important;
}

.event-detail-image {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16) !important;
}

.event-dropdown-meta p {
    margin: 0 !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15, 42, 76, 0.08) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
    color: #10233d !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
}

.event-dropdown-meta p strong {
    display: none !important;
}

.event-dropdown-meta p::before {
    display: block;
    margin-bottom: 4px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7c93;
}

.event-dropdown-meta p:nth-child(1)::before {
    content: "Date";
}

.event-dropdown-meta p:nth-child(2)::before {
    content: "Venue";
}

.event-dropdown-meta p:nth-child(3)::before {
    content: "Time zone";
}

.event-dropdown-meta p:nth-child(4)::before {
    content: "Organizer";
}

.event-description,
.event-dropdown-right > p {
    padding: 24px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(15, 42, 76, 0.08) !important;
    background: rgba(255, 255, 255, 0.84) !important;
    color: #314158 !important;
    font-size: 1rem !important;
    line-height: 1.9 !important;
}

.inline-detail-panel > h4 {
    margin-bottom: 14px !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 1.15rem !important;
    color: #10233d !important;
}

.tickets-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 18px !important;
    margin-top: 0 !important;
}

.ticket-card {
    display: grid !important;
    gap: 16px !important;
    padding: 20px !important;
    border: 1px solid rgba(15, 42, 76, 0.08) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.98)) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06) !important;
}

.ticket-header {
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 0 !important;
}

.ticket-header h5,
.ticket-header h4 {
    margin: 0 0 8px !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 1.18rem !important;
    line-height: 1.1 !important;
    color: #10233d !important;
}

.ticket-card p,
.ticket-details p {
    margin: 0 !important;
    color: #617287 !important;
    line-height: 1.65 !important;
}

.ticket-price {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: clamp(1.65rem, 3vw, 2.15rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em;
    color: #e4572e !important;
}

.ticket-quantity {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: fit-content !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: rgba(24, 121, 78, 0.1) !important;
    color: #18794e !important;
    font-weight: 700 !important;
}

.ticket-qty-control {
    gap: 8px !important;
    padding: 4px !important;
    border: 1px solid rgba(15, 42, 76, 0.08) !important;
    border-radius: 999px !important;
    background: #eef3fa !important;
    overflow: visible !important;
}

.qty-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #10233d !important;
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08) !important;
}

.qty-input {
    width: 52px !important;
    background: transparent !important;
    color: #10233d !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 0 !important;
}

.booking-footer {
    margin-top: 24px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(15, 42, 76, 0.08) !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.booking-summary {
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.booking-summary > span {
    display: grid;
    gap: 4px;
    /* min-width: 128px; */
    padding: 14px 16px;
    /* border-radius: 18px; */
    /* border: 1px solid rgba(15, 42, 76, 0.08); */
    /* background: rgba(255, 255, 255, 0.88); */
    color: #617287;
}

.booking-summary > span strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    color: #10233d;
    margin: 0 !important;
}

.book-btn,
.confirm-payment-btn {
    min-width: 220px !important;
    padding: 14px 22px !important;
    border-radius: 999px !important;
    background: var(--event-accent) !important;
    color: #f9fdff !important;
    /* box-shadow: 0 18px 28px rgba(15, 128, 255, 0.24) !important; */
}

.booking-result {
    margin-top: 18px !important;
    padding: 16px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15, 128, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: #23415f !important;
}

.card-element {
    border: 1px solid rgba(15, 42, 76, 0.1) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    padding: 14px !important;
}

.payment-error {
    color: #b42318 !important;
}

@media (max-width: 900px) {
    .event-dropdown-body {
        grid-template-columns: 1fr !important;
    }

    .event-detail-image {
        height: 200px !important;
    }
}

@media (max-width: 640px) {
    .inline-detail-panel {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .event-dropdown-header h3 {
        font-size: 1.8rem !important;
    }

    .tickets-grid {
        grid-template-columns: 1fr !important;
    }

    .ticket-header,
    .booking-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .book-btn,
    .confirm-payment-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Final event detail override */
.inline-detail-panel {
    position: relative;
    overflow: hidden;
    margin: 18px 0 28px;
    padding: 28px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 140, 66, 0.14), transparent 28%),
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 24%),
        linear-gradient(180deg, #fffdf8 0%, #f6f8fc 100%);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

.event-dropdown-header {
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

.event-dropdown-header h3 {
    max-width: 18ch;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #10233d;
}

.event-dropdown-header .close-dropdown {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(16, 35, 61, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: transparent;
    font-size: 0;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.event-dropdown-header .close-dropdown::before {
    content: "\00d7";
    display: block;
    color: #59708e;
    font-size: 1.7rem;
    line-height: 42px;
    text-align: center;
}

.event-dropdown-body {
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 26px;
    margin-bottom: 24px;
}

.event-detail-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
}

.event-dropdown-meta {
    display: grid;
    gap: 12px;
}

.event-dropdown-meta p {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    color: #10233d;
    font-size: 0.98rem;
    line-height: 1.55;
}

.event-dropdown-meta p strong {
    display: none;
}

.event-dropdown-meta p::before {
    display: block;
    margin-bottom: 4px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7c93;
}

.event-dropdown-meta p:nth-child(1)::before {
    content: "Date";
}

.event-dropdown-meta p:nth-child(2)::before {
    content: "Venue";
}

.event-dropdown-meta p:nth-child(3)::before {
    content: "Time zone";
}

.event-dropdown-meta p:nth-child(4)::before {
    content: "Organizer";
}

.event-description,
.event-dropdown-right > p {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: rgba(255, 255, 255, 0.84);
    color: #314158;
    font-size: 1rem;
    line-height: 1.9;
}

.inline-detail-panel > h4 {
    margin-bottom: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    color: #10233d;
}

.tickets-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 0;
}

.ticket-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.98));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.ticket-header {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 0;
}

.ticket-header h5,
.ticket-header h4 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.18rem;
    line-height: 1.1;
    color: #10233d;
}

.ticket-card p,
.ticket-details p {
    margin: 0;
    color: #617287;
    line-height: 1.65;
}

.ticket-price {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #e4572e;
}

.ticket-quantity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(24, 121, 78, 0.1);
    color: #18794e !important;
    font-weight: 700;
}

.ticket-qty-control {
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    border-radius: 999px;
    background: #eef3fa;
    overflow: visible;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #10233d;
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08);
}

.qty-input {
    width: 52px;
    background: transparent;
    color: #10233d;
    font-size: 1rem;
    font-weight: 700;
    padding: 0;
}

.booking-footer {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 42, 76, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}

.booking-summary {
    gap: 12px;
    flex-wrap: wrap;
}

.booking-summary > span {
    display: grid;
    gap: 4px;
    min-width: auto;
    padding: 14px 16px;
    /* border-radius: 18px; */
    /* border: 1px solid rgba(15, 42, 76, 0.08);
    background: rgba(255, 255, 255, 0.88); */
    color: #617287;
}

.booking-summary > span strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    color: #10233d;
}

.book-btn,
.confirm-payment-btn {
    min-width: 220px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f80ff, #16c2ff);
    color: #f9fdff;
    /* box-shadow: 0 18px 28px rgba(15, 128, 255, 0.24); */
}

.booking-result {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 128, 255, 0.14);
    background: rgba(255, 255, 255, 0.88);
    color: #23415f;
}

.card-element {
    border: 1px solid rgba(15, 42, 76, 0.1);
    border-radius: 18px;
    background: #ffffff;
    padding: 14px;
}

.payment-error {
    color: #b42318;
}
.booking-success-note{
    display: flex;
}
@media (max-width: 900px) {
    .event-dropdown-body {
        grid-template-columns: 1fr;
    }

    .event-detail-image {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .inline-detail-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .event-dropdown-header h3 {
        font-size: 1.8rem;
    }

    .tickets-grid {
        grid-template-columns: 1fr;
    }

    .ticket-header,
    .booking-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-btn,
    .confirm-payment-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Event detail redesign override */
.inline-detail-panel {
    position: relative;
    overflow: hidden;
    margin: 18px 0 28px;
    padding: 28px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 140, 66, 0.14), transparent 28%),
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 24%),
        linear-gradient(180deg, #fffdf8 0%, #f6f8fc 100%);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
    animation: eventPanelEnter 0.35s ease;
}

.inline-detail-panel::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, 0.55), rgba(255, 140, 66, 0));
}

.event-dropdown-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

.event-dropdown-header h3 {
    margin: 0;
    max-width: 18ch;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #10233d;
}

.event-dropdown-header .close-dropdown {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(16, 35, 61, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: transparent;
    font-size: 0;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.event-dropdown-header .close-dropdown::before {
    content: "\00d7";
    display: block;
    color: #59708e;
    font-size: 1.7rem;
    line-height: 42px;
    text-align: center;
}

.event-dropdown-header .close-dropdown:hover {
    transform: translateY(-1px);
    background: #ffffff;
}

.event-dropdown-body {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 26px;
    align-items: start;
    margin-bottom: 24px;
}

.event-dropdown-left,
.event-dropdown-right {
    display: grid;
    gap: 16px;
}

.event-detail-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
}

.event-dropdown-meta {
    display: grid;
    gap: 12px;
}

.event-dropdown-meta p {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    color: #10233d;
    font-size: 0.98rem;
    line-height: 1.55;
}

.event-dropdown-meta p strong {
    display: none;
}

.event-dropdown-meta p::before {
    display: block;
    margin-bottom: 4px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7c93;
}

.event-dropdown-meta p:nth-child(1)::before {
    content: "Date";
}

.event-dropdown-meta p:nth-child(2)::before {
    content: "Venue";
}

.event-dropdown-meta p:nth-child(3)::before {
    content: "Time zone";
}

.event-dropdown-meta p:nth-child(4)::before {
    content: "Organizer";
}

.event-dropdown-right {
    min-width: 0;
}

.event-description,
.event-dropdown-right > p {
    margin: 0;
    padding: 24px;
    min-height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #314158;
    font-size: 1rem;
    line-height: 1.9;
    white-space: pre-wrap;
}

.inline-detail-panel > h4 {
    margin: 0 0 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #10233d;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.ticket-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.98));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 0;
}

.ticket-header h5,
.ticket-header h4 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.18rem;
    line-height: 1.1;
    color: #10233d;
}

.ticket-card p,
.ticket-details p {
    margin: 0;
    color: #617287;
    line-height: 1.65;
}

.ticket-price {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #e4572e;
}

.ticket-quantity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(24, 121, 78, 0.1);
    color: #18794e !important;
    font-weight: 700;
}

.ticket-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 4px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    border-radius: 999px;
    background: #eef3fa;
    overflow: visible;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #10233d;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.qty-btn:hover {
    transform: translateY(-1px);
    background: #f9fbff;
}

.qty-input {
    width: 52px;
    border: none;
    background: transparent;
    color: #10233d;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    padding: 0;
}

.booking-footer {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 42, 76, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.booking-summary {
    /* display: flex; */
    gap: 12px;
    flex-wrap: wrap;
}

.booking-summary > span {
    display: grid;
    gap: 4px;
    /* min-width: 128px; */
    padding: 14px 16px;
    /* border-radius: 18px; */
    /* border: 1px solid rgba(15, 42, 76, 0.08); */
    /* background: rgba(255, 255, 255, 0.88); */
    color: #617287;
}

.booking-summary > span strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    color: #10233d;
}

.book-btn,
.confirm-payment-btn {
    min-width: 220px;
    padding: 14px 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f80ff, #16c2ff);
    color: #f9fdff;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 28px rgba(15, 128, 255, 0.24);
}

.book-btn:hover,
.confirm-payment-btn:hover {
    transform: translateY(-2px);
}

.book-btn:disabled,
.confirm-payment-btn:disabled,
.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.booking-result {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 128, 255, 0.14);
    background: rgba(255, 255, 255, 0.88);
    color: #23415f;
}

.booking-result pre {
    margin: 12px 0 0;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 76, 0.08);
    background: #f7faff;
}

.payment-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.card-element {
    border: 1px solid rgba(15, 42, 76, 0.1);
    border-radius: 18px;
    background: #ffffff;
    padding: 14px;
}

.payment-error {
    margin-top: 10px;
    color: #b42318;
}

@keyframes eventPanelEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .event-dropdown-body {
        grid-template-columns: 1fr;
    }

    .event-detail-image {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .inline-detail-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .event-dropdown-header {
        gap: 12px;
    }

    .event-dropdown-header h3 {
        font-size: 1.8rem;
    }

    .tickets-grid {
        grid-template-columns: 1fr;
    }

    .ticket-header,
    .booking-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-btn,
    .confirm-payment-btn {
        width: 100%;
        min-width: 0;
    }
}

@media(max-width: 860px) {
    .event-dropdown-body {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px) {
    .event-dropdown-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Event Details Modal Styles */
.event-detail-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.event-detail-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.event-detail-info h2 {
    margin: 0 0 15px 0;
    color: var(--text);
    font-size: 1.8rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.95rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.event-description {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.tickets-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.ticket-card {
    background: var(--panel-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ticket-header h4 {
    margin: 0;
    color: var(--text);
    font-size: 1.2rem;
}

.ticket-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent);
}

.ticket-details p {
    margin: 8px 0;
    color: var(--muted);
    line-height: 1.5;
}

.ticket-quantity {
    font-weight: 500;
    color: var(--success) !important;
}

.ticket-type {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(198, 93, 46, 0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.select-ticket-btn {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease;
    width: 100%;
    margin-top: 15px;
}

.select-ticket-btn:hover {
    transform: translateY(-1px);
}

/* ===================================================
   BROAD CHAT WINDOW + COMPACT DETAILS + NEW UI
   =================================================== */

/* 1. Broad chat window */
@media (min-width: 721px) {
  body .event-chat-card,
  .event-chat-card {
    width: min(98vw, 1200px) !important;
  }

  body .chat-panel,
  .chat-panel {
    min-height: 500px !important;
    max-height: 500px !important;
  }
}

/* 2. Compact event detail panel */
.inline-detail-panel {
  padding: 16px !important;
  margin: 10px 0 16px !important;
}

.event-dropdown-header {
  margin-bottom: 12px !important;
}

.event-dropdown-header h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
  max-width: none !important;
}

.event-dropdown-body {
  grid-template-columns: minmax(130px, 160px) 1fr !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.event-detail-image {
  height: 120px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.event-dropdown-meta {
  gap: 6px !important;
}

.event-dropdown-meta p {
  padding: 7px 10px !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.event-description,
.event-dropdown-right > p {
  padding: 10px 12px !important;
  max-height: 90px !important;
  overflow-y: auto !important;
  line-height: 1.55 !important;
  font-size: 0.85rem !important;
  min-height: 0 !important;
  border-radius: 14px !important;
}

/* Compact ticket list */
.ticket-selection-section,
.booking-summary-panel,
.booking-contact,
.booking-footer,
.booking-result {
  margin-top: 10px !important;
  padding: 12px !important;
  border-radius: 8px !important;
}

.ticket-section-head {
  margin-bottom: 8px !important;
}

.ticket-section-head h4,
.booking-summary-head h4,
.booking-contact-head h4 {
  font-size: 0.9rem !important;
}

.tickets-grid,
.compact-tickets {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.ticket-card,
.compact-ticket-card {
  padding: 9px 11px !important;
  border-radius: 12px !important;
  gap: 7px !important;
  box-shadow: none !important;
}

.ticket-card:hover,
.compact-ticket-card:hover {
  transform: none !important;
  box-shadow: 0 4px 10px rgba(15,23,42,0.07) !important;
}

.ticket-header h5,
.ticket-header h4 {
  font-size: 0.86rem !important;
  margin-bottom: 2px !important;
}

.ticket-price {
  font-size: 0.9rem !important;
}

.qty-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
}

.qty-input {
  width: 40px !important;
  font-size: 0.85rem !important;
}

/* 3. Staged booking – Continue to Booking button */
.summary-continue-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.continue-booking-btn {
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #0f80ff, #16c2ff);
  color: #f9fdff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(15, 128, 255, 0.22);
}

.continue-booking-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 128, 255, 0.3);
}

/* 4 & 5. Post-booking actions */
.booking-post-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 42, 76, 0.08);
  display: grid;
  gap: 10px;
}

.ticket-sent-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(24, 121, 78, 0.08);
  border: 1px solid rgba(24, 121, 78, 0.16);
  color: #18794e;
  font-size: 0.85rem;
  line-height: 1.4;
}

.ticket-sent-notice strong {
  color: #145e3a;
}

.post-booking-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-ticket-btn {
  flex: 1;
  min-width: 140px;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #0f80ff, #16c2ff);
  color: #f9fdff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 8px 16px rgba(15, 128, 255, 0.2);
}

.download-ticket-btn:hover {
  transform: translateY(-1px);
}

/* 6. Close session button */
.close-session-btn {
  border: 1px solid rgba(15, 42, 76, 0.14);
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #314158;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.close-session-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

@media (max-width: 640px) {
  .post-booking-btn-row {
    flex-direction: column;
  }

  .download-ticket-btn,
  .close-session-btn {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .event-dropdown-body {
    grid-template-columns: 1fr !important;
  }

  .event-detail-image {
    height: 140px !important;
    width: 100% !important;
  }
}

.view-more-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.view-more-btn {
  background: linear-gradient(90deg,
    #111111 25%,
    #333333 50%,
    #111111 75%
  );
  background-size: 1200px 100%;
  animation: shimmer 1.4s infinite linear;
  border: 0;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 0.85rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.15s;
}

/* ── Skeleton loader ─────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.skel {
  border-radius: 6px;
  background: linear-gradient(90deg,
    var(--skel-base, #2a2a2a) 25%,
    var(--skel-shine, #3e3e3e) 50%,
    var(--skel-base, #2a2a2a) 75%
  );
  background-size: 1200px 100%;
  animation: shimmer 1.4s infinite linear;
}

.event-skeleton {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-skeleton-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.skel-title  { height: 20px; width: 55%; border-radius: 5px; }
.skel-close  { height: 28px; width: 28px; border-radius: 50%; flex-shrink: 0; }

.event-skeleton-body {
  display: grid;
  grid-template-columns: minmax(100px, 220px) 1fr;
  gap: 16px;
  align-items: start;
}

.skel-image {
  height: 150px;
  width: 100%;
  border-radius: 8px;
}

.event-skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.skel-line        { height: 13px; border-radius: 4px; }
.skel-line.w50    { width: 50%; }
.skel-line.w60    { width: 60%; }
.skel-line.w70    { width: 70%; }
.skel-line.w80    { width: 80%; }
.skel-line.w90    { width: 90%; }

.skel-btn {
  height: 34px;
  width: 110px;
  border-radius: 20px;
  align-self: center;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .event-skeleton-body {
    grid-template-columns: 1fr;
  }
  .skel-image {
    height: 120px;
  }
}
