/* ==========================================================================
   OMH Frontend Styles
   Shared by all shortcodes: [omh_reserve], [omh_portal], [omh_checkin]
   Mobile-first. Min viewport: 375px. No external fonts. No jQuery.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
    --omh-navy:        #003087;
    --omh-gold:        #C8A951;
    --omh-steel:       #5D8AA8;
    --omh-success:     #2E7D32;
    --omh-warning:     #F59E0B;
    --omh-error:       #C62828;
    --omh-bg:          #F5F7FA;
    --omh-card:        #FFFFFF;
    --omh-text:        #1A1A2E;
    --omh-text-muted:  #6B7280;
    --omh-border:      #E5E7EB;
    --omh-radius:      6px;
    --omh-shadow:      0 1px 4px rgba(0, 0, 0, 0.08);
    --omh-focus-ring:  0 0 0 2px rgba(0, 48, 135, 0.2);
}

/* --------------------------------------------------------------------------
   2. Outer Container
   -------------------------------------------------------------------------- */

.omh-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    color: var(--omh-text);
    background: var(--omh-bg);
    box-sizing: border-box;
}

.omh-wrap *,
.omh-wrap *::before,
.omh-wrap *::after {
    box-sizing: inherit;
}

.omh-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--omh-navy);
    margin: 0 0 16px;
}

.omh-text-muted {
    color: var(--omh-text-muted);
    font-size: 14px;
}

.omh-billing-note {
    font-size: 13px;
    color: var(--omh-text-muted);
    margin: 12px 0 0;
}

/* --------------------------------------------------------------------------
   3. Step Indicator
   -------------------------------------------------------------------------- */

.omh-step-indicator {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    gap: 0;
}

.omh-step-indicator__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

/* Connecting line between steps */
.omh-step-indicator__item:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    top: 16px;
    left: calc(50% + 16px);
    right: calc(-50% + 16px);
    height: 2px;
    background: var(--omh-border);
    z-index: 0;
}

.omh-step-indicator__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid var(--omh-border);
    background: var(--omh-card);
    color: var(--omh-text-muted);
    position: relative;
    z-index: 1;
}

.omh-step-indicator__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--omh-text-muted);
    text-align: center;
    margin-top: 4px;
    /* Hide labels on very narrow viewports, show circles only */
}

/* Active step */
.omh-step-indicator__item--active .omh-step-indicator__circle {
    background: var(--omh-navy);
    border-color: var(--omh-navy);
    color: #fff;
}

.omh-step-indicator__item--active .omh-step-indicator__label {
    color: var(--omh-navy);
}

/* Completed step */
.omh-step-indicator__item--completed .omh-step-indicator__circle {
    background: var(--omh-success);
    border-color: var(--omh-success);
    color: #fff;
}

.omh-step-indicator__item--completed::after {
    background: var(--omh-success);
}

/* --------------------------------------------------------------------------
   4. Booking Summary Bar (sticky top strip)
   -------------------------------------------------------------------------- */

.omh-booking-summary {
    background: var(--omh-navy);
    color: #fff;
    font-size: 12px;
    padding: 10px 14px;
    border-radius: var(--omh-radius);
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.omh-booking-summary__room {
    font-weight: 600;
}

.omh-booking-summary__timer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   5. Countdown Timer
   -------------------------------------------------------------------------- */

.omh-timer {
    font-family: ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.omh-timer--urgent {
    color: var(--omh-error);
    animation: omh-pulse 1s ease-in-out infinite;
}

@keyframes omh-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* --------------------------------------------------------------------------
   6. Card
   -------------------------------------------------------------------------- */

.omh-card {
    background: var(--omh-card);
    border-radius: 8px;
    box-shadow: var(--omh-shadow);
    padding: 20px 16px;
    margin-bottom: 16px;
}

.omh-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--omh-navy);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--omh-border);
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

.omh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    background: var(--omh-navy);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border: 2px solid var(--omh-navy);
    border-radius: var(--omh-radius);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, opacity 0.15s ease;
    line-height: 1.2;
}

.omh-btn:hover:not(:disabled) {
    background: #002070;
    border-color: #002070;
}

.omh-btn:focus-visible {
    outline: none;
    box-shadow: var(--omh-focus-ring);
}

.omh-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.omh-btn--secondary {
    background: transparent;
    color: var(--omh-navy);
    border-color: var(--omh-navy);
}

.omh-btn--secondary:hover:not(:disabled) {
    background: rgba(0, 48, 135, 0.06);
}

.omh-btn--link {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    color: var(--omh-navy);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    min-height: auto;
    width: auto;
}

.omh-btn--link:hover {
    color: #002070;
}

.omh-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.omh-btn-group .omh-btn {
    flex: 1;
    min-width: 120px;
}

/* --------------------------------------------------------------------------
   8. Form Fields
   -------------------------------------------------------------------------- */

.omh-form-field {
    margin-bottom: 16px;
}

.omh-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.omh-form-field--half {
    flex: 1;
    min-width: 140px;
}

.omh-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--omh-text);
}

.omh-label-optional,
.omh-label-note {
    font-weight: 400;
    color: var(--omh-text-muted);
    font-size: 12px;
}

.omh-input,
.omh-select {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 12px;
    font-size: 16px; /* 16px minimum prevents iOS zoom-on-focus */
    font-family: inherit;
    color: var(--omh-text);
    background: var(--omh-card);
    border: 1px solid var(--omh-steel);
    border-radius: var(--omh-radius);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.omh-input:focus,
.omh-select:focus {
    outline: none;
    border-color: var(--omh-navy);
    box-shadow: var(--omh-focus-ring);
}

.omh-input--error,
.omh-select--error {
    border-color: var(--omh-error);
}

.omh-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235D8AA8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.omh-error {
    color: var(--omh-error);
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}

/* Hide empty error containers (JS populates them) */
.omh-error:empty {
    display: none;
}

/* --------------------------------------------------------------------------
   9. Tabs
   -------------------------------------------------------------------------- */

.omh-tabs {
    display: flex;
    border-bottom: 2px solid var(--omh-border);
    margin-bottom: 16px;
}

.omh-tab {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    background: none;
    border: none;
    color: var(--omh-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

.omh-tab:hover {
    color: var(--omh-navy);
}

.omh-tab--active {
    color: var(--omh-navy);
    border-bottom-color: var(--omh-navy);
}

/* --------------------------------------------------------------------------
   10. Search Results
   -------------------------------------------------------------------------- */

.omh-results-summary {
    font-size: 14px;
    font-weight: 600;
    color: var(--omh-text-muted);
    margin-bottom: 14px;
    padding: 10px 14px;
    background: var(--omh-card);
    border-radius: var(--omh-radius);
    box-shadow: var(--omh-shadow);
}

.omh-results-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.omh-property-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.omh-property-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--omh-navy);
    border-bottom: 2px solid var(--omh-navy);
    padding-bottom: 6px;
    margin-bottom: 4px;
}

.omh-property-address {
    font-size: 13px;
    color: var(--omh-text-muted);
    margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   11. Room Cards
   -------------------------------------------------------------------------- */

.omh-room-card {
    background: var(--omh-card);
    border-radius: 8px;
    box-shadow: var(--omh-shadow);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.omh-room-card__header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.omh-room-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--omh-radius);
    flex-shrink: 0;
    background: var(--omh-bg);
}

.omh-room-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--omh-bg);
    color: var(--omh-text-muted);
    font-size: 11px;
}

.omh-room-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.omh-room-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--omh-text);
}

.omh-room-meta {
    font-size: 13px;
    color: var(--omh-text-muted);
}

.omh-room-amenities {
    font-size: 12px;
    color: var(--omh-steel);
}

.omh-room-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.omh-room-pricing {
    display: flex;
    flex-direction: column;
}

.omh-room-rate {
    font-size: 18px;
    font-weight: 700;
    color: var(--omh-navy);
}

.omh-room-total {
    font-size: 13px;
    color: var(--omh-text-muted);
}

/* --------------------------------------------------------------------------
   12. Status Badges
   -------------------------------------------------------------------------- */

.omh-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.omh-status-badge--hold {
    background: #FEF3C7;
    color: #92400E;
}

.omh-status-badge--confirmed {
    background: #DBEAFE;
    color: #1E40AF;
}

.omh-status-badge--checked-in {
    background: #D1FAE5;
    color: #065F46;
}

.omh-status-badge--checked-out {
    background: #F3F4F6;
    color: #374151;
}

.omh-status-badge--cancelled {
    background: #FEE2E2;
    color: #991B1B;
}

/* --------------------------------------------------------------------------
   13. Checklist
   -------------------------------------------------------------------------- */

.omh-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.omh-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--omh-border);
    min-height: 44px;
}

.omh-checklist li:last-child {
    border-bottom: none;
}

.omh-checklist input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--omh-navy);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   14. Terms scroll box
   -------------------------------------------------------------------------- */

.omh-terms-scroll {
    border: 1px solid var(--omh-border);
    border-radius: var(--omh-radius);
    max-height: 280px;
    overflow-y: auto;
    padding: 14px;
    margin-bottom: 14px;
    background: var(--omh-bg);
    font-size: 14px;
    line-height: 1.6;
}

.omh-terms-scroll:focus {
    outline: none;
    box-shadow: var(--omh-focus-ring);
}

.omh-terms-checkbox-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.omh-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    min-height: 44px;
}

.omh-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--omh-navy);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   15. Stripe card element
   -------------------------------------------------------------------------- */

.omh-stripe-element {
    border: 1px solid var(--omh-steel);
    border-radius: var(--omh-radius);
    padding: 14px 12px;
    background: var(--omh-card);
    transition: border-color 0.15s, box-shadow 0.15s;
    min-height: 48px;
}

.omh-stripe-element--focus {
    border-color: var(--omh-navy);
    box-shadow: var(--omh-focus-ring);
}

/* --------------------------------------------------------------------------
   16. Billing summary DL
   -------------------------------------------------------------------------- */

.omh-billing-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    margin: 0 0 12px;
    font-size: 14px;
}

.omh-billing-summary dt {
    color: var(--omh-text-muted);
    font-weight: 400;
}

.omh-billing-summary dd {
    font-weight: 600;
    margin: 0;
    text-align: right;
}

/* --------------------------------------------------------------------------
   17. Signature Pad
   -------------------------------------------------------------------------- */

.omh-signature-pad {
    border: 2px dashed var(--omh-steel);
    border-radius: 8px;
    background: var(--omh-card);
    width: 100%;
    height: 150px;
    display: block;
    touch-action: none; /* prevents scroll while signing */
    cursor: crosshair;
}

/* --------------------------------------------------------------------------
   18. Access Code
   -------------------------------------------------------------------------- */

.omh-access-code {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F0F4FF;
    border-radius: var(--omh-radius);
    padding: 12px;
    margin-bottom: 10px;
}

.omh-access-code__value {
    font-family: ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    flex: 1;
    color: var(--omh-navy);
}

.omh-access-code__copy {
    min-height: 44px;
    min-width: 44px;
    padding: 0 14px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   19. Portal Sections
   -------------------------------------------------------------------------- */

.omh-portal-section {
    margin-bottom: 16px;
}

.omh-portal-section__header {
    font-weight: 700;
    color: var(--omh-navy);
    font-size: 15px;
    border-bottom: 1px solid var(--omh-border);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   20. Empty State
   -------------------------------------------------------------------------- */

.omh-empty-state {
    text-align: center;
    padding: 40px 16px;
    color: var(--omh-text-muted);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   21. Divider
   -------------------------------------------------------------------------- */

.omh-divider {
    border: none;
    border-top: 1px solid var(--omh-border);
    margin: 16px 0;
}

/* --------------------------------------------------------------------------
   22. Modal Overlay
   -------------------------------------------------------------------------- */

.omh-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.omh-modal {
    background: var(--omh-card);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 28px 24px;
    max-width: 320px;
    width: 90%;
    text-align: center;
}

.omh-modal h2 {
    font-size: 18px;
    color: var(--omh-navy);
    margin: 0 0 10px;
}

.omh-modal p {
    font-size: 14px;
    color: var(--omh-text-muted);
    margin: 0 0 20px;
}

/* --------------------------------------------------------------------------
   23. Mini booking summary (Step 1b)
   -------------------------------------------------------------------------- */

.omh-mini-summary {
    background: var(--omh-navy);
    color: #fff;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: var(--omh-radius);
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   24. Spinner (on buttons during API calls)
   -------------------------------------------------------------------------- */

@keyframes omh-spin {
    to { transform: rotate(360deg); }
}

.omh-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: omh-spin 0.65s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.omh-btn--secondary .omh-spinner {
    border-color: rgba(0, 48, 135, 0.35);
    border-top-color: var(--omh-navy);
}

/* --------------------------------------------------------------------------
   25. No results / alert states
   -------------------------------------------------------------------------- */

.omh-alert {
    padding: 12px 14px;
    border-radius: var(--omh-radius);
    font-size: 14px;
    margin-bottom: 14px;
}

.omh-alert--warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #F59E0B;
}

.omh-alert--error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid var(--omh-error);
}

.omh-alert--success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid var(--omh-success);
}

/* --------------------------------------------------------------------------
   26. Responsive — 640px breakpoint
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
    .omh-wrap {
        padding: 24px;
    }

    /* Room cards go side-by-side */
    .omh-room-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .omh-room-card__header {
        flex: 1;
    }

    .omh-room-card__footer {
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        flex-shrink: 0;
        width: 140px;
    }

    .omh-room-card__footer .omh-btn {
        width: 140px;
    }

    /* Portal sections go 2-col grid */
    .omh-portal-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Billing summary wider */
    .omh-billing-summary {
        grid-template-columns: auto 1fr;
    }

    .omh-billing-summary dd {
        text-align: left;
    }

    /* Step indicator labels always visible */
    .omh-step-indicator__label {
        font-size: 12px;
    }
}

/* Very narrow — condense step indicator to circles only */
@media (max-width: 420px) {
    .omh-step-indicator__label {
        display: none;
    }

    .omh-step-indicator__item::after {
        left: calc(50% + 18px);
        right: calc(-50% + 18px);
    }
}

/* ==========================================================================
   PHASE 5b — PORTAL-SPECIFIC STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Portal loading state
   -------------------------------------------------------------------------- */

.omh-portal-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 32px 16px;
    color: var(--omh-text-muted);
    font-size: 15px;
}

.omh-portal-loading__text {
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   Portal welcome heading
   -------------------------------------------------------------------------- */

.omh-portal-welcome {
    font-size: 20px;
    font-weight: 700;
    color: var(--omh-navy);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Reservation detail DL (Section B)
   -------------------------------------------------------------------------- */

.omh-res-detail {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px 12px;
    margin: 0;
    font-size: 14px;
}

.omh-res-detail dt {
    font-weight: 600;
    color: var(--omh-text-muted);
}

.omh-res-detail dd {
    margin: 0;
    color: var(--omh-text);
}

/* --------------------------------------------------------------------------
   Message threads (Section D)
   -------------------------------------------------------------------------- */

.omh-thread-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--omh-border);
}

.omh-thread-row:last-child {
    border-bottom: none;
}

.omh-thread-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.omh-thread-subject {
    font-weight: 600;
    font-size: 14px;
    color: var(--omh-text);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.omh-thread-preview {
    font-size: 13px;
    color: var(--omh-text-muted);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.omh-thread-meta {
    font-size: 12px;
    margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Past reservations (Section E)
   -------------------------------------------------------------------------- */

.omh-past-res-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--omh-border);
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}

.omh-past-res-row:last-child {
    border-bottom: none;
}

.omh-past-res-row__info {
    flex: 1;
    min-width: 0;
}

.omh-past-res-row__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Billing history table (Section C expand)
   -------------------------------------------------------------------------- */

.omh-billing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.omh-billing-table th {
    text-align: left;
    font-weight: 600;
    color: var(--omh-text-muted);
    padding: 6px 8px 6px 0;
    border-bottom: 1px solid var(--omh-border);
}

.omh-billing-table td {
    padding: 8px 8px 8px 0;
    border-bottom: 1px solid var(--omh-border);
    vertical-align: middle;
}

.omh-billing-table tr:last-child td {
    border-bottom: none;
}

.omh-billing-pagination {
    font-size: 13px;
    color: var(--omh-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --------------------------------------------------------------------------
   Loading state
   -------------------------------------------------------------------------- */

.omh-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    color: var(--omh-text-muted);
    font-size: 15px;
}

.omh-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--omh-navy);
    margin: 0 0 16px;
}

/* --------------------------------------------------------------------------
   Check-In / Check-Out — Room details
   -------------------------------------------------------------------------- */

.omh-checkin-room {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--omh-border);
}

.omh-checkin-room__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--omh-navy);
    margin: 0 0 4px;
}

.omh-checkin-room__address {
    font-size: 14px;
    color: var(--omh-text-muted);
}

.omh-checkin-instructions {
    background: #F0F4FF;
    border-left: 3px solid var(--omh-navy);
    padding: 12px 16px;
    border-radius: 0 var(--omh-radius) var(--omh-radius) 0;
    margin: 16px 0;
    font-size: 14px;
}

.omh-checkin-instructions p {
    margin: 6px 0 0;
    white-space: pre-wrap;
}

/* --------------------------------------------------------------------------
   Access Codes
   -------------------------------------------------------------------------- */

.omh-checkin-codes,
.omh-checkin-wifi {
    margin: 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--omh-border);
}

.omh-access-code {
    background: var(--omh-card);
    border: 1px solid var(--omh-border);
    border-radius: var(--omh-radius);
    padding: 12px 16px;
    margin-bottom: 10px;
}

.omh-access-code--masked {
    opacity: 0.7;
}

.omh-access-code__type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--omh-text-muted);
    margin-bottom: 4px;
}

.omh-access-code__value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--omh-navy);
    font-family: "Courier New", Courier, monospace;
}

.omh-access-code--masked .omh-access-code__value {
    color: var(--omh-text-muted);
}

/* --------------------------------------------------------------------------
   Checklist (shared by checkin + checkout)
   -------------------------------------------------------------------------- */

.omh-checkin-checklist {
    margin: 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--omh-border);
}

.omh-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--omh-border);
}

.omh-checklist-item:last-child {
    border-bottom: none;
}

.omh-checklist-checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--omh-navy);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Signature pad
   -------------------------------------------------------------------------- */

.omh-checkin-signature {
    margin: 20px 0;
}

.omh-sig-canvas {
    display: block;
    width: 100%;
    height: 150px;
    border: 1px solid var(--omh-border);
    border-radius: var(--omh-radius);
    background: #fff;
    cursor: crosshair;
    touch-action: none;
}

.omh-sig-controls {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
    min-height: 44px;
}

.omh-sig-controls a {
    display: inline-block;
    padding: 11px 0;
}

@media (min-width: 560px) {
    .omh-sig-canvas {
        height: 180px;
    }
}
