/* Outdoor Survival - Rezervační systém - Frontend Styles */
:root {
    --osr-bg-primary: #f7f8f9;
    --osr-surface-primary: #dde2e8;
    --osr-subtle-primary: #c4ccd6;
    --osr-border-primary: #aab6c5;
    --osr-muted-primary: #99a7b9;
    --osr-base-primary: #8b7355;
    --osr-hover-primary: #766248;
    --osr-hover-secondary: #485d76;
    --osr-text-primary: #685640;
    --osr-active-primary: #5a4b37;
    --osr-heading-primary: #463a2b;
    --osr-dark-primary: #31281e;

    --osr-bg-secondary: #f7f9f8;
    --osr-surface-secondary: #dde8e3;
    --osr-subtle-secondary: #c4d6ce;
    --osr-border-secondary: #aac5b9;
    --osr-base-secondary: #558b73;
    --osr-text-secondary: #406856;
    --osr-heading-secondary: #2b463a;

    --osr-base-tertiary: #556d8b;
    --osr-hover-tertiary: #405268;

    --osr-base-neutral: #b9b3ac;
    --osr-text-neutral: #766c60;
    --osr-border-neutral: #d4d1ce;
    --osr-heading-neutral: #29241e;

    --osr-white: #FFF;
    --osr-black: #000;

    --osr-radius: 8px;
    --osr-radius-lg: 12px;
    --osr-shadow: 0 2px 8px rgba(49, 40, 30, 0.08);
    --osr-shadow-lg: 0 8px 24px rgba(49, 40, 30, 0.12);
    --osr-transition: 0.2s ease;
}

/* ========================================
   BASE
   ======================================== */
.osr-container {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--osr-black);
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.osr-container *,
.osr-container *::before,
.osr-container *::after {
    box-sizing: border-box;
}

/* ========================================
   BUTTONS - match website .btn-m / .btn-primary
   ======================================== */
.osr-btn {
    display: inline-block;
    font-family: 'Outfit', inherit;
    font-size: 16px;
    line-height: 100%;
    font-weight: 500;
    padding: 12px 16px;
    border: none;
    border-radius: var(--osr-radius);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background var(--osr-transition), color var(--osr-transition), border-color var(--osr-transition), box-shadow var(--osr-transition);
}

.osr-btn:hover {
    text-decoration: none;
}

.osr-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary - orange */
.osr-btn-primary {
    background: var(--osr-base-primary);
    color: var(--osr-white);
}

.osr-btn-primary:hover {
    background: var(--osr-hover-primary);
    color: var(--osr-white);
}

/* Secondary - green */
.osr-btn-secondary {
    background: var(--osr-base-secondary);
    color: var(--osr-white);
}

.osr-btn-secondary:hover {
    background: var(--osr-hover-primary);
    color: var(--osr-white);
}

/* Outline */
.osr-btn-outline {
    background: transparent;
    border: 2px solid var(--osr-base-primary);
    color: var(--osr-base-primary);
    padding: 10px 14px;
}

.osr-btn-outline:hover {
    background: var(--osr-base-primary);
    color: var(--osr-white);
}

/* ICS / Calendar button */
.osr-btn-ics {
    background: var(--osr-bg-secondary);
    color: var(--osr-base-secondary);
    border: 1px solid var(--osr-border-secondary);
    font-size: 13px;
    padding: 8px 14px;
}

.osr-btn-ics:hover {
    background: var(--osr-base-secondary);
    color: var(--osr-white);
    border-color: var(--osr-base-secondary);
}

/* Large */
.osr-btn-large {
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* Nav buttons */
.osr-btn-nav {
    background: var(--osr-white);
    color: var(--osr-base-primary);
    border: 2px solid var(--osr-border-primary);
    padding: 10px 20px;
    font-weight: 600;
}

.osr-btn-nav:hover {
    background: var(--osr-base-primary);
    color: var(--osr-white);
    border-color: var(--osr-base-primary);
}

/* ========================================
   VIEW TOGGLE TABS
   ======================================== */
.osr-view-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
}

.osr-btn-toggle {
    font-family: 'Outfit', inherit;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid var(--osr-base-primary);
    cursor: pointer;
    transition: all var(--osr-transition);
    line-height: 100%;
}

.osr-btn-toggle:first-child {
    border-radius: var(--osr-radius) 0 0 var(--osr-radius);
    border-right: 1px solid var(--osr-base-primary);
}

.osr-btn-toggle:last-child {
    border-radius: 0 var(--osr-radius) var(--osr-radius) 0;
    border-left: 1px solid var(--osr-base-primary);
}

.osr-btn-toggle {
    background: var(--osr-white);
    color: var(--osr-base-primary);
}

.osr-btn-toggle:hover {
    background: var(--osr-surface-primary);
    color: var(--osr-text-primary);
}

.osr-btn-toggle.active {
    background: var(--osr-base-primary);
    color: var(--osr-white);
}

/* View containers */
.osr-view {
    display: none;
}

.osr-view.active {
    display: block;
}

/* ========================================
   CALENDAR VIEW
   ======================================== */
.osr-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.osr-calendar-title {
    font-family: 'Outfit', inherit;
    font-size: 26px;
    font-weight: 700;
    color: var(--osr-heading-primary);
    margin: 0;
    text-align: center;
    flex: 1;
}

/* Calendar Grid */
.osr-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid var(--osr-border-neutral);
    border-radius: var(--osr-radius-lg);
    box-shadow: var(--osr-shadow);
    background: var(--osr-border-neutral);
    gap: 1px;
    width: 100%;
}

/* Round corners on first/last header and bottom-left/bottom-right day cells */
.osr-calendar-header:first-child {
    border-top-left-radius: var(--osr-radius-lg);
}

.osr-calendar-header:nth-child(7) {
    border-top-right-radius: var(--osr-radius-lg);
}

.osr-calendar-grid .osr-calendar-day:nth-last-child(7) {
    border-bottom-left-radius: var(--osr-radius-lg);
}

.osr-calendar-grid .osr-calendar-day:last-child {
    border-bottom-right-radius: var(--osr-radius-lg);
}

.osr-calendar-header {
    background: var(--osr-base-secondary);
    color: var(--osr-white);
    padding: 12px 6px;
    text-align: center;
    font-family: 'Outfit', inherit;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.osr-calendar-day {
    background: #fff;
    min-height: 110px;
    padding: 8px 6px;
    position: relative;
    vertical-align: top;
    min-width: 0;
    overflow: hidden;
}

.osr-calendar-day.osr-other-month {
    background: var(--osr-bg-secondary);
}

.osr-calendar-day.osr-other-month .osr-day-number {
    opacity: 0.35;
}

.osr-calendar-day.osr-today {
    background: var(--osr-bg-primary);
}

.osr-day-number {
    display: inline-block;
    font-family: 'Outfit', inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--osr-text-neutral);
    margin-bottom: 4px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
}

.osr-today .osr-day-number {
    background: var(--osr-base-primary);
    color: #fff;
    font-weight: 700;
}

/* Event Pills in Calendar */
.osr-calendar-event {
    display: block;
    padding: 4px 8px;
    margin-bottom: 3px;
    border-radius: 6px;
    font-family: 'Outfit', inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    transition: all var(--osr-transition);
    position: relative;
}

.osr-calendar-event:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.osr-calendar-event.osr-available {
    background: var(--osr-surface-secondary);
    color: var(--osr-text-secondary);
    border-left: 3px solid var(--osr-base-secondary);
}

.osr-calendar-event.osr-available:hover {
    background: var(--osr-base-secondary);
    color: #fff;
}

.osr-calendar-event.osr-last-spots {
    background: var(--osr-surface-primary);
    color: var(--osr-text-primary);
    border-left: 3px solid var(--osr-base-primary);
}

.osr-calendar-event.osr-last-spots:hover {
    background: var(--osr-base-primary);
    color: #fff;
}

.osr-calendar-event.osr-full {
    background: #f0f0ee;
    color: #aaa;
    border-left: 3px solid #ccc;
    text-decoration: line-through;
    cursor: default;
}

/* ========================================
   TOOLTIP
   ======================================== */
.osr-tooltip {
    position: absolute;
    z-index: 99999;
    background: #fff;
    border: 1px solid var(--osr-border-primary);
    border-radius: var(--osr-radius-lg);
    padding: 20px;
    width: 320px;
    box-shadow: var(--osr-shadow-lg);
    pointer-events: auto;
}

.osr-tooltip-title {
    font-family: 'Outfit', inherit;
    font-size: 17px;
    font-weight: 600;
    color: var(--osr-heading-primary);
    margin-bottom: 6px;
}

.osr-tooltip-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--osr-heading-primary);
    margin-bottom: 6px;
}

.osr-tooltip-desc {
    font-size: 13px;
    color: var(--osr-text-neutral);
    margin-bottom: 8px;
    line-height: 1.5;
}

.osr-tooltip-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--osr-base-primary);
    margin-bottom: 8px;
}

.osr-tooltip-availability {
    margin-bottom: 14px;
}

.osr-tooltip-actions {
    display: flex;
    gap: 8px;
}

.osr-tooltip-actions .osr-btn {
    flex: 1;
    font-size: 13px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ========================================
   BADGES
   ======================================== */
.osr-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'Outfit', inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.osr-badge.osr-available {
    background: var(--osr-surface-secondary);
    color: var(--osr-text-secondary);
}

.osr-badge.osr-last-spots {
    background: var(--osr-surface-primary);
    color: var(--osr-base-primary);
}

.osr-badge.osr-full {
    background: #fde8e8;
    color: #c00;
}

/* ========================================
   LIST VIEW
   ======================================== */
.osr-list-filter {
    margin-bottom: 20px;
}

.osr-list-filter .osr-input {
    width: 100%;
    max-width: 420px;
}

.osr-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--osr-border-neutral);
    border-radius: var(--osr-radius-lg);
    margin-bottom: 12px;
    transition: all var(--osr-transition);
}

.osr-list-item:hover {
    border-color: var(--osr-border-primary);
    box-shadow: var(--osr-shadow);
}

.osr-list-date {
    flex-shrink: 0;
    width: 72px;
    text-align: center;
    background: var(--osr-bg-primary);
    border-radius: var(--osr-radius);
    padding: 12px 8px;
    border: 1px solid var(--osr-border-primary);
}

.osr-list-date-day {
    font-family: 'Outfit', inherit;
    font-size: 28px;
    font-weight: 700;
    color: var(--osr-base-primary);
    line-height: 1;
}

.osr-list-date-month {
    font-family: 'Outfit', inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--osr-text-primary);
    text-transform: uppercase;
    margin-top: 2px;
}

.osr-list-info {
    flex: 1;
    min-width: 0;
}

.osr-list-title {
    font-family: 'Outfit', inherit;
    font-size: 18px;
    font-weight: 600;
    color: var(--osr-heading-primary);
    margin: 0 0 6px;
}

.osr-list-meta {
    font-size: 14px;
    color: var(--osr-text-neutral);
    margin-bottom: 8px;
}

.osr-list-meta span {
    margin-right: 18px;
}

.osr-list-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.osr-list-actions .osr-btn {
    min-width: 130px;
}

.osr-list-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--osr-text-neutral);
    font-size: 16px;
    background: var(--osr-bg-secondary);
    border-radius: var(--osr-radius-lg);
}

/* ========================================
   EVENT DETAIL
   ======================================== */
.osr-event-detail {
    max-width: 800px;
}

.osr-back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--osr-base-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--osr-transition);
}

.osr-back-link:hover {
    color: var(--osr-hover-secondary);
}

.osr-event-header {
    margin-bottom: 28px;
}

.osr-event-title {
    font-family: 'Outfit', inherit;
    font-size: 30px;
    font-weight: 700;
    color: var(--osr-heading-primary);
    margin: 0 0 14px;
}

.osr-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.osr-meta-item {
    font-size: 15px;
    color: var(--osr-text-neutral);
}

.osr-meta-item strong {
    color: var(--osr-heading-primary);
}

.osr-event-description {
    background: var(--osr-bg-primary);
    border: 1px solid var(--osr-border-primary);
    border-radius: var(--osr-radius-lg);
    padding: 28px;
    margin-bottom: 32px;
    line-height: 1.7;
    color: var(--osr-dark-primary);
    font-size: 15px;
}

/* ========================================
   REGISTRATION FORM
   ======================================== */
.osr-registration-form-wrap {
    background: #fff;
    border: 1px solid var(--osr-border-neutral);
    border-radius: var(--osr-radius-lg);
    padding: 32px;
    box-shadow: var(--osr-shadow);
}

.osr-registration-form-wrap h2 {
    font-family: 'Outfit', inherit;
    font-size: 22px;
    font-weight: 600;
    color: var(--osr-heading-primary);
    margin: 0 0 24px;
}

.osr-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.osr-form-row .osr-form-group {
    flex: 1;
    margin-bottom: 0;
}

.osr-form-group {
    margin-bottom: 16px;
}

.osr-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--osr-heading-primary);
    margin-bottom: 6px;
}

.osr-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--osr-border-neutral);
    border-radius: var(--osr-radius);
    font-family: 'Outfit', inherit;
    font-size: 15px;
    color: var(--osr-black);
    background: #fff;
    transition: border-color var(--osr-transition), box-shadow var(--osr-transition);
}

.osr-input:focus {
    outline: none;
    border-color: var(--osr-base-primary);
    box-shadow: 0 0 0 3px rgba(212, 98, 10, 0.12);
}

.osr-textarea {
    resize: vertical;
    min-height: 90px;
}

.osr-checkbox-group {
    margin: 24px 0;
}

.osr-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: var(--osr-text-neutral);
}

.osr-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--osr-base-primary);
    width: 18px;
    height: 18px;
}

.osr-form-errors {
    background: #fde8e8;
    border: 1px solid #fca5a5;
    border-radius: var(--osr-radius);
    padding: 14px 18px;
    margin-bottom: 16px;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 500;
}

.osr-form-submit {
    margin-top: 28px;
    text-align: center;
}

.osr-recaptcha-notice {
    margin-top: 18px;
    font-size: 12px;
    color: var(--osr-text-neutral);
    text-align: center;
    line-height: 1.5;
}

.osr-recaptcha-notice a {
    color: var(--osr-base-primary);
    text-decoration: underline;
}

/* ========================================
   VOUCHER SECTION
   ======================================== */
.osr-voucher-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--osr-border-neutral);
}

.osr-voucher-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--osr-heading-primary);
    margin-bottom: 12px;
}

.osr-voucher-toggle {
    display: flex;
    gap: 12px;
}

.osr-voucher-btn {
    font-family: 'Outfit', inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 28px;
    border: 2px solid var(--osr-base-primary);
    border-radius: var(--osr-radius);
    background: transparent;
    color: var(--osr-base-primary);
    cursor: pointer;
    transition: all var(--osr-transition);
    line-height: 1.4;
}

.osr-voucher-btn:hover {
    background: var(--osr-surface-primary);
}

.osr-voucher-btn.active {
    background: var(--osr-base-primary);
    color: var(--osr-white);
    border-color: var(--osr-base-primary);
}

.osr-voucher-input-wrap {
    margin-bottom: 20px;
}

.osr-no-voucher-message {
    text-align: center;
    padding: 28px 20px;
    background: var(--osr-bg-primary);
    border: 1px solid var(--osr-border-primary);
    border-radius: var(--osr-radius-lg);
    margin-top: 4px;
}

.osr-no-voucher-message p {
    font-size: 15px;
    color: var(--osr-text-neutral);
    margin: 0 0 18px;
    line-height: 1.6;
}

/* ========================================
   THANK YOU
   ======================================== */
.osr-thank-you {
    text-align: center;
    padding: 60px 20px;
}

.osr-thank-you-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: var(--osr-base-secondary);
    color: #fff;
    font-size: 40px;
    margin: 0 auto 24px;
}

.osr-thank-you h2 {
    font-family: 'Outfit', inherit;
    font-size: 28px;
    font-weight: 700;
    color: var(--osr-heading-primary);
    margin-bottom: 8px;
}

.osr-thank-you p {
    font-size: 16px;
    color: var(--osr-text-neutral);
}

.osr-redirect-notice {
    font-size: 13px !important;
    font-style: italic;
    margin-top: 24px;
}

/* Event Full Notice */
.osr-event-full-notice {
    background: #fde8e8;
    border: 1px solid #fca5a5;
    border-radius: var(--osr-radius-lg);
    padding: 28px;
    text-align: center;
    margin-top: 28px;
}

.osr-event-full-notice p {
    margin: 0;
    font-size: 16px;
    color: #b91c1c;
    font-weight: 500;
}

/* Error */
.osr-error {
    text-align: center;
    padding: 30px;
    color: #b91c1c;
    font-weight: 500;
}

/* ========================================
   HONEYPOT
   ======================================== */
.osr-hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ========================================
   CALENDAR SCROLL WRAPPER
   ======================================== */
.osr-calendar-scroll-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* ========================================
   RESPONSIVE — TABLET (768px)
   ======================================== */
@media (max-width: 768px) {
    .osr-container {
        padding: 12px 0;
    }

    .osr-calendar-day {
        min-height: 80px;
        padding: 4px;
    }

    .osr-calendar-event {
        font-size: 11px;
        padding: 4px 5px;
    }

    .osr-calendar-title {
        font-size: 20px;
    }

    .osr-calendar-nav {
        gap: 8px;
    }

    .osr-btn-nav {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .osr-form-row {
        flex-direction: column;
        gap: 0;
    }

    .osr-form-row .osr-form-group {
        margin-bottom: 16px;
    }

    .osr-list-item {
        flex-direction: column;
        gap: 12px;
    }

    .osr-list-actions {
        flex-direction: row;
        width: 100%;
    }

    .osr-list-actions .osr-btn {
        flex: 1;
        min-width: auto;
        font-size: 13px;
        padding: 10px 8px;
    }

    .osr-tooltip {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        bottom: 10px !important;
        top: auto !important;
    }

    .osr-event-meta {
        flex-direction: column;
        gap: 8px;
    }

    .osr-day-number {
        font-size: 12px;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }

    .osr-calendar-header {
        font-size: 12px;
        padding: 8px 4px;
    }

    .osr-view-toggle {
        width: 100%;
    }

    .osr-btn-toggle {
        flex: 1;
        font-size: 14px;
        padding: 10px 12px;
    }

    .osr-event-title {
        font-size: 24px;
    }

    .osr-event-description {
        padding: 18px;
    }

    .osr-registration-form-wrap {
        padding: 20px;
    }

    .osr-registration-form-wrap h2 {
        font-size: 19px;
    }

    .osr-list-date {
        width: 60px;
        padding: 10px 6px;
    }

    .osr-list-date-day {
        font-size: 24px;
    }

    .osr-list-date-month {
        font-size: 11px;
    }

    .osr-list-title {
        font-size: 16px;
    }

    .osr-list-meta {
        font-size: 13px;
    }

    .osr-list-meta span {
        display: block;
        margin-right: 0;
        margin-bottom: 2px;
    }
}

/* ========================================
   RESPONSIVE — MOBILE (480px)
   Calendar MUST fit inside viewport.
   Use CSS table layout which forces equal columns
   regardless of content width.
   ======================================== */
@media (max-width: 480px) {

    /* Remove any padding on container so calendar gets full width */
    .osr-container {
        padding: 8px 0;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* --- Calendar Navigation --- */
    .osr-calendar-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-bottom: 10px;
        padding: 0 4px;
    }

    .osr-calendar-title {
        order: -1;
        width: 100%;
        font-size: 18px;
        margin-bottom: 4px;
    }

    .osr-btn-nav {
        padding: 7px 14px;
        font-size: 13px;
    }

    /*
     * Calendar must fit within viewport.
     * Chain max-width: 100vw from wrapper → grid → cells
     * so nothing can push wider than the screen.
     */
    .osr-calendar-scroll-wrap {
        overflow: hidden;
        max-width: 100vw;
    }

    .osr-calendar-grid {
        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        border-radius: 0;
        border: none;
        box-shadow: none;
        gap: 0;
        background: var(--osr-border-neutral);
    }

    .osr-calendar-header {
        font-size: 11px;
        padding: 7px 1px;
        letter-spacing: 0;
        text-align: center;
        min-width: 0;
        overflow: hidden;
    }

    .osr-calendar-day {
        min-height: 58px;
        padding: 2px;
        min-width: 0;
        overflow: hidden;
        background: #fff;
        border-right: 1px solid var(--osr-border-neutral);
        border-bottom: 1px solid var(--osr-border-neutral);
    }

    .osr-calendar-day.osr-other-month {
        background: var(--osr-bg-secondary);
    }

    .osr-calendar-day.osr-today {
        background: var(--osr-bg-primary);
    }

    .osr-day-number {
        font-size: 11px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        margin-bottom: 2px;
    }

    /* --- Event pills: compact, proper hyphenation --- */
    .osr-calendar-event {
        font-size: 9px;
        font-weight: 600;
        padding: 4px 2px;
        margin-bottom: 2px;
        border-radius: 3px;
        line-height: 1.3;
        min-height: 24px;
        display: block;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        -webkit-hyphens: auto;
        hyphens: auto;
        overflow: hidden;
        border-left-width: 2px;
    }

    /* --- List View --- */
    .osr-list-item {
        padding: 14px;
    }

    .osr-list-actions {
        flex-direction: column;
    }

    .osr-list-actions .osr-btn {
        padding: 12px 8px;
    }

    /* --- Event Detail --- */
    .osr-event-description {
        padding: 14px;
        font-size: 14px;
    }

    .osr-registration-form-wrap {
        padding: 16px;
    }

    .osr-registration-form-wrap h2 {
        font-size: 18px;
    }
}

/* ========================================
   RESPONSIVE — VERY SMALL (360px and below)
   ======================================== */
@media (max-width: 360px) {
    .osr-calendar-header {
        font-size: 9px;
        padding: 4px 0;
    }

    .osr-calendar-day {
        min-height: 48px;
        padding: 1px;
    }

    .osr-day-number {
        font-size: 9px;
        width: 16px;
        height: 16px;
        line-height: 16px;
    }

    .osr-calendar-event {
        font-size: 7px;
        padding: 3px 1px;
        min-height: 20px;
    }

    .osr-calendar-title {
        font-size: 16px;
    }
}

/* ========================================
   GOOGLE reCAPTCHA BADGE HIDE
   (per Google policy: must include text notice in form)
   ======================================== */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ========================================
   LIST TITLE LINK
   ======================================== */
.osr-list-title a {
    color: inherit;
    text-decoration: none;
}
.osr-list-title a:hover {
    color: var(--osr-base-primary);
    text-decoration: underline;
}
