.rms-tp-widget{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
.rms-tp-card{border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:12px;margin:10px 0;box-shadow:0 1px 2px rgba(0,0,0,.04);}
.rms-tp-row{display:flex;gap:10px;align-items:center;justify-content:space-between;}
.rms-tp-muted{opacity:.7;font-size:.92em;}

.rms-tp-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:10px;}
.rms-tp-day{padding:10px 8px;border-radius:10px;border:1px solid rgba(0,0,0,.06);text-align:center;user-select:none;}
.rms-tp-day.rms-tp-has{font-weight:600;}
.rms-tp-day.rms-tp-today{outline:2px solid rgba(0,0,0,.12);}

.rms-tp-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(0,0,0,.12);border-radius:10px;padding:8px 12px;background:white;cursor:pointer;}
.rms-tp-btn:disabled{opacity:.5;cursor:not-allowed;}

.rms-tp-list{display:flex;flex-direction:column;gap:8px;margin-top:10px;}
.rms-tp-item{border:1px solid rgba(0,0,0,.06);border-radius:12px;padding:10px;}
.rms-tp-title{font-weight:650;}

.rms-tp-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.rms-tp-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 8px;border-radius:999px;border:1px solid rgba(0,0,0,.16);font-size:.85em;font-weight:650;}

/* Setup status */
.rms-tp-setup-body{padding:12px;}
.rms-tp-setup-row{display:flex;align-items:center;gap:10px;margin:6px 0;}
.rms-tp-setup-dot{width:10px;height:10px;border-radius:999px;display:inline-block;background:#d1d5db;}
.rms-tp-setup-dot.ok{background:#22c55e;}
.rms-tp-setup-dot.bad{background:#ef4444;}
.rms-tp-setup-label{font-size:14px;}
.rms-tp-cart-actions{justify-content:flex-start;gap:8px;margin-top:8px}
.rms-tp-btn-sm{padding:4px 10px;border-radius:10px}
.rms-tp-btn-danger{border-color:rgba(220,0,0,.35)}
.rms-tp-input{width:100%;padding:10px 12px;border-radius:10px;border:1px solid rgba(0,0,0,.14);}
.rms-tp-sublist{margin-top:10px;border-top:1px solid #eee;padding-top:10px;display:flex;flex-direction:column;gap:10px}
.rms-tp-subitem{padding:8px 10px;border:1px solid #eee;border-radius:10px}
.rms-tp-subtitle{font-weight:600}
.rms-tp-ticketrow{align-items:center;gap:8px;margin-top:6px}
.rms-tp-ticketname{flex:1}
.rms-tp-qty{width:72px;padding:6px 8px;border:1px solid #ddd;border-radius:8px}
.rms-tp-btn{padding:6px 10px;border:1px solid #ccc;border-radius:10px;background:#fff;cursor:pointer}
.rms-tp-btn:disabled{opacity:.6;cursor:not-allowed}

/* --- Showings-style cards (modeled after DeskApp Showings.razor) --- */
.rms-tp-showings-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(20rem,1fr));grid-gap:1rem}
.rms-tp-event-card{--bg:#222;--title-color:#fff;--text-color:#ccc;background:var(--bg);border-radius:2rem;padding:.5rem;width:20rem;height:27rem;overflow:clip;position:relative;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
.rms-tp-event-card.rms-tp-card-link{cursor:pointer}
.rms-tp-event-card::before{content:"";position:absolute;width:calc(100% - 1rem);height:30%;bottom:.5rem;left:.5rem;mask:linear-gradient(#0000,#000f 80%);backdrop-filter:blur(1rem);border-radius:0 0 1.5rem 1.5rem}
.rms-tp-event-card>img{max-width:100%;object-fit:cover;border-radius:1.5rem;display:block;width:100%;height:auto;aspect-ratio:1/1;object-position:50% 10%}
.rms-tp-event-card .rms-tp-showing-img{width:100%;border-radius:1.5rem;display:block;aspect-ratio:1/1;background:rgba(255,255,255,.08)}
.rms-tp-event-card .rms-tp-showing-img-el{width:100%;border-radius:1.5rem;display:block;aspect-ratio:1/1;object-fit:cover;background:rgba(255,255,255,.08)}
.rms-tp-event-card section{margin:1rem;display:flex;flex-direction:column}
.rms-tp-event-card h2{margin:0;font-size:1.5rem;color:var(--title-color);margin-bottom:.5rem}
.rms-tp-event-card p{font-size:.95rem;line-height:1.3;color:var(--text-color);margin:0 0 .5rem 0}
.rms-tp-event-card .rms-tp-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:10px}
.rms-tp-event-card .rms-tp-card-details{font-size:.95rem;color:var(--title-color)}
.rms-tp-event-card .rms-tp-book-btn{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;padding:10px 12px;border-radius:999px}
.rms-tp-event-card .rms-tp-book-btn:hover{background:rgba(255,255,255,.14)}

/* Booking dialog */
.rms-tp-modal{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:100000}
.rms-tp-modal.open{display:flex}
.rms-tp-modal .panel{width:min(980px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;background:#fff;border-radius:16px;padding:16px}
.rms-tp-modal .header{display:flex;gap:10px;align-items:center}
.rms-tp-modal .header .spacer{flex:1}
#rms-tp-departure-picker{margin-bottom:18px}
#rms-tp-departure-picker label{display:block;font-weight:600;margin-bottom:6px}
#rms-tp-departure-picker select{font:inherit;max-width:100%;background:#fff}

