/* Post 202 Room Reservations */
.p202rr { --rr-navy: #0b2a4a; --rr-red: #b22234; --rr-blue: #1f4e8c; --rr-border: #d5d9e0; font-size: 16px; line-height: 1.45; color: #1d1d1d; }
.p202rr *, .p202rr *::before, .p202rr *::after { box-sizing: border-box; }
.p202rr-intro { margin: 0 0 1.25em; }
.p202rr-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .p202rr-grid { grid-template-columns: 1fr; } }

/* Calendar */
.p202rr-cal-wrap { background: #fff; border: 1px solid var(--rr-border); border-radius: 6px; padding: 14px; }
.p202rr-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; margin-bottom: 10px; }
.p202rr-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.p202rr-legend .sw-banquet { background: var(--rr-blue); }
.p202rr-legend .sw-club { background: var(--rr-red); }
.p202rr-legend .sw-pending { background: repeating-linear-gradient(45deg, #9db7dc 0 4px, #e3a1a9 4px 8px); }
.p202rr-hint { font-size: 13px; color: #555; margin: 10px 0 0; }
#p202rr-calendar .fc-toolbar-title { font-size: 1.2em; color: var(--rr-navy); }
#p202rr-calendar .fc-button-primary { background: var(--rr-navy); border-color: var(--rr-navy); text-transform: capitalize; }
#p202rr-calendar .fc-button-primary:not(:disabled).fc-button-active,
#p202rr-calendar .fc-button-primary:not(:disabled):active { background: var(--rr-red); border-color: var(--rr-red); }
#p202rr-calendar .fc-daygrid-day, #p202rr-calendar .fc-timegrid-slot { cursor: pointer; }
#p202rr-calendar .fc-day-past, #p202rr-calendar .fc-day-disabled { background: #f4f4f4; cursor: not-allowed; }
#p202rr-calendar .p202rr-chosen { background: #fff6d6 !important; box-shadow: inset 0 0 0 2px #d4a100; }
#p202rr-calendar .p202rr-ev-pending { border-style: dashed; }
#p202rr-calendar .fc-event { font-size: 12px; cursor: help; }
@media (max-width: 600px) {
	#p202rr-calendar .fc-toolbar { flex-direction: column; gap: 8px; }
	#p202rr-calendar .fc-event-title { white-space: normal; }
}

/* Form */
.p202rr-form { background: #fff; border: 1px solid var(--rr-border); border-top: 4px solid var(--rr-navy); border-radius: 6px; padding: 18px; }
.p202rr-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.p202rr-form legend { font-weight: bold; color: var(--rr-navy); margin-bottom: 6px; }
.p202rr-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.p202rr-form label.p202rr-radio { display: inline-flex; align-items: center; gap: 6px; font-weight: normal; font-size: 16px; margin-right: 18px; }
.p202rr-form input[type="text"], .p202rr-form input[type="email"], .p202rr-form input[type="tel"],
.p202rr-form input[type="number"], .p202rr-form input[type="date"], .p202rr-form select, .p202rr-form textarea {
	display: block; width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; font-weight: normal;
	border: 1px solid #b9bfc9; border-radius: 4px; background: #fff; color: inherit; min-height: 42px;
}
.p202rr-form input:focus, .p202rr-form select:focus, .p202rr-form textarea:focus { outline: 2px solid var(--rr-blue); outline-offset: 1px; border-color: var(--rr-blue); }
/* Room cards */
.p202rr-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .p202rr-rooms { grid-template-columns: 1fr; } }
.p202rr-room { display: flex; flex-direction: column; border: 2px solid var(--rr-border); border-radius: 6px; padding: 8px; background: #fafbfc; transition: border-color .15s, box-shadow .15s; }
.p202rr-room:has(input:checked) { border-color: var(--rr-navy); background: #fff; box-shadow: 0 0 0 3px rgba(11, 42, 74, .12); }
.p202rr-photo, .p202rr-mini { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #ddd; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.p202rr-photo img, .p202rr-mini img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.p202rr-photo:hover img, .p202rr-mini:hover img { filter: brightness(1.08); }
.p202rr-photo:focus-visible, .p202rr-mini:focus-visible { outline: 2px solid var(--rr-blue); outline-offset: 2px; }
.p202rr-count { position: absolute; right: 6px; bottom: 6px; padding: 2px 7px; font-size: 12px; color: #fff; background: rgba(0, 0, 0, .65); border-radius: 3px; }
.p202rr-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.p202rr-room label.p202rr-radio { display: flex; margin: auto 2px 2px; padding-top: 8px; font-weight: 600; cursor: pointer; }

/* Lightbox */
.p202rr-noscroll { overflow: hidden; }
.p202rr-lb { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .88); padding: 16px; }
.p202rr-lb.is-open { display: flex; }
.p202rr-lb figure { margin: 0; max-width: min(1400px, 100%); text-align: center; }
.p202rr-lb img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 4px; }
.p202rr-lb figcaption { color: #fff; margin-top: 10px; font-size: 15px; }
.p202rr-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; font-size: 34px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; }
.p202rr-lb button:hover { background: rgba(255, 255, 255, .3); }
.p202rr-lb-close { top: 14px; right: 14px; }
.p202rr-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.p202rr-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.p202rr-lb button[hidden] { display: none; }

.p202rr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.p202rr-row3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .p202rr-row2, .p202rr-row3 { grid-template-columns: 1fr; } }
.p202rr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.p202rr-submit { display: block; width: 100%; padding: 13px 18px; font: inherit; font-weight: bold; color: #fff; background: var(--rr-red); border: 0; border-radius: 4px; cursor: pointer; }
.p202rr-submit:hover { background: #911b2a; }
.p202rr-submit:disabled { opacity: .6; cursor: wait; }
.p202rr-msg { margin-top: 12px; font-size: 15px; }
.p202rr-msg:empty { display: none; }
.p202rr-msg.is-success { padding: 12px; background: #e8f5e9; border-left: 4px solid #2e7d32; }
.p202rr-msg.is-error { padding: 12px; background: #fdecee; border-left: 4px solid var(--rr-red); }
.p202rr-msg.is-info { padding: 12px; background: #eef3fa; border-left: 4px solid var(--rr-blue); }
