/* Blaze Ads — formulaire de réservation. Neutre pour s'adapter au thème ; accent aux couleurs Blaze. */
.blz-book {
  --blz-a1: #ffb21a; --blz-a2: #ff2d6f; --blz-accent: #ff5a36;
  --blz-ink: #1d1d22; --blz-muted: #6b6b76; --blz-line: rgba(0,0,0,.12); --blz-bg: #fff; --blz-soft: rgba(0,0,0,.035);
  --blz-ok: #0f8a4b; --blz-ko: #c62828; --blz-warn: #a86a00;
  font: inherit; color: var(--blz-ink); max-width: 1080px; margin-left: auto; margin-right: auto; container-type: inline-size;
}
.blz-book *, .blz-book *::before, .blz-book *::after { box-sizing: border-box; }
.blz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@container (max-width: 780px) { .blz-grid { grid-template-columns: 1fr; } }
.blz-card { background: var(--blz-bg); border: 1px solid var(--blz-line); border-radius: 16px; padding: 22px; }
.blz-side { display: grid; gap: 16px; position: sticky; top: 24px; }
@container (max-width: 780px) { .blz-side { position: static; } }
.blz-h { margin: 22px 0 12px; font-size: 1.1em; font-weight: 700; }
.blz-main > .blz-h:first-child, .blz-pay > .blz-h:first-child { margin-top: 0; }
.blz-field { display: grid; gap: 6px; margin-bottom: 14px; }
.blz-field label, .blz-label { font-weight: 600; font-size: .92em; }
.blz-field small, .blz-label small { font-weight: 400; color: var(--blz-muted); }
.blz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@container (max-width: 520px) { .blz-row { grid-template-columns: 1fr; } }
.blz-book input[type="text"], .blz-book input[type="email"], .blz-book input[type="url"], .blz-book input[type="date"], .blz-book select {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--blz-line); border-radius: 10px; background: var(--blz-bg); color: inherit; font: inherit;
}
.blz-book input:focus, .blz-book select:focus { outline: 2px solid var(--blz-accent); outline-offset: 1px; border-color: transparent; }
.blz-hidden, .blz-hp { display: none !important; }
.blz-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.blz-seg button { position: relative; display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 1px solid var(--blz-line); border-radius: 12px; background: var(--blz-bg); color: inherit; font: inherit; cursor: pointer; }
.blz-seg button span { color: var(--blz-muted); font-size: .9em; }
.blz-seg button.on { border-color: var(--blz-accent); box-shadow: 0 0 0 1px var(--blz-accent) inset; background: color-mix(in srgb, var(--blz-accent) 6%, var(--blz-bg)); }
/* Both the badge and the monthly-vs-weekly explanation inherit the admin-selected color. */
.blz-seg em { display: inline-block; justify-self:start; margin-top:7px; font-style:normal; font-size:.83em; font-weight:800; letter-spacing:.01em; color:var(--rsads-saving-fg, #101316); background:var(--rsads-saving-bg, #c1f243); padding:5px 10px; border-radius:0; }
.blz-saving-note { display:block; margin:-4px 0 15px; padding:10px 12px; border-left:3px solid var(--rsads-saving-bg, #c1f243); color:var(--blz-muted); font-size:.88em; line-height:1.5; }
.blz-saving-note[hidden] { display:none!important; }
.blz-avail { margin: -2px 0 6px; font-size: .92em; color: var(--blz-muted); min-height: 1.4em; }
.blz-avail.ok { color: var(--blz-ok); } .blz-avail.ko { color: var(--blz-ko); }
.blz-link { border: 0; background: none; padding: 0; color: var(--blz-accent); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.blz-drop { position: relative; display: grid; place-items: center; min-height: 92px; padding: 16px; border: 2px dashed var(--blz-line); border-radius: 12px; text-align: center; color: var(--blz-muted); cursor: pointer; transition: border-color .15s, background .15s; }
.blz-drop.over, .blz-drop:hover { border-color: var(--blz-accent); background: var(--blz-soft); }
.blz-drop b { color: var(--blz-ink); }
.blz-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.blz-hint { margin: 0; font-size: .88em; color: var(--blz-muted); min-height: 1.2em; }
.blz-hint.ok { color: var(--blz-ok); } .blz-hint.ko { color: var(--blz-ko); } .blz-hint.warn { color: var(--blz-warn); }
.blz-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: .95em; }
.blz-check input { margin-top: 3px; flex: none; }
.blz-total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.05em; }
.blz-total-line strong { font-size: 1.6em; }
.blz-total-line small { color: var(--blz-muted); }
.blz-total-sub { color: var(--blz-muted); font-size: .88em; margin-top: 4px; }
.blz-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 16px; padding: 12px 20px; border: 0; border-radius: 99px;
  background: linear-gradient(135deg, var(--blz-a1), var(--blz-a2)); color: #fff !important; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(255,61,90,.28); }
.blz-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.blz-btn.busy { opacity: .7; pointer-events: none; }
.blz-error { color: var(--blz-ko); font-size: .92em; margin: 10px 0 0; min-height: 1em; }
.blz-secure, .blz-note { color: var(--blz-muted); font-size: .82em; margin: 10px 0 0; line-height: 1.45; }
.blz-msg { text-align: center; }
.blz-wait { font-weight: 600; color: var(--blz-ok); }
.blz-sumup { margin: 18px 0 4px; min-height: 200px; }
.blz-pay { max-width: 560px; margin: 0 auto; }

/* preview of the ad inside the player's queue column */
.blz-preview { display: grid; gap: 4px; }
.blz-mock { background: #18181d; border-radius: 16px; padding: 12px; display: grid; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.blz-mock-head { display: flex; gap: 6px; } .blz-mock-head span { height: 8px; border-radius: 4px; background: #34343c; flex: 1; } .blz-mock-head span:first-child { flex: 3; background: #4a4a54; }
.blz-mock-rows { display: grid; gap: 6px; } .blz-mock-rows i { display: block; height: 20px; border-radius: 6px; background: #24242b; } .blz-mock-rows i:first-child { background: #33282a; box-shadow: inset 3px 0 0 #ff5a36; }
.blz-mock-ad { position: relative; }
.blz-mock-ad b { position: absolute; top: 6px; right: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(10,10,14,.72); color: #c9c9d2; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.blz-mock-img { aspect-ratio: 297 / 210; border-radius: 10px; background: #0e0e12 center / cover no-repeat; display: grid; place-items: center; text-align: center; color: #7d7d88; font-size: .85em; border: 1px dashed #3a3a44; }
.blz-mock-img.has { border: 0; } .blz-mock-img.has span { display: none; }
.blz-mock-ad.solo .blz-mock-img { border: 0; }
.blz-mock-eq { display: flex; gap: 3px; align-items: flex-end; height: 34px; }
.blz-mock-eq i { flex: 1; border-radius: 2px; background: linear-gradient(#ff2d6f, #ffb21a); opacity: .85; }
.blz-mock-eq i:nth-child(3n) { height: 70%; } .blz-mock-eq i:nth-child(3n+1) { height: 40%; } .blz-mock-eq i:nth-child(3n+2) { height: 90%; } .blz-mock-eq i:nth-child(5n) { height: 25%; }

/* tracking page */
.blz-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .8em; font-weight: 700; color: #fff; background: #8c8f94; }
.blz-badge.active { background: var(--blz-ok); } .blz-badge.scheduled { background: #2271b1; } .blz-badge.review, .blz-badge.awaiting { background: #b07a00; }
.blz-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0 0; }
.blz-dl dt { color: var(--blz-muted); } .blz-dl dd { margin: 0; overflow-wrap: anywhere; }
.blz-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 6px; }
.blz-stats strong { display: block; font-size: 1.4em; } .blz-stats span { color: var(--blz-muted); font-size: .85em; }

/* For website placements, the preview represents a site card rather than a player queue. */
.blz-preview--web .blz-mock-rows, .blz-preview--web .blz-mock-eq { display:none; }
.blz-preview--web .blz-mock-head span { background:#3b3c46; }
.blz-preview--web .blz-mock { padding:12px; }
.blz-preview--web .blz-mock-ad b { font-size:9px; }

/* A visible, accessible fallback when JavaScript has not initialized yet. */
.blz-book .blz-startup { min-height: 88px; display: flex; justify-content: center; align-items: center; }

/* File rules remain readable even when the page uses a dark appearance. */
.blz-file-specs { font-size:.94em; line-height:1.6; color:var(--blz-muted); padding:10px 14px; margin:3px 0 12px; border-left:3px solid var(--blz-accent); background:var(--blz-soft); }
.blz-startup {color:var(--blz-muted)}

/* RS-ADS network-wide booking hint */
#blz-book .blz-network-note { margin: 8px 0 0; padding: 10px 12px; border-left: 3px solid currentColor; font-size: .87rem; line-height: 1.5; opacity: .82; }
#blz-book .blz-network-note[hidden] { display: none !important; }
