/* Concert cards on the public concerts page and the pass page (artist image + details). */
.concert-card { display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 640px) { .concert-card { flex-direction: row; } }
/* Fixed-size image box: the same size on every card. The whole image is shown (fitted inside, never cut off). */
.concert-media { position: relative; flex-shrink: 0; align-self: flex-start; overflow: hidden; border-radius: 12px;
    margin: 12px 12px 0; width: calc(100% - 24px); height: 180px; border: 1px solid hsl(var(--border) / .7);
    background: linear-gradient(135deg, hsl(var(--primary) / .08), hsl(var(--primary) / .02)); }
@media (min-width: 640px) { .concert-media { margin: 12px; margin-inline-end: 0; width: 160px; height: 120px; } }
.concert-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.concert-media-empty { display: grid; place-items: center; color: hsl(var(--primary) / .55); }
.concert-media-empty svg { width: 32px; height: 32px; }
.concert-body { flex: 1; min-width: 0; padding: 16px 18px 18px; }
@media (min-width: 640px) { .concert-body { padding: 12px 20px; } }
.concert-body h2 { margin-top: 4px; font-size: 18px; line-height: 1.3; }
.concert-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; object-fit: contain; padding: 3px; background: #fff; border: 1px solid hsl(var(--border)); }
@media (max-width: 639px) { .concert-media-empty { display: none; } }
/* Formatted descriptions (from the admin text editor) */
/* An English description on the Arabic site (or the other way round) flows in its own direction. */
.concert-desc, .concert-desc p, .concert-desc li { unicode-bidi: plaintext; }
.concert-desc > * + * { margin-top: .5em; }
.concert-desc ul { list-style: disc; padding-inline-start: 1.25em; }
.concert-desc ol { list-style: decimal; padding-inline-start: 1.25em; }
.concert-desc strong { font-weight: 700; color: hsl(var(--foreground)); }
/* Long descriptions: 3 lines, then "Show more" (toggle in public/assets/app.js). */
.concert-desc-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.concert-desc-clamped.concert-desc-one { -webkit-line-clamp: 1; line-clamp: 1; }
.concert-desc-clamped > * + * { margin-top: 0; }
.concert-desc-clamped p:empty, .concert-desc-clamped br:only-child { display: none; }
.concert-more { margin-top: .4rem; font-size: 12px; font-weight: 600; color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
.concert-more[hidden] { display: none; }
.concert-desc a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
/* Zone picker on the pass page, drawn like the venue seat map (resources/views/site/_zone-map.blade.php). */
.zm { min-width: 0; border: 0; margin: 0; padding: 0; }
.zm-legend { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: hsl(var(--foreground)); }
.zm-map { position: relative; display: flex; gap: 12px; width: max-content; max-width: 100%; box-sizing: border-box; border-radius: 18px; padding: 16px;
    background: radial-gradient(120% 90% at 100% 50%, #3a2e5c 0%, #262a35 55%, #1f222b 100%);
    box-shadow: 0 12px 30px -12px rgb(20 16 40 / .55), inset 0 0 0 1px rgb(255 255 255 / .06); }
.zm-cols { display: flex; flex: 0 1 auto; min-width: 0; gap: 10px; }
.zm-col { display: flex; flex: 0 1 auto; width: 72px; min-width: 0; flex-direction: column; gap: 10px; }
.zm-gap { display: block; width: 100%; aspect-ratio: 4 / 3; }
.zm-stage { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 40px; border-radius: 10px;
    background: linear-gradient(180deg, #14161c, #0d0e12); color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), -6px 0 18px -4px rgb(156 92 255 / .55), inset 3px 0 0 #9c5cff; }
/* VIP seating: rows of white chairs between zone A and the stage (decoration only). */
.zm-vip { position: relative; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; width: 30px; padding: 2px 0; }
.zm-vip-rows { flex: 1; border-radius: 3px; opacity: .8;
    background: repeating-linear-gradient(90deg, #e4e6f0 0 3px, transparent 3px 7px); }
.zm-vip-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 6px 3px; border-radius: 6px;
    background: #1f222b; color: #f3d98b; font-size: 9px; font-weight: 800; letter-spacing: .2em; writing-mode: vertical-rl;
    box-shadow: 0 0 0 1px rgb(243 217 139 / .45); }
.zm-stage-icon { width: 16px; height: 16px; color: #c9a8ff; }
.zm-stage span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.zm-others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.zm-others .zm-cell { width: 72px; }
.zm-cell { position: relative; display: block; cursor: pointer; }
.zm-cell input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.zm-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 8px;
    background-color: var(--zm); color: #fff; line-height: 1.05;
    background-image: radial-gradient(rgb(255 255 255 / .18) 1.3px, transparent 1.7px), linear-gradient(180deg, rgb(255 255 255 / .14), rgb(0 0 0 / .08));
    background-size: 7px 7px, 100% 100%; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .18), 0 2px 4px rgb(0 0 0 / .25);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, opacity .15s; }
.zm-tile b { font-size: clamp(13px, 4.2vw, 19px); font-weight: 800; letter-spacing: .02em; text-shadow: 0 1px 2px rgb(0 0 0 / .3); }
.zm-tile small { margin-top: 3px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.zm-cell:hover .zm-tile { transform: translateY(-2px); filter: brightness(1.1); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .18), 0 8px 16px rgb(0 0 0 / .35); }
.zm-cell input:focus-visible + .zm-tile { box-shadow: 0 0 0 3px #fff, 0 0 0 6px hsl(var(--primary)); }
/* Once a zone is picked, the others step back so the choice stands out. */
.zm:has(input:checked) .zm-cell:not(.zm-off) input:not(:checked) + .zm-tile { opacity: .55; }
.zm:has(input:checked) .zm-cell:hover input:not(:checked) + .zm-tile { opacity: .9; }
.zm-cell input:checked + .zm-tile { transform: scale(1.08); filter: brightness(1.08);
    box-shadow: 0 0 0 3px #fff, 0 0 22px 4px var(--zm), 0 8px 18px rgb(0 0 0 / .4); }
.zm-cell input:checked + .zm-tile::after { content: '✓'; position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 20px; height: 20px;
    border-radius: 999px; background: #fff; color: var(--zm); font-size: 12px; font-weight: 900; box-shadow: 0 2px 5px rgb(0 0 0 / .35); }
.zm-off { cursor: not-allowed; }
.zm-off .zm-tile { background-color: #4b4f5c; color: rgb(255 255 255 / .55); box-shadow: none;
    background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / .07) 0 4px, transparent 4px 8px); }
.zm-off:hover .zm-tile { transform: none; filter: none; box-shadow: none; }
.zm-t0 { --zm: #4f8a34; } .zm-t1 { --zm: #d0663c; } .zm-t2 { --zm: #12a68d; }
.zm-t3 { --zm: #8061b5; } .zm-t4 { --zm: #2f7fd0; } .zm-t5 { --zm: #c0901a; }
.zm-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 11px; font-weight: 600; color: hsl(var(--muted-foreground)); }
.zm-key li { display: inline-flex; align-items: center; gap: 6px; }
.zm-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.zm-key-open { background: linear-gradient(135deg, #4f8a34 0 33%, #d0663c 33% 66%, #12a68d 66%); }
.zm-key-picked { background: #fff; box-shadow: 0 0 0 2px hsl(var(--primary)); }
.zm-key-off { background: repeating-linear-gradient(135deg, #4b4f5c 0 3px, #6b7080 3px 6px); }
.zm-key-vip { background: repeating-linear-gradient(90deg, #c9cdda 0 2px, #2a2d38 2px 4px); }
/* New booking: map + a panel with the picked zone, seats and the button. */
.zm-book { display: grid; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed hsl(var(--border)); }
@media (min-width: 720px) { .zm-book { grid-template-columns: auto minmax(220px, 280px); align-items: center; justify-content: space-between; } }
.zm-panel { border-radius: 16px; border: 1px solid hsl(var(--border)); padding: 18px; background: linear-gradient(180deg, hsl(var(--primary) / .05), transparent 70%), hsl(var(--card)); }
.zm-panel-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: hsl(var(--muted-foreground)); }
.zm-picked { margin-top: 8px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: hsl(var(--muted-foreground)); }
.zm-picked::before { content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; border: 2px dashed hsl(var(--border)); }
.zm-picked-on { font-size: 22px; font-weight: 800; color: hsl(var(--foreground)); }
.zm-picked-on::before { border: 0; background-color: var(--zm, hsl(var(--primary)));
    background-image: radial-gradient(rgb(255 255 255 / .22) 1.2px, transparent 1.6px); background-size: 6px 6px; box-shadow: 0 4px 10px -2px var(--zm); }
@media (max-width: 420px) {
    .zm-map { gap: 8px; padding: 10px; } .zm-cols, .zm-col { gap: 7px; }
    .zm-stage { width: 30px; } .zm-tile small { font-size: 8px; }
    .zm-vip { width: 20px; gap: 6px; } .zm-vip-rows { background: repeating-linear-gradient(90deg, #e4e6f0 0 2px, transparent 2px 5px); }
}
/* Seat selects on the pass page: own arrow with room around it (the browser's arrow sat on the border). */
form[data-zone-seats] select[name="seats"] { -webkit-appearance: none; appearance: none; padding-inline: 16px 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23697386' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
[dir="rtl"] form[data-zone-seats] select[name="seats"] { background-position: left 16px center; }
.zm-panel select[name="seats"] { height: 44px; font-size: 14px; }
/* "Change seats" sits in a narrow column: keep it (and the map inside) within the card on small screens. */
details:has(> form[data-zone-seats]), form[data-zone-seats] { max-width: 100%; min-width: 0; }
