/* Srishti Seat Booking – front end (navy / amber; uses theme colours when available). */
.ssb { --n: var(--wp--preset--color--primary, #0E2257); --a: var(--wp--preset--color--amber, #F5A81C); --r: var(--wp--preset--color--accent, #C81E2B); --b: var(--wp--preset--color--blue, #1B4B9F); --line: #DDE6F5; --muted: #5B6785; --pg: #ECF3FB;
	font-family: var(--wp--preset--font-family--body, inherit); color: #14213D; max-width: 1180px; margin: 0 auto; font-size: 15px; }
.ssb *, .ssb *::before, .ssb *::after { box-sizing: border-box; }
.ssb h2, .ssb h3 { font-family: var(--wp--preset--font-family--heading, inherit); text-transform: uppercase; color: var(--n); margin: 0; }
.ssb-badge { display: inline-block; background: var(--a); color: var(--n); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
.ssb-badge.is-red { background: var(--r); color: #fff; }
.ssb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ssb-title { font-size: clamp(28px, 4vw, 40px); margin-top: 6px !important; }
.ssb-sub { color: var(--muted); margin: 4px 0 0; }
.ssb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--n); color: #fff !important; border: 2px solid var(--n); border-radius: 6px; padding: 11px 22px; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; text-decoration: none !important; }
.ssb-btn:hover { background: var(--b); border-color: var(--b); }
.ssb-btn:disabled { opacity: .45; cursor: not-allowed; }
.ssb-btn.is-ghost { background: transparent; color: var(--n) !important; }
.ssb-btn.is-ghost:hover { background: var(--n); color: #fff !important; }
.ssb-btn.is-small { padding: 6px 12px; font-size: 12px; }
.ssb-msg { border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; font-weight: 600; }
.ssb-msg.is-ok { background: #E3F4EA; color: #14603A; border: 1px solid #bfe5cd; }
.ssb-msg.is-error { background: #FBE7E9; color: #9F1239; border: 1px solid #f3c6cc; }
.ssb-dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.ssb-dates button { flex: 0 0 auto; min-width: 66px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.15; color: var(--n); font: inherit; }
.ssb-dates button small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.ssb-dates button b { font-size: 22px; font-family: var(--wp--preset--font-family--heading, inherit); }
.ssb-dates button:hover { border-color: var(--n); }
.ssb-dates button.is-active { background: var(--n); border-color: var(--n); color: #fff; }
.ssb-dates button.is-active small { color: var(--a); }
.ssb-grid-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 10px; }
.ssb-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); margin-bottom: 10px; align-items: center; }
.ssb-legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; border: 1px solid var(--line); }
.ssb-legend i.is-free { background: #fff; } .ssb-legend i.is-booked { background: var(--n); } .ssb-legend i.is-mine { background: var(--a); } .ssb-legend i.is-sel { background: rgba(27,75,159,.18); border: 2px dashed var(--b); }
.ssb-hint { margin-left: auto; }
.ssb-grid { overflow-x: auto; }
.ssb-row { display: flex; align-items: center; min-width: 760px; }
.ssb-row + .ssb-row { border-top: 1px solid #F1F5FB; }
.ssb-seat { flex: 0 0 46px; font-weight: 700; font-size: 12px; color: var(--n); }
.ssb-track { position: relative; flex: 1; height: 26px; background: #fff; cursor: pointer; }
.ssb-track:hover { background: #F6F9FD; }
.ssb-hr { position: absolute; top: 0; bottom: 0; width: 1px; background: #EEF2F8; pointer-events: none; }
.ssb-row.is-picked .ssb-seat { color: var(--b); }
.ssb-row.is-disabled .ssb-track { background: repeating-linear-gradient(45deg, #f3f4f6 0 6px, #e9ecf1 6px 12px); cursor: not-allowed; }
.ssb-row.is-disabled .ssb-seat { color: #9aa3b5; text-decoration: line-through; }
.ssb-ticks { height: 18px; cursor: default; background: none; }
.ssb-ticks span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; color: var(--muted); font-weight: 600; }
.ssb-b { position: absolute; top: 3px; bottom: 3px; background: var(--n); border-radius: 4px; color: #fff; font-size: 10px; font-weight: 700; padding: 0 4px; overflow: hidden; white-space: nowrap; line-height: 20px; cursor: default; }
.ssb-b.is-mine { background: var(--a); color: var(--n); }
.ssb-sel { position: absolute; top: 1px; bottom: 1px; background: rgba(27,75,159,.18); border: 2px dashed var(--b); border-radius: 5px; pointer-events: none; }
.ssb-past { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(236,243,251,.85); pointer-events: none; }
.ssb-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--a); border-radius: 12px; padding: 18px 20px; margin-top: 16px; display: grid; gap: 14px; }
.ssb-form h3 { font-size: 20px; }
.ssb-fields { display: grid; grid-template-columns: 1fr 1fr 1.3fr 2fr; gap: 12px; }
.ssb-fields label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ssb-fields select, .ssb-fields input { font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 500; color: #14213D; border: 1px solid #C9D6EC; border-radius: 6px; padding: 9px 10px; background: #fff; width: 100%; }
.ssb-fields select:focus, .ssb-fields input:focus { outline: none; border-color: var(--b); box-shadow: 0 0 0 3px rgba(27,75,159,.15); }
.ssb-summary { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--pg); border-radius: 8px; padding: 10px 14px; }
.ssb-free { font-weight: 700; color: #14603A; }
.ssb-free.is-bad { color: var(--r); }
.ssb-form .ssb-btn { justify-self: start; }
.ssb-mine { margin-top: 26px; }
.ssb-mine h3 { font-size: 20px; margin-bottom: 10px; }
.ssb-mine__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ssb-mine__list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.ssb-mine__seat { background: var(--n); color: var(--a); font-weight: 800; border-radius: 6px; padding: 8px 10px; font-size: 13px; white-space: nowrap; }
.ssb-mine__when { flex: 1; font-size: 14px; }
.ssb-small { color: var(--muted); font-size: 13px; }
.ssb-empty { background: #fff; border: 1px dashed #C9D6EC; border-radius: 10px; padding: 18px; text-align: center; color: var(--muted); }
.ssb-gate { display: flex; justify-content: center; }
.ssb-gate__card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--a); border-radius: 12px; padding: 26px 28px; max-width: 460px; width: 100%; }
.ssb-gate__card h2 { margin: 10px 0 6px !important; font-size: 26px; }
.ssb-gate__card p { color: var(--muted); }
.ssb-gate form p { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; }
.ssb-gate form .login-remember { flex-direction: row; align-items: center; }
.ssb-gate input[type=text], .ssb-gate input[type=password] { border: 1px solid #C9D6EC; border-radius: 6px; padding: 10px; font: inherit; width: 100%; }
.ssb-gate input[type=submit] { background: var(--n); color: #fff; border: 0; border-radius: 6px; padding: 11px 22px; font: inherit; font-weight: 700; text-transform: uppercase; cursor: pointer; }
@media (max-width: 760px) {
	.ssb-fields { grid-template-columns: 1fr 1fr; }
	.ssb-fields .is-seat, .ssb-fields .is-note { grid-column: 1 / -1; }
	.ssb-hint { display: none; }
}
