/**
 * LH Login Portal - Portal-Specific Styles
 * Host Family Portal for London Homestays
 *
 * This file extends the LH Admin Design System with portal-specific
 * overrides and components. Uses Proxima Nova (Adobe Typekit) as the
 * brand font to match the main LH website.
 *
 * @version 1.0.0
 * @updated 2026-01-20
 */

/* ============================================
   FONT & SPACING OVERRIDES FOR ACCESSIBILITY
   ============================================
   The LH Admin design system uses compact sizing for dense admin UIs.
   Host families are often older users who need larger, more readable interfaces.
   These overrides make everything more generous and accessible.
*/

:root {
    /* Override Inter with Proxima Nova */
    --lha-font-sans: "proxima-nova", "Proxima Nova", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Much larger font sizes for older users */
    --lha-text-xs: 0.875rem;    /* 14px (was 11px) */
    --lha-text-sm: 1rem;        /* 16px (was 13px) */
    --lha-text-base: 1.125rem;  /* 18px (was 14px) */
    --lha-text-md: 1.25rem;     /* 20px (was 16px) */
    --lha-text-lg: 1.5rem;      /* 24px (was 18px) */
    --lha-text-xl: 1.75rem;     /* 28px (was 20px) */
    --lha-text-2xl: 2rem;       /* 32px (was 24px) */
    --lha-text-3xl: 2.5rem;     /* 40px (was 30px) */

    /* More generous spacing */
    --lha-space-1: 0.375rem;    /* 6px */
    --lha-space-2: 0.625rem;    /* 10px */
    --lha-space-3: 1rem;        /* 16px */
    --lha-space-4: 1.25rem;     /* 20px */
    --lha-space-5: 1.75rem;     /* 28px */
    --lha-space-6: 2.25rem;     /* 36px */
    --lha-space-8: 3rem;        /* 48px */
    --lha-space-10: 4rem;       /* 64px */

    /* Larger border radius for friendly feel */
    --lha-radius-md: 0.5rem;
    --lha-radius-lg: 0.75rem;
    --lha-radius-xl: 1rem;
}

/* ============================================
   GLOBAL FONT SIZE OVERRIDES
   ============================================
   Middle ground: larger than compact admin,
   but not massive. Comfortable for older users.
*/

body {
    font-family: "proxima-nova", "Proxima Nova", var(--lha-font-sans), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Ensure Proxima Nova is used everywhere */
body *,
.lhp-shell,
.lhp-content,
.lhp-dashboard,
.lhp-section,
.lhp-booking-card {
    font-family: inherit;
}

/* Base text elements */
.lhp-shell,
.lhp-shell p,
.lhp-shell span,
.lhp-shell div,
.lhp-shell li,
.lhp-shell label,
.lhp-shell a,
.lhp-content,
.lhp-content p,
.lhp-content span,
.lhp-content div,
.lhp-content li,
.lhp-content label,
.lhp-content a {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Table headers */
.lhp-shell th,
.lhp-content th,
table th {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 10px !important;
}

/* Table cells */
.lhp-shell td,
.lhp-content td,
table td {
    font-size: 15px !important;
    padding: 10px !important;
}

/* Headings - comfortable sizes */
.lhp-shell h1, .lhp-content h1 { font-size: 28px !important; }
.lhp-shell h2, .lhp-content h2 { font-size: 22px !important; }
.lhp-shell h3, .lhp-content h3 { font-size: 18px !important; }
.lhp-shell h4, .lhp-content h4 { font-size: 16px !important; }

/* Form labels and inputs */
.lhp-shell label,
.lhp-content label,
.lhp-shell .form-control,
.lhp-content .form-control,
.lhp-shell input,
.lhp-content input,
.lhp-shell select,
.lhp-content select,
.lhp-shell textarea,
.lhp-content textarea {
    font-size: 16px !important;
}

/* Buttons */
.lhp-shell .btn,
.lhp-content .btn,
.lhp-shell button,
.lhp-content button,
.lha-btn {
    font-size: 15px !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
}

/* Small/muted text */
.lhp-shell small,
.lhp-content small,
.lhp-shell .text-muted,
.lhp-content .text-muted {
    font-size: 14px !important;
}

/* Badges */
.lhp-shell .badge,
.lhp-content .badge,
.lha-badge {
    font-size: 13px !important;
    padding: 4px 10px !important;
}

/* ============================================
   LOGIN PAGE SPECIFIC STYLES
   ============================================ */

.lha-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--lha-grey-50);
}

/* Top bar */
.lha-login-topbar {
    background-color: var(--lha-navy-900);
    padding: var(--lha-space-3) var(--lha-space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--lha-space-3);
}

.lha-login-topbar__contact {
    display: flex;
    gap: var(--lha-space-6);
    font-size: var(--lha-text-sm);
}

.lha-login-topbar__contact a {
    color: var(--lha-white);
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    opacity: 0.9;
    transition: opacity var(--lha-duration-fast);
}

.lha-login-topbar__contact a:hover {
    opacity: 1;
}

.lha-login-topbar__social {
    display: flex;
    gap: var(--lha-space-4);
}

.lha-login-topbar__social a {
    color: var(--lha-cyan);
    font-size: 18px;
    transition: color var(--lha-duration-fast);
}

.lha-login-topbar__social a:hover {
    color: var(--lha-white);
}

/* Main content area */
.lha-login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--lha-space-8) var(--lha-space-4);
}

.lha-login-card {
    background: var(--lha-white);
    border-radius: var(--lha-radius-xl);
    box-shadow: var(--lha-shadow-xl);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.lha-login-card__header {
    background-color: var(--lha-white);
    padding: var(--lha-space-8) var(--lha-space-8) var(--lha-space-6);
    text-align: center;
    border-bottom: 1px solid var(--lha-border-color);
}

.lha-login-card__logo {
    margin-bottom: var(--lha-space-4);
}

.lha-login-card__logo img {
    height: 48px;
    width: auto;
    margin: 0 auto;
}

.lha-login-card__title {
    font-size: var(--lha-text-xl);
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-navy);
    margin-bottom: var(--lha-space-2);
}

.lha-login-card__subtitle {
    font-size: var(--lha-text-sm);
    color: var(--lha-grey-500);
    line-height: var(--lha-leading-relaxed);
}

.lha-login-card__body {
    padding: var(--lha-space-6) var(--lha-space-8) var(--lha-space-8);
}

/* Form elements - LARGER for accessibility */
.lha-login-form .lha-form-group {
    margin-bottom: var(--lha-space-5);
}

.lha-login-form .lha-label {
    font-size: var(--lha-text-base);
    font-weight: var(--lha-weight-medium);
    color: var(--lha-grey-700);
    margin-bottom: var(--lha-space-2);
    display: block;
}

.lha-login-form .lha-input {
    height: 56px;
    font-size: var(--lha-text-base);
    padding: 0 var(--lha-space-4);
    border-radius: var(--lha-radius-md);
}

.lha-login-form .lha-input:focus {
    border-color: var(--lha-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

/* Remember me & forgot password row */
.lha-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--lha-space-6);
}

.lha-login-options .lha-checkbox {
    font-size: var(--lha-text-sm);
}

.lha-login-options a {
    font-size: var(--lha-text-sm);
    color: var(--lha-cyan);
    font-weight: var(--lha-weight-medium);
}

.lha-login-options a:hover {
    color: var(--lha-magenta);
}

/* Submit button - LARGER for accessibility */
.lha-login-submit {
    width: 100%;
    height: 56px;
    font-size: var(--lha-text-md);
    font-weight: 600;
    background-color: var(--lha-magenta);
    border-color: var(--lha-magenta);
    border-radius: var(--lha-radius-md);
}

.lha-login-submit:hover {
    background-color: #cc006e;
    border-color: #cc006e;
    box-shadow: var(--lha-shadow-magenta);
}

/* Error message */
.lha-login-error {
    background-color: var(--lha-danger-50);
    border: 1px solid var(--lha-danger-100);
    border-left: 4px solid var(--lha-danger-500);
    border-radius: var(--lha-radius-md);
    padding: var(--lha-space-3) var(--lha-space-4);
    margin-bottom: var(--lha-space-5);
    font-size: var(--lha-text-sm);
    color: var(--lha-danger-600);
}

/* New host link */
.lha-login-card__footer {
    padding: var(--lha-space-5) var(--lha-space-8);
    background-color: var(--lha-grey-50);
    border-top: 1px solid var(--lha-border-color);
    text-align: center;
}

.lha-login-card__footer p {
    font-size: var(--lha-text-sm);
    color: var(--lha-grey-600);
    margin-bottom: var(--lha-space-2);
}

.lha-login-card__footer a {
    color: var(--lha-cyan);
    font-weight: var(--lha-weight-medium);
}

.lha-login-card__footer a:hover {
    color: var(--lha-magenta);
}

/* Footer */
.lha-login-footer {
    background-color: var(--lha-navy-900);
    padding: var(--lha-space-5) var(--lha-space-6);
    text-align: center;
}

.lha-login-footer p {
    font-size: var(--lha-text-sm);
    color: var(--lha-grey-400);
    margin: 0;
}

.lha-login-footer a {
    color: var(--lha-white);
    font-weight: var(--lha-weight-medium);
}

/* ============================================
   PORTAL HEADER (Post-Login Navigation)
   ============================================ */

.lhp-header {
    background-color: var(--lha-navy-900);
    position: sticky;
    top: 0;
    z-index: var(--lha-z-header);
}

.lhp-header__topbar {
    padding: var(--lha-space-2) var(--lha-space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lhp-header__contact {
    display: flex;
    gap: var(--lha-space-5);
    font-size: var(--lha-text-xs);
}

.lhp-header__contact a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: var(--lha-space-1-5);
    transition: color var(--lha-duration-fast);
}

.lhp-header__contact a:hover {
    color: var(--lha-white);
}

.lhp-header__social {
    display: flex;
    gap: var(--lha-space-3);
}

.lhp-header__social a {
    color: var(--lha-cyan);
    font-size: 16px;
    transition: color var(--lha-duration-fast);
}

.lhp-header__social a:hover {
    color: var(--lha-white);
}

/* Main header bar */
.lhp-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--lha-space-3) var(--lha-space-6);
    background-color: var(--lha-white);
}

.lhp-header__logo img {
    height: 44px;
    width: auto;
}

.lhp-header__user {
    display: flex;
    align-items: center;
    gap: var(--lha-space-3);
    font-size: var(--lha-text-base);
    color: var(--lha-grey-600);
}

.lhp-header__user-name {
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-navy);
}

.lhp-header__user a {
    font-size: var(--lha-text-base);
}

/* Navigation - LARGER for accessibility */
.lhp-nav {
    background-color: var(--lha-white);
    border-bottom: 2px solid var(--lha-border-color);
    padding: 0 var(--lha-space-6);
}

.lhp-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lha-space-2);
    list-style: none;
    margin: 0;
    padding: 0;
}

.lhp-nav__item {
    position: relative;
}

.lhp-nav__link {
    display: block;
    padding: 14px 18px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--lha-grey-600);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--lha-duration-fast);
}

.lhp-nav__link:hover {
    color: var(--lha-navy);
    background-color: var(--lha-grey-50);
}

.lhp-nav__item--active .lhp-nav__link {
    color: var(--lha-magenta);
    border-bottom-color: var(--lha-magenta);
}

/* Dropdown in nav - LARGER for accessibility */
.lhp-nav__dropdown {
    position: relative;
}

.lhp-nav__dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
}

.lhp-nav__dropdown-toggle::after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    margin-top: -3px;
}

.lhp-nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--lha-white);
    border: 1px solid var(--lha-border-color);
    border-radius: var(--lha-radius-lg);
    box-shadow: var(--lha-shadow-lg);
    z-index: var(--lha-z-dropdown);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--lha-duration-fast);
    padding: var(--lha-space-2) 0;
}

.lhp-nav__dropdown:hover .lhp-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.lhp-nav__dropdown-item {
    display: block;
    padding: var(--lha-space-3) var(--lha-space-5);
    font-size: var(--lha-text-base);
    color: var(--lha-grey-700);
    transition: background-color var(--lha-duration-fast);
}

.lhp-nav__dropdown-item:hover {
    background-color: var(--lha-grey-50);
    color: var(--lha-navy);
}

/* ============================================
   PORTAL FOOTER
   ============================================ */

.lhp-footer {
    background-color: var(--lha-navy-900);
    padding: var(--lha-space-6) var(--lha-space-6);
    margin-top: auto;
}

.lhp-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--lha-content-max-width);
    margin: 0 auto;
}

.lhp-footer__copyright {
    font-size: var(--lha-text-sm);
    color: var(--lha-grey-400);
    margin: 0;
}

.lhp-footer__link {
    color: var(--lha-white);
    font-weight: var(--lha-weight-medium);
}

.lhp-footer__link:hover {
    color: var(--lha-cyan);
}

/* ============================================
   PORTAL CONTENT AREA
   ============================================ */

.lhp-content {
    flex: 1;
    padding: var(--lha-space-6);
    background-color: var(--lha-grey-50);
}

.lhp-content__inner {
    max-width: var(--lha-content-max-width);
    margin: 0 auto;
}

/* Page header - LARGER for accessibility */
.lhp-page-header {
    margin-bottom: var(--lha-space-8);
}

.lhp-page-header__title {
    font-size: var(--lha-text-3xl);
    font-weight: var(--lha-weight-bold);
    color: var(--lha-navy);
    margin: 0 0 var(--lha-space-3);
}

.lhp-page-header__subtitle {
    font-size: var(--lha-text-md);
    color: var(--lha-grey-500);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   DASHBOARD COMPONENTS
   ============================================ */

/* Stat grid for dashboard - LARGER for accessibility */
.lhp-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--lha-space-5);
    margin-bottom: var(--lha-space-8);
}

.lhp-stat-card {
    background-color: var(--lha-white);
    border: 1px solid var(--lha-border-color);
    border-radius: var(--lha-radius-xl);
    padding: var(--lha-space-6);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--lha-duration-fast);
}

.lhp-stat-card:hover {
    box-shadow: var(--lha-shadow-md);
}

.lhp-stat-card--success {
    border-left: 4px solid var(--lha-success-500);
}

.lhp-stat-card--warning {
    border-left: 4px solid var(--lha-warning-500);
}

.lhp-stat-card--danger {
    border-left: 4px solid var(--lha-danger-500);
}

.lhp-stat-card--info {
    border-left: 4px solid var(--lha-cyan);
}

.lhp-stat-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lha-radius-lg);
    background-color: var(--lha-grey-100);
    color: var(--lha-grey-600);
    margin-bottom: var(--lha-space-4);
}

.lhp-stat-card__icon svg {
    width: 28px;
    height: 28px;
}

.lhp-stat-card--success .lhp-stat-card__icon {
    background-color: var(--lha-success-100);
    color: var(--lha-success-600);
}

.lhp-stat-card--warning .lhp-stat-card__icon {
    background-color: var(--lha-warning-100);
    color: var(--lha-warning-600);
}

.lhp-stat-card--danger .lhp-stat-card__icon {
    background-color: var(--lha-danger-100);
    color: var(--lha-danger-600);
}

.lhp-stat-card--info .lhp-stat-card__icon {
    background-color: var(--lha-info-100);
    color: var(--lha-info-600);
}

.lhp-stat-card__label {
    font-size: var(--lha-text-base);
    color: var(--lha-grey-500);
    margin-bottom: var(--lha-space-2);
}

.lhp-stat-card__value {
    font-size: var(--lha-text-3xl);
    font-weight: var(--lha-weight-bold);
    color: var(--lha-navy);
    line-height: 1;
    margin-bottom: var(--lha-space-3);
}

.lhp-stat-card__link {
    font-size: var(--lha-text-base);
    color: var(--lha-cyan);
    font-weight: var(--lha-weight-medium);
    margin-top: auto;
}

.lhp-stat-card__link:hover {
    color: var(--lha-magenta);
}

/* Quick actions */
.lhp-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lha-space-3);
    margin-bottom: var(--lha-space-6);
}

/* Section cards - LARGER for accessibility */
.lhp-section {
    background-color: var(--lha-white);
    border: 1px solid var(--lha-border-color);
    border-radius: var(--lha-radius-xl);
    margin-bottom: var(--lha-space-8);
    overflow: hidden;
}

.lhp-section__header {
    padding: var(--lha-space-4) var(--lha-space-5);
    border-bottom: 1px solid var(--lha-navy-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lha-navy-50);
    gap: var(--lha-space-3);
    flex-wrap: wrap;
}

.lhp-section__title {
    font-size: var(--lha-text-base);
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--lha-space-3);
    /* Reset legacy h2 styles from custom.css */
    background-color: transparent;
    padding: 0;
}

/* Section title with magenta accent bar */
.lhp-section__title::before {
    content: '';
    width: 3px;
    height: 1em;
    background: var(--lha-magenta);
    border-radius: 2px;
    flex-shrink: 0;
}

.lhp-section__body {
    padding: var(--lha-space-6);
    font-size: var(--lha-text-base);
    line-height: 1.6;
}

.lhp-section__footer {
    padding: var(--lha-space-5) var(--lha-space-6);
    border-top: 1px solid var(--lha-border-color);
    background-color: var(--lha-grey-50);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .lha-login-topbar {
        justify-content: center;
        padding: var(--lha-space-2) var(--lha-space-4);
    }

    .lha-login-topbar__contact {
        flex-direction: column;
        gap: var(--lha-space-2);
        text-align: center;
    }

    .lha-login-card__header,
    .lha-login-card__body,
    .lha-login-card__footer {
        padding-left: var(--lha-space-5);
        padding-right: var(--lha-space-5);
    }

    .lha-login-options {
        flex-direction: column;
        gap: var(--lha-space-3);
        align-items: flex-start;
    }

    .lhp-header__topbar {
        display: none;
    }

    .lhp-header__main {
        padding: var(--lha-space-3) var(--lha-space-4);
    }

    .lhp-nav {
        padding: 0 var(--lha-space-4);
        overflow-x: auto;
    }

    .lhp-nav__list {
        flex-wrap: nowrap;
    }

    .lhp-nav__link {
        padding: var(--lha-space-3);
        white-space: nowrap;
    }

    .lhp-content {
        padding: var(--lha-space-4);
    }

    .lhp-stat-grid {
        grid-template-columns: 1fr;
    }

    .lhp-footer__inner {
        flex-direction: column;
        gap: var(--lha-space-3);
        text-align: center;
    }
}

/* Mobile menu toggle */
.lhp-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--lha-space-2);
    cursor: pointer;
    color: var(--lha-grey-600);
}

@media (max-width: 768px) {
    .lhp-menu-toggle {
        display: flex;
    }
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */

.lhp-alert {
    padding: var(--lha-space-5);
    border-radius: var(--lha-radius-lg);
    border-left: 5px solid;
    margin-bottom: var(--lha-space-5);
    font-size: var(--lha-text-base);
    line-height: 1.5;
}

/* ============================================
   TABLES - LARGER for accessibility
   ============================================ */

.lhp-section table,
.lhp-content table {
    font-size: var(--lha-text-base);
}

.lhp-section th,
.lhp-section td,
.lhp-content th,
.lhp-content td {
    padding: var(--lha-space-4) var(--lha-space-4);
    vertical-align: middle;
}

.lhp-section th,
.lhp-content th {
    font-size: var(--lha-text-base);
    font-weight: var(--lha-weight-semibold);
}

/* ============================================
   BUTTONS - LARGER for accessibility
   ============================================ */

.lhp-content .lha-btn,
.lhp-section .lha-btn {
    padding: var(--lha-space-3) var(--lha-space-5);
    font-size: var(--lha-text-base);
    min-height: 48px;
}

.lhp-content .lha-btn--sm {
    padding: var(--lha-space-2) var(--lha-space-4);
    font-size: var(--lha-text-sm);
    min-height: 40px;
}

.lhp-alert--success {
    background-color: var(--lha-success-50);
    border-color: var(--lha-success-500);
    color: var(--lha-success-600);
}

.lhp-alert--warning {
    background-color: var(--lha-warning-50);
    border-color: var(--lha-warning-500);
    color: var(--lha-warning-600);
}

.lhp-alert--danger {
    background-color: var(--lha-danger-50);
    border-color: var(--lha-danger-500);
    color: var(--lha-danger-600);
}

.lhp-alert--info {
    background-color: var(--lha-info-50);
    border-color: var(--lha-info-500);
    color: var(--lha-info-600);
}

/* ============================================
   DASHBOARD SPECIFIC - COMFORTABLE SIZES
   ============================================
   Middle ground between tiny admin and massive.
*/

/* Section titles */
.lhp-section__title {
    font-size: 20px !important;
    font-weight: 600 !important;
}

/* Stat card values and labels */
.lhp-stat-card__label {
    font-size: 15px !important;
}

.lhp-stat-card__value {
    font-size: 26px !important;
}

.lhp-stat-card__link {
    font-size: 15px !important;
}

/* Photo grid items */
.lhp-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.lhp-photo-item {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.lhp-photo-item__location {
    display: block;
    font-size: 14px !important;
    font-weight: 500;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.lhp-photo-item__count {
    display: block;
    font-size: 22px !important;
    font-weight: 700;
    color: #1e3a5f;
}

.lhp-photo-item__count--na {
    font-size: 14px !important;
    color: #9ca3af;
}

.lhp-photo-item--warning {
    background: #fef3c7;
    border-color: #f59e0b;
}

/* Welcome banner */
.lhp-welcome-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    color: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.lhp-welcome-banner__title {
    font-size: 24px !important;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.lhp-welcome-banner__subtitle {
    font-size: 16px !important;
    opacity: 0.9;
    margin: 0;
}

/* Document list */
.lhp-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lhp-doc-list__item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px !important;
}

.lhp-doc-list__item:last-child {
    border-bottom: none;
}

.lhp-doc-list__item--empty {
    color: #9ca3af;
    font-style: italic;
}

/* Rooms available date */
.lhp-rooms-available-date {
    font-size: 16px !important;
    color: #1e3a5f;
}

/* Header user info */
.lhp-header__user {
    font-size: 15px !important;
}

.lhp-header__user-name {
    font-size: 15px !important;
    font-weight: 600 !important;
}

.lhp-header__user a {
    font-size: 15px !important;
}

/* Footer text */
.lhp-footer__copyright,
.lhp-footer__link {
    font-size: 14px !important;
}

/* Dropdown menu items */
.lhp-nav__dropdown-item {
    font-size: 15px !important;
    padding: 10px 16px !important;
}

/* Photo notice text */
.lhp-photo-notice {
    font-size: 15px !important;
}

/* Quick actions buttons */
.lhp-quick-actions .lha-btn {
    font-size: 15px !important;
    padding: 10px 20px !important;
}

/* ============================================
   BOOKING VISUAL CALENDAR
   Matches exact styling from host search cards
   ============================================ */

/* Card container - matches .host-family-card from search */
.lhp-booking-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

/* Calendar header - matches search card calendar section */
.lhp-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.lhp-calendar-header h4 {
    margin: 0;
    font-size: 14px !important;
    font-weight: 600;
}

.lhp-calendar-header .date-range {
    font-size: 12px !important;
    opacity: 0.9;
}

/* Month labels row */
.lhp-month-labels {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0;
    margin: 0;
}

.lhp-month-label {
    text-align: center;
    font-size: 11px !important;
    font-weight: 600;
    color: #495057;
    padding: 6px 0;
    background: #e9ecef;
    border-right: 1px solid #dee2e6;
}

.lhp-month-label:last-child {
    border-right: none;
}

/* Day numbers row */
.lhp-day-numbers {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 4px 8px;
}

.lhp-day-number {
    flex: 1;
    text-align: center;
    font-size: 10px !important;
    color: #6c757d;
    min-width: 21px;
}

/* Room timeline row - matches search page styling */
.lhp-room-timeline {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f3f4;
    min-height: 44px;
}

.lhp-room-timeline:last-child {
    border-bottom: none;
}

/* Room info column */
.lhp-room-info {
    flex: 0 0 140px;
    padding-right: 12px;
}

.lhp-room-name {
    font-weight: 600;
    color: #333;
    font-size: 13px !important;
    margin-bottom: 2px;
    line-height: 1.2;
}

.lhp-room-type {
    color: #6c757d;
    font-size: 11px !important;
}

/* Timeline container - matches search page */
.lhp-timeline-container {
    flex: 1;
    position: relative;
    min-width: 300px;
    height: 32px;
    display: flex;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

/* Availability bars - exact colors from search page */
.lhp-availability-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px !important;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.lhp-availability-bar:last-child {
    border-right: none;
}

.lhp-availability-bar:hover {
    transform: scaleY(1.1);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Availability status colors - exact match to search page */
/* Availability status colors - high specificity + !important to override legacy custom.css */
.lhp-availability-bar.available,
.lhp-booking-card .lhp-availability-bar.available,
.lhp-booking-visual .lhp-availability-bar.available,
div.lhp-availability-bar.available {
    background: #6C6 !important;
    background-color: #6C6 !important;
}

.lhp-availability-bar.booked,
.lhp-booking-card .lhp-availability-bar.booked,
.lhp-booking-visual .lhp-availability-bar.booked,
div.lhp-availability-bar.booked {
    background: #F48FB1 !important;
    background-color: #F48FB1 !important;
}

.lhp-availability-bar.booked-male,
.lhp-booking-card .lhp-availability-bar.booked-male,
.lhp-booking-visual .lhp-availability-bar.booked-male,
div.lhp-availability-bar.booked-male {
    background: #2196F3 !important;
    background-color: #2196F3 !important;
}

.lhp-availability-bar.unavailable,
.lhp-booking-card .lhp-availability-bar.unavailable,
.lhp-booking-visual .lhp-availability-bar.unavailable,
div.lhp-availability-bar.unavailable {
    background: #8D6E63 !important;
    background-color: #8D6E63 !important;
}

.lhp-availability-bar.pending,
.lhp-booking-card .lhp-availability-bar.pending,
.lhp-booking-visual .lhp-availability-bar.pending,
div.lhp-availability-bar.pending {
    background: #999999 !important;
    background-color: #999999 !important;
}

/* Bar content/text */
.lhp-bar-content {
    padding: 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    line-height: 1.1;
    text-align: center;
}

/* Link styling within bars - transparent bg to show parent color */
.lhp-availability-bar a,
.lhp-availability-bar.booked a,
.lhp-availability-bar.booked-male a,
.lhp-availability-bar.available a,
.lhp-availability-bar.unavailable a,
.lhp-availability-bar.pending a {
    color: white !important;
    text-decoration: none;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    background: transparent !important;
    background-color: transparent !important;
}

.lhp-availability-bar a:hover {
    text-decoration: none;
}

/* Calendar legend */
.lhp-calendar-legend {
    display: flex;
    gap: 16px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    flex-wrap: wrap;
}

.lhp-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px !important;
    color: #495057;
}

.lhp-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.lhp-legend-color.available {
    background: #6C6;
}

.lhp-legend-color.booked {
    background: #F48FB1;
}

.lhp-legend-color.booked-male {
    background: #2196F3;
}

.lhp-legend-color.unavailable {
    background: #8D6E63;
}

.lhp-legend-color.pending {
    background: #999999;
}

/* Empty state */
.lhp-booking-empty {
    padding: 24px;
    text-align: center;
    color: #6c757d;
    font-size: 14px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lhp-room-timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
    }

    .lhp-room-info {
        flex: none;
        padding-right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .lhp-timeline-container {
        min-width: 100%;
        height: 28px;
    }

    .lhp-calendar-legend {
        justify-content: center;
    }
}

/* ============================================
   PROFILE EDIT PAGE
   Modern, accessible profile editing interface
   ============================================ */

/* Profile Header - Hero Card */
.lhp-profile-header {
    display: flex;
    align-items: center;
    gap: var(--lha-space-6);
    background: linear-gradient(135deg, var(--lha-navy) 0%, var(--lha-navy-800) 100%);
    color: var(--lha-white);
    padding: var(--lha-space-8);
    border-radius: var(--lha-radius-xl);
    margin-bottom: var(--lha-space-6);
    position: relative;
    overflow: hidden;
}

.lhp-profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 0, 126, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Profile Avatar */
.lhp-profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.lhp-profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lhp-profile-avatar__edit {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 36px;
    height: 36px;
    background: var(--lha-magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lhp-profile-avatar__edit:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 0, 126, 0.5);
    color: white;
}

/* Profile Info */
.lhp-profile-header__info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.lhp-profile-header__name {
    font-size: 28px !important;
    font-weight: 700;
    margin: 0 0 var(--lha-space-2);
    color: white !important;
}

.lhp-profile-header__reference {
    font-size: 16px;
    font-weight: 600;
    color: var(--lha-magenta);
    margin-bottom: var(--lha-space-3);
    letter-spacing: 0.5px;
}

.lhp-profile-header__address {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    font-size: 15px;
    opacity: 0.9;
}

.lhp-profile-header__address svg {
    opacity: 0.7;
    flex-shrink: 0;
}

/* Pending Notice */
.lhp-pending-notice {
    display: flex;
    align-items: center;
    gap: var(--lha-space-3);
    background: var(--lha-warning-50);
    border: 1px solid var(--lha-warning-200);
    border-left: 4px solid var(--lha-warning-500);
    border-radius: var(--lha-radius-md);
    padding: var(--lha-space-4);
    margin-bottom: var(--lha-space-6);
    font-size: 15px;
    color: var(--lha-warning-700);
}

.lhp-pending-notice svg {
    flex-shrink: 0;
    color: var(--lha-warning-500);
}

.lhp-pending-text {
    color: #d97706;
    font-weight: 600;
}

/* Info Notice - for general information messages */
.lhp-info-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--lha-space-3);
    background: var(--lha-info-50, #eff6ff);
    border: 1px solid var(--lha-info-200, #bfdbfe);
    border-left: 4px solid var(--lha-info-500, #3b82f6);
    border-radius: var(--lha-radius-md);
    padding: var(--lha-space-4);
    margin-bottom: var(--lha-space-6);
    font-size: 15px;
    line-height: 1.5;
}

.lhp-info-notice svg {
    flex-shrink: 0;
    color: var(--lha-info-500, #3b82f6);
    margin-top: 2px;
}

.lhp-info-notice strong {
    color: var(--lha-navy);
}

/* Two-Column Grid */
.lhp-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lha-space-6);
}

@media (max-width: 1024px) {
    .lhp-profile-grid {
        grid-template-columns: 1fr;
    }
}

.lhp-profile-col {
    display: flex;
    flex-direction: column;
    gap: var(--lha-space-6);
}

/* Section Title Icons */
.lhp-section__title svg {
    color: var(--lha-magenta);
    flex-shrink: 0;
}

/* Subsection Title */
.lhp-subsection-title {
    font-size: 15px !important;
    font-weight: 600;
    color: var(--lha-grey-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: var(--lha-space-6) 0 var(--lha-space-4);
    padding-bottom: var(--lha-space-2);
    border-bottom: 2px solid var(--lha-magenta);
}

.lhp-subsection-title:first-child {
    margin-top: 0;
}

/* Field List */
.lhp-field-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual Field */
.lhp-field {
    border-bottom: 1px solid var(--lha-grey-100);
    padding: var(--lha-space-4) 0;
}

.lhp-field:first-child {
    padding-top: 0;
}

.lhp-field:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lhp-field__row {
    display: flex;
    align-items: center;
    gap: var(--lha-space-4);
}

.lhp-field__label {
    flex: 0 0 160px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lha-grey-500);
}

/* Wider labels for Hosting Preferences section (longer label text) */
.lhp-field-list--wide-labels .lhp-field__label {
    flex: 0 0 200px;
}

.lhp-field__value {
    flex: 1;
    font-size: 16px;
    color: var(--lha-navy);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lhp-field__display {
    font-weight: 500;
}

.lhp-field__pending {
    font-size: 13px;
    color: #d97706;
    font-style: italic;
}

.lhp-field__pending::before {
    content: 'Pending: ';
    font-weight: 600;
}

/* Edit Button */
.lhp-field__edit-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--lha-magenta-50, #fdf2f8) !important;
    border: 1px solid var(--lha-magenta-200, #fbcfe8) !important;
    border-radius: var(--lha-radius-md);
    color: var(--lha-magenta) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 !important;
    line-height: 1 !important;
}

.lhp-field__edit-btn svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    display: block !important;
    stroke: #e6007e !important;
    fill: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0;
}

.lhp-field__edit-btn:hover {
    background: var(--lha-magenta) !important;
    border-color: var(--lha-magenta) !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.3);
}

.lhp-field__edit-btn:hover svg {
    stroke: white !important;
}

/* Field Editor */
.lhp-field__editor {
    display: none;
    margin-top: var(--lha-space-4);
    padding: var(--lha-space-4);
    background: var(--lha-grey-50);
    border-radius: var(--lha-radius-md);
    animation: slideDown 0.2s ease;
}

.lhp-field__editor.is-open {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lhp-field__editor .lha-input,
.lhp-field__editor .lha-select,
.lhp-field__editor .lha-textarea {
    width: 100%;
    margin-bottom: var(--lha-space-3);
}

.lhp-field__actions {
    display: flex;
    gap: var(--lha-space-2);
    justify-content: flex-end;
}

/* Meal Plans Grid */
.lhp-meal-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lha-space-3);
}

@media (max-width: 640px) {
    .lhp-meal-plans {
        grid-template-columns: 1fr;
    }
}

.lhp-meal-card {
    background: var(--lha-grey-50);
    border: 1px solid var(--lha-grey-200);
    border-radius: var(--lha-radius-lg);
    padding: var(--lha-space-4);
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lhp-meal-card:hover {
    border-color: var(--lha-grey-300);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lhp-meal-card__header {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    margin-bottom: var(--lha-space-2);
}

.lhp-meal-card__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lha-navy-50);
    border-radius: var(--lha-radius-sm);
    color: var(--lha-navy);
}

.lhp-meal-card__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--lha-grey-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lhp-meal-card__value {
    font-size: 18px;
    font-weight: 600;
    color: var(--lha-navy);
    margin-bottom: var(--lha-space-2);
}

.lhp-meal-card__edit {
    position: absolute;
    top: var(--lha-space-3);
    right: var(--lha-space-3);
    font-size: 13px;
    font-weight: 500;
    color: var(--lha-cyan);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--lha-radius-sm);
    transition: all 0.2s ease;
}

.lhp-meal-card__edit:hover {
    background: var(--lha-cyan);
    color: white;
}

.lhp-meal-card .lhp-field__editor {
    margin-top: var(--lha-space-3);
    padding: var(--lha-space-3);
    background: white;
}

/* Photo Gallery */
.lhp-gallery-body {
    padding: var(--lha-space-4) !important;
}

.lhp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--lha-space-3);
}

.lhp-gallery__item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--lha-radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lhp-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lhp-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lhp-gallery__item:hover img {
    transform: scale(1.05);
}

.lhp-gallery__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--lha-space-2) var(--lha-space-3);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 12px;
    font-weight: 500;
}

/* Empty Gallery State */
.lhp-gallery-empty {
    text-align: center;
    padding: var(--lha-space-10) var(--lha-space-6);
    color: var(--lha-grey-400);
}

.lhp-gallery-empty svg {
    margin-bottom: var(--lha-space-4);
    opacity: 0.5;
}

.lhp-gallery-empty p {
    font-size: 16px;
    margin-bottom: var(--lha-space-4);
}

/* Photo Count */
.lhp-photo-count {
    font-size: 14px;
    color: var(--lha-grey-500);
}

/* Profile Text */
.lhp-profile-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--lha-grey-700);
}

.lhp-profile-editor {
    margin-top: var(--lha-space-4);
}

.lhp-profile-editor .lha-textarea {
    min-height: 200px;
    font-size: 16px;
    line-height: 1.6;
}

/* Lightbox */
.lhp-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lhp-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lhp-lightbox__close {
    position: absolute;
    top: var(--lha-space-4);
    right: var(--lha-space-4);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.lhp-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lhp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.lhp-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lhp-lightbox__prev {
    left: var(--lha-space-4);
}

.lhp-lightbox__next {
    right: var(--lha-space-4);
}

.lhp-lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lhp-lightbox__content img {
    max-width: 100%;
    max-height: calc(85vh - 60px);
    object-fit: contain;
    border-radius: var(--lha-radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lhp-lightbox__caption {
    margin-top: var(--lha-space-4);
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* Toast Notifications */
.lhp-toast {
    position: fixed;
    bottom: var(--lha-space-6);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--lha-navy);
    color: white;
    padding: var(--lha-space-4) var(--lha-space-6);
    border-radius: var(--lha-radius-lg);
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.lhp-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.lhp-toast--error {
    background: var(--lha-danger-500);
}

/* Form Elements - Select */
.lha-select {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 var(--lha-space-4);
    font-size: 16px;
    font-family: inherit;
    color: var(--lha-navy);
    background-color: var(--lha-white);
    border: 1px solid var(--lha-grey-300);
    border-radius: var(--lha-radius-md);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lha-select:focus {
    outline: none;
    border-color: var(--lha-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

/* Form Elements - Textarea */
.lha-textarea {
    display: block;
    width: 100%;
    padding: var(--lha-space-3) var(--lha-space-4);
    font-size: 16px;
    font-family: inherit;
    color: var(--lha-navy);
    background-color: var(--lha-white);
    border: 1px solid var(--lha-grey-300);
    border-radius: var(--lha-radius-md);
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lha-textarea:focus {
    outline: none;
    border-color: var(--lha-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

/* Responsive Profile */
@media (max-width: 768px) {
    .lhp-profile-header {
        flex-direction: column;
        text-align: center;
        padding: var(--lha-space-6);
    }

    .lhp-profile-header__address {
        justify-content: center;
        flex-wrap: wrap;
    }

    .lhp-profile-avatar img {
        width: 100px;
        height: 100px;
    }

    .lhp-profile-header__name {
        font-size: 24px !important;
    }

    .lhp-field__row {
        flex-wrap: wrap;
    }

    .lhp-field__label {
        flex: 1 1 100%;
        margin-bottom: var(--lha-space-1);
    }

    .lhp-field__value {
        flex: 1;
    }

    .lhp-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .lhp-lightbox__nav {
        width: 44px;
        height: 44px;
    }

    .lhp-lightbox__prev {
        left: var(--lha-space-2);
    }

    .lhp-lightbox__next {
        right: var(--lha-space-2);
    }
}

/* ============================================
   PHOTOS PAGE STYLES
   ============================================ */

/* Photo Gallery Grid */
.lhp-photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lha-space-4);
}

/* Photo Card */
.lhp-photo-card {
    background: var(--lha-white);
    border-radius: var(--lha-radius-lg);
    overflow: hidden;
    border: 1px solid var(--lha-grey-200);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lhp-photo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.1);
}

.lhp-photo-card--pending {
    border-color: var(--lha-warning-300);
}

.lhp-photo-card--delete-requested {
    border-color: var(--lha-danger-300);
    opacity: 0.7;
}

.lhp-photo-card--delete-requested:hover {
    opacity: 1;
}

/* Photo Card Image */
.lhp-photo-card__image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lha-grey-100);
}

.lhp-photo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lhp-photo-card:hover .lhp-photo-card__image img {
    transform: scale(1.05);
}

/* Photo Card Badge */
.lhp-photo-card__badge {
    position: absolute;
    top: var(--lha-space-2);
    right: var(--lha-space-2);
    padding: var(--lha-space-1) var(--lha-space-2);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--lha-radius-sm);
    color: white;
}

.lhp-photo-card__badge--pending {
    background: var(--lha-warning-500);
}

.lhp-photo-card__badge--delete {
    background: var(--lha-danger-500);
}

/* Photo Card Info */
.lhp-photo-card__info {
    padding: var(--lha-space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lha-space-2);
    border-top: 1px solid var(--lha-grey-100);
}

.lhp-photo-card__location {
    font-size: 14px;
    font-weight: 500;
    color: var(--lha-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Photo Card Actions */
.lhp-photo-card__actions {
    display: flex;
    gap: var(--lha-space-1);
    flex-shrink: 0;
}

.lhp-photo-card__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--lha-radius-md);
    background: var(--lha-grey-100);
    color: var(--lha-grey-600);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0 !important;
    line-height: 1;
    font-size: 0;
}

button.lhp-photo-card__action {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

.lhp-photo-card__action:hover {
    background: var(--lha-navy);
    color: white;
}

.lhp-photo-card__action--delete:hover {
    background: var(--lha-danger-500);
    color: white;
}

.lhp-photo-card__action--undo:hover {
    background: var(--lha-success-500);
    color: white;
}

.lhp-photo-card__action svg {
    display: block;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

/* Gallery Empty State Enhancement */
.lhp-gallery-empty__hint {
    color: var(--lha-grey-500);
    font-size: 14px;
    margin-bottom: var(--lha-space-4);
}

/* Footer Actions */
.lhp-footer-actions {
    display: flex;
    gap: var(--lha-space-3);
}

/* Modal */
.lhp-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lhp-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.lhp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, 0.6);
}

.lhp-modal__content {
    position: relative;
    background: var(--lha-white);
    border-radius: var(--lha-radius-lg);
    padding: var(--lha-space-6);
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 31, 63, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lhp-modal.is-open .lhp-modal__content {
    transform: scale(1);
}

.lhp-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--lha-navy);
    margin: 0 0 var(--lha-space-3);
}

.lhp-modal__message {
    color: var(--lha-grey-600);
    line-height: 1.6;
    margin: 0 0 var(--lha-space-6);
}

.lhp-modal__actions {
    display: flex;
    gap: var(--lha-space-3);
    justify-content: flex-end;
}

/* Alert Enhancement */
.lhp-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--lha-space-3);
    padding: var(--lha-space-4);
    border-radius: var(--lha-radius-md);
    background: var(--lha-grey-100);
    color: var(--lha-navy);
}

.lhp-alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.lhp-alert--info {
    background: var(--lha-info-50, #eff6ff);
    border: 1px solid var(--lha-info-200, #bfdbfe);
}

.lhp-alert--info svg {
    color: var(--lha-info-500, #3b82f6);
}

/* Photo Gallery Responsive */
@media (max-width: 1200px) {
    .lhp-photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lhp-photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--lha-space-3);
    }

    .lhp-photo-card__info {
        flex-direction: column;
        align-items: flex-start;
    }

    .lhp-photo-card__actions {
        width: 100%;
        justify-content: flex-end;
    }

    .lhp-footer-actions {
        flex-direction: column;
        width: 100%;
    }

    .lhp-footer-actions .lha-btn {
        width: 100%;
        justify-content: center;
    }

    .lhp-section__footer {
        flex-direction: column;
        gap: var(--lha-space-3);
    }
}

@media (max-width: 480px) {
    .lhp-photo-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DATA TABLES
   ============================================
   Modern, accessible data tables for portal pages.
   Navy header, zebra striping, proper alignment.
*/

.lhp-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--lha-space-6));
    padding: 0 var(--lha-space-6);
}

.lhp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--lha-text-base);
}

.lhp-table thead {
    background-color: var(--lha-navy);
    color: var(--lha-white);
}

.lhp-table thead th {
    padding: var(--lha-space-4) var(--lha-space-4);
    font-weight: var(--lha-weight-semibold);
    text-align: left;
    white-space: nowrap;
    font-size: 15px;
    letter-spacing: 0.01em;
    border: none;
}

.lhp-table thead th:first-child {
    border-top-left-radius: var(--lha-radius-md);
}

.lhp-table thead th:last-child {
    border-top-right-radius: var(--lha-radius-md);
}

.lhp-table tbody tr {
    border-bottom: 1px solid var(--lha-grey-100);
    transition: background-color var(--lha-duration-fast);
}

.lhp-table tbody tr:nth-child(even) {
    background-color: var(--lha-grey-50);
}

.lhp-table tbody tr:hover {
    background-color: var(--lha-navy-50);
}

.lhp-table tbody td {
    padding: var(--lha-space-4) var(--lha-space-4);
    vertical-align: middle;
    font-size: 15px;
    color: var(--lha-grey-700);
}

/* Column alignment helpers */
.lhp-table .text-right,
.lhp-table td.text-right,
.lhp-table th.text-right {
    text-align: right !important;
}

.lhp-table .text-center,
.lhp-table td.text-center,
.lhp-table th.text-center {
    text-align: center !important;
}

.lhp-table .nowrap {
    white-space: nowrap;
}

/* Pending row styling */
.lhp-table tbody tr.is-pending {
    background-color: var(--lha-warning-50);
}

.lhp-table tbody tr.is-pending:hover {
    background-color: var(--lha-warning-100);
}

/* Status badges in tables */
.lhp-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--lha-radius-full);
    font-size: 13px;
    font-weight: var(--lha-weight-medium);
    line-height: 1.4;
}

.lhp-badge--pending {
    background-color: var(--lha-warning-100);
    color: var(--lha-warning-700);
}

.lhp-badge--success {
    background-color: var(--lha-success-100);
    color: var(--lha-success-700);
}

.lhp-badge--danger {
    background-color: var(--lha-danger-100);
    color: var(--lha-danger-700);
}

.lhp-badge--info {
    background-color: var(--lha-cyan-100, #e0f7fa);
    color: var(--lha-cyan-700, #0097a7);
}

.lhp-badge--neutral {
    background-color: var(--lha-grey-100);
    color: var(--lha-grey-600);
}

/* Table action links */
.lhp-table-actions {
    display: flex;
    gap: var(--lha-space-2);
    align-items: center;
}

.lhp-table-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    border-radius: var(--lha-radius-md);
    font-size: 14px;
    font-weight: var(--lha-weight-medium);
    text-decoration: none;
    transition: all var(--lha-duration-fast);
    cursor: pointer;
    border: none;
    background: none;
}

.lhp-table-action--edit {
    color: var(--lha-cyan);
}

.lhp-table-action--edit:hover {
    background-color: var(--lha-cyan-50, #e0f7fa);
    color: var(--lha-cyan);
}

.lhp-table-action--delete {
    color: var(--lha-danger-500);
}

.lhp-table-action--delete:hover {
    background-color: var(--lha-danger-50);
    color: var(--lha-danger-600);
}

.lhp-table-action--download {
    color: var(--lha-success-600);
}

.lhp-table-action--download:hover {
    background-color: var(--lha-success-50);
    color: var(--lha-success-700);
}

.lhp-table-action--undo {
    color: var(--lha-warning-600);
}

.lhp-table-action--undo:hover {
    background-color: var(--lha-warning-50);
    color: var(--lha-warning-700);
}

.lhp-table-action svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

/* Table divider row (for in-situ vs past bookings) */
.lhp-table tbody tr.lhp-table-divider td {
    background-color: var(--lha-grey-100);
    padding: var(--lha-space-3) var(--lha-space-4);
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-grey-600);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--lha-grey-200);
}

.lhp-table tbody tr.lhp-table-divider td svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -2px;
}

.lhp-table tbody tr.lhp-table-divider:hover td {
    background-color: var(--lha-grey-100);
}

/* Current/In-situ booking highlight */
.lhp-table tbody tr.is-current {
    background-color: var(--lha-success-50);
    border-left: 3px solid var(--lha-success-500);
}

.lhp-table tbody tr.is-current:hover {
    background-color: var(--lha-success-100);
}

/* Amount/Money column styling */
.lhp-table .lhp-amount {
    font-family: var(--lha-font-mono, monospace);
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-navy);
}

/* Empty state for tables */
.lhp-empty-state {
    text-align: center;
    padding: var(--lha-space-10) var(--lha-space-6);
}

.lhp-empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--lha-space-5);
    background-color: var(--lha-grey-100);
    border-radius: 50%;
    color: var(--lha-grey-400);
}

.lhp-empty-state__icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    fill: none;
}

.lhp-empty-state__title {
    font-size: var(--lha-text-lg);
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-navy);
    margin: 0 0 var(--lha-space-2);
}

.lhp-empty-state__text {
    font-size: var(--lha-text-base);
    color: var(--lha-grey-500);
    margin: 0 0 var(--lha-space-6);
}

/* Filter form styling */
.lhp-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lha-space-4);
    align-items: flex-end;
    padding: var(--lha-space-5);
    background-color: var(--lha-grey-50);
    border-radius: var(--lha-radius-lg);
    margin-bottom: var(--lha-space-5);
}

.lhp-filter-form__group {
    display: flex;
    flex-direction: column;
    gap: var(--lha-space-2);
}

.lhp-filter-form__label {
    font-size: 14px;
    font-weight: var(--lha-weight-medium);
    color: var(--lha-grey-600);
}

.lhp-filter-form__input {
    height: 44px;
    padding: 0 var(--lha-space-3);
    border: 1px solid var(--lha-grey-200);
    border-radius: var(--lha-radius-md);
    font-size: 15px;
    min-width: 160px;
    background-color: var(--lha-white);
}

.lhp-filter-form__input:focus {
    outline: none;
    border-color: var(--lha-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

.lhp-filter-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 44px;
    padding: 0 var(--lha-space-5);
    background-color: var(--lha-navy);
    color: var(--lha-white);
    border: none;
    border-radius: var(--lha-radius-md);
    font-size: 15px;
    font-weight: var(--lha-weight-medium);
    cursor: pointer;
    transition: background-color var(--lha-duration-fast);
    white-space: nowrap;
}

.lhp-filter-form__submit svg {
    flex-shrink: 0;
}

.lhp-filter-form__submit:hover {
    background-color: var(--lha-navy-800, #001a35);
}

/* Page intro text */
.lhp-page-intro {
    font-size: var(--lha-text-base);
    color: var(--lha-grey-600);
    line-height: 1.6;
    margin-bottom: var(--lha-space-5);
}

/* Toggle buttons (past/future payments) */
.lhp-toggle-group {
    display: inline-flex;
    border: 1px solid var(--lha-grey-200);
    border-radius: var(--lha-radius-md);
    overflow: hidden;
    margin-bottom: var(--lha-space-5);
}

.lhp-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: var(--lha-space-3) var(--lha-space-5);
    font-size: 15px;
    font-weight: var(--lha-weight-medium);
    color: var(--lha-grey-600);
    background-color: var(--lha-white);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--lha-duration-fast);
    white-space: nowrap;
}

.lhp-toggle-btn svg {
    flex-shrink: 0;
}

.lhp-toggle-btn:not(:last-child) {
    border-right: 1px solid var(--lha-grey-200);
}

.lhp-toggle-btn:hover {
    background-color: var(--lha-grey-50);
}

.lhp-toggle-btn.is-active {
    background-color: var(--lha-navy);
    color: var(--lha-white);
}

/* Quick Actions / CTA Bar */
.lhp-cta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lha-space-3);
    padding-top: var(--lha-space-5);
    border-top: 1px solid var(--lha-grey-100);
    margin-top: var(--lha-space-5);
}

.lhp-cta-bar .lha-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--lha-space-2);
}

.lhp-cta-bar .lha-btn svg {
    width: 18px;
    height: 18px;
}

/* Record count */
.lhp-record-count {
    font-size: 14px;
    color: var(--lha-grey-500);
    margin-bottom: var(--lha-space-4);
}

.lhp-record-count strong {
    color: var(--lha-navy);
    font-weight: var(--lha-weight-semibold);
}

/* Pagination styling */
.lhp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--lha-space-1);
    margin-top: var(--lha-space-5);
    font-size: 15px;
}

.lhp-pagination a,
.lhp-pagination span {
    padding: var(--lha-space-2) var(--lha-space-3);
    border-radius: var(--lha-radius-md);
    color: var(--lha-grey-600);
    text-decoration: none;
    transition: all var(--lha-duration-fast);
}

.lhp-pagination a:hover {
    background-color: var(--lha-grey-100);
    color: var(--lha-navy);
}

.lhp-pagination .current {
    background-color: var(--lha-navy);
    color: var(--lha-white);
    font-weight: var(--lha-weight-medium);
}

/* Responsive tables */
@media (max-width: 768px) {
    .lhp-table-wrapper {
        margin: 0 calc(-1 * var(--lha-space-4));
        padding: 0 var(--lha-space-4);
    }

    .lhp-table thead th,
    .lhp-table tbody td {
        padding: var(--lha-space-3) var(--lha-space-3);
        font-size: 14px;
    }

    .lhp-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .lhp-filter-form__input {
        width: 100%;
    }

    .lhp-cta-bar {
        flex-direction: column;
    }

    .lhp-cta-bar .lha-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ROOMS MANAGEMENT PAGE
   ============================================
   Modern room cards with calendar, amenities,
   notes, and photos in an intuitive layout.
*/

.lhp-rooms-page {
    max-width: 100%;
}

/* Room Card */
.lhp-room-card {
    background-color: var(--lha-white);
    border: 1px solid var(--lha-grey-200);
    border-radius: var(--lha-radius-xl);
    margin-bottom: var(--lha-space-6);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.04);
}

.lhp-room-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--lha-space-4);
    padding: var(--lha-space-5) var(--lha-space-6);
    background: linear-gradient(135deg, var(--lha-navy) 0%, var(--lha-navy-800) 100%);
    color: var(--lha-white);
}

.lhp-room-card__title-group {
    display: flex;
    align-items: center;
    gap: var(--lha-space-3);
    flex-wrap: wrap;
}

.lhp-room-card__title {
    font-size: 22px;
    font-weight: var(--lha-weight-bold);
    color: var(--lha-white);
    margin: 0;
}

.lhp-room-card__type {
    display: inline-flex;
    align-items: center;
    padding: var(--lha-space-1) var(--lha-space-3);
    background-color: var(--lha-magenta);
    border-radius: var(--lha-radius-full);
    font-size: 13px;
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lhp-room-card__header .lhp-badge--neutral {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--lha-white);
}

.lhp-room-card__actions {
    display: flex;
    gap: var(--lha-space-2);
    flex-wrap: wrap;
}

.lhp-room-card__body {
    padding: var(--lha-space-6);
}

/* Room Grid Layout */
.lhp-room-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lha-space-6);
    margin-bottom: var(--lha-space-6);
}

@media (max-width: 1024px) {
    .lhp-room-grid {
        grid-template-columns: 1fr;
    }
}

.lhp-room-grid__bookings {
    min-width: 0;
}

.lhp-room-grid__details {
    display: flex;
    flex-direction: column;
    gap: var(--lha-space-5);
}

/* Room Subsection Titles */
.lhp-room-subsection-title {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    font-size: 16px;
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-navy);
    margin: 0 0 var(--lha-space-4);
    padding-bottom: var(--lha-space-2);
    border-bottom: 2px solid var(--lha-magenta);
}

.lhp-room-subsection-title svg {
    color: var(--lha-magenta);
    flex-shrink: 0;
}

/* ============================================
   ROOM BOOKINGS LIST
   ============================================
   Clean, scannable booking cards showing
   current guest and upcoming arrivals.
*/

.lhp-bookings-list {
    display: flex;
    flex-direction: column;
    gap: var(--lha-space-3);
}

/* Individual Booking Item */
.lhp-booking-item {
    background-color: var(--lha-white);
    border: 1px solid var(--lha-grey-200);
    border-radius: var(--lha-radius-lg);
    padding: var(--lha-space-4);
    transition: box-shadow var(--lha-duration-fast);
}

.lhp-booking-item:hover {
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.08);
}

/* Currently Staying - prominent styling */
.lhp-booking-item--current {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
    border-left: 4px solid #10b981;
}

.lhp-booking-item__status {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    margin-bottom: var(--lha-space-2);
}

.lhp-booking-status {
    display: inline-flex;
    align-items: center;
    gap: var(--lha-space-1);
    font-size: 12px;
    font-weight: var(--lha-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lhp-booking-status--insitu {
    color: #059669;
}

.lhp-booking-status--insitu svg {
    color: #10b981;
}

.lhp-booking-item__guest {
    margin-bottom: var(--lha-space-2);
}

.lhp-booking-item__name {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    font-size: 16px;
    font-weight: var(--lha-weight-semibold);
    color: var(--lha-navy);
    margin-bottom: 2px;
}

.lhp-booking-item__name .lhp-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
    min-height: auto !important;
}

.lhp-booking-item__details {
    display: block;
    font-size: 14px;
    color: var(--lha-grey-600);
}

.lhp-booking-item__dates {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lhp-booking-item__range {
    font-size: 14px;
    color: var(--lha-grey-700);
    font-weight: var(--lha-weight-medium);
}

.lhp-booking-item__remaining {
    font-size: 13px;
    color: #059669;
    font-weight: var(--lha-weight-semibold);
}

.lhp-booking-item__arrival {
    font-size: 14px;
    color: var(--lha-grey-700);
}

.lhp-booking-item__countdown {
    color: var(--lha-grey-500);
    font-size: 13px;
}

.lhp-booking-item__duration {
    font-size: 13px;
    color: var(--lha-grey-500);
}

/* Upcoming booking - subtle styling */
.lhp-booking-item--upcoming {
    background-color: var(--lha-grey-50);
    border-color: var(--lha-grey-200);
}

/* Pending booking - amber indicator */
.lhp-booking-item--pending {
    border-left: 4px solid #f59e0b;
}

/* Bookings Divider */
.lhp-bookings-divider {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    font-size: 12px;
    font-weight: var(--lha-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lha-grey-500);
    padding: var(--lha-space-2) 0;
}

.lhp-bookings-divider svg {
    color: var(--lha-grey-400);
}

/* Empty State */
.lhp-bookings-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--lha-space-6) var(--lha-space-4);
    background-color: var(--lha-grey-50);
    border: 2px dashed var(--lha-grey-200);
    border-radius: var(--lha-radius-lg);
}

.lhp-bookings-empty svg {
    color: var(--lha-grey-300);
    margin-bottom: var(--lha-space-2);
}

.lhp-bookings-empty span {
    font-size: 15px;
    color: var(--lha-grey-600);
    font-weight: var(--lha-weight-medium);
}

.lhp-bookings-empty__hint {
    font-size: 13px !important;
    color: var(--lha-grey-400) !important;
    font-weight: var(--lha-weight-normal) !important;
    margin-top: var(--lha-space-1);
}

/* View All Link */
.lhp-bookings-viewall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--lha-space-2);
    padding: var(--lha-space-3) var(--lha-space-4);
    background-color: var(--lha-navy-50);
    border: 1px solid var(--lha-navy-100);
    border-radius: var(--lha-radius-md);
    font-size: 14px;
    font-weight: var(--lha-weight-medium);
    color: var(--lha-navy);
    text-decoration: none;
    transition: all var(--lha-duration-fast);
    margin-top: var(--lha-space-2);
}

.lhp-bookings-viewall:hover {
    background-color: var(--lha-navy-100);
    color: var(--lha-navy);
    text-decoration: none;
}

.lhp-bookings-viewall svg {
    color: var(--lha-magenta);
}

/* Room Amenities Grid */
.lhp-room-amenities {
    background-color: var(--lha-grey-50);
    border-radius: var(--lha-radius-lg);
    padding: var(--lha-space-4);
}

.lhp-amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lha-space-2);
}

@media (min-width: 1200px) {
    .lhp-amenity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lhp-amenity-item {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    padding: var(--lha-space-2) var(--lha-space-3);
    background-color: var(--lha-white);
    border-radius: var(--lha-radius-md);
    font-size: 13px;
    transition: all var(--lha-duration-fast);
}

.lhp-amenity-item--has {
    color: var(--lha-success-700);
    border: 1px solid var(--lha-success-200);
}

.lhp-amenity-item--has svg {
    color: var(--lha-success-500);
}

.lhp-amenity-item--missing {
    color: var(--lha-grey-400);
    border: 1px solid var(--lha-grey-200);
    background-color: var(--lha-grey-50);
}

.lhp-amenity-item--missing svg {
    color: var(--lha-grey-300);
}

.lhp-amenity-item svg {
    flex-shrink: 0;
}

/* Room Notes */
.lhp-room-notes {
    background-color: var(--lha-grey-50);
    border-radius: var(--lha-radius-lg);
    padding: var(--lha-space-4);
}

.lhp-room-notes__hint {
    font-size: 14px;
    color: var(--lha-grey-500);
    line-height: 1.5;
    margin: 0 0 var(--lha-space-3);
}

.lhp-room-notes__form {
    display: flex;
    flex-direction: column;
    gap: var(--lha-space-3);
}

.lhp-room-notes__form .lha-textarea {
    resize: vertical;
    min-height: 100px;
}

.lhp-room-notes__form .lha-btn {
    align-self: flex-start;
}

/* Room Photos */
.lhp-room-photos {
    padding-top: var(--lha-space-5);
    border-top: 1px solid var(--lha-grey-200);
}

.lhp-room-photos__count {
    font-weight: var(--lha-weight-normal);
    color: var(--lha-grey-500);
    font-size: 14px;
    margin-left: var(--lha-space-2);
}

.lhp-room-photos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--lha-space-3);
    margin-bottom: var(--lha-space-4);
}

.lhp-room-photo {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--lha-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform var(--lha-duration-fast), box-shadow var(--lha-duration-fast);
}

.lhp-room-photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.lhp-room-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lhp-room-photo:hover img {
    transform: scale(1.05);
}

.lhp-room-photos__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--lha-space-8) var(--lha-space-4);
    background-color: var(--lha-grey-50);
    border-radius: var(--lha-radius-lg);
    text-align: center;
    margin-bottom: var(--lha-space-4);
}

.lhp-room-photos__empty svg {
    color: var(--lha-grey-300);
    margin-bottom: var(--lha-space-3);
}

.lhp-room-photos__empty p {
    font-size: 15px;
    color: var(--lha-grey-500);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lhp-room-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--lha-space-3);
    }

    .lhp-room-card__actions {
        width: 100%;
    }

    .lhp-room-card__actions .lha-btn {
        flex: 1;
        justify-content: center;
    }

    .lhp-room-card__body {
        padding: var(--lha-space-4);
    }

    .lhp-amenity-grid {
        grid-template-columns: 1fr;
    }

    .lhp-room-photos__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lhp-booking-item {
        padding: var(--lha-space-3);
    }

    .lhp-booking-item__name {
        font-size: 15px;
        flex-wrap: wrap;
    }

    .lhp-bookings-viewall {
        font-size: 13px;
    }
}

/* ============================================
   COMPLIANCE STATUS SECTION
   ============================================
   Shows host's outstanding and completed compliance items
   Added 2026-01-21
*/

.lhp-compliance-section {
    margin-bottom: var(--lha-space-6);
}

.lhp-compliance-progress-text {
    font-size: var(--lha-text-sm);
    color: var(--lha-grey-500);
}

.lhp-compliance-progress {
    display: flex;
    align-items: center;
    gap: var(--lha-space-3);
    margin-bottom: var(--lha-space-5);
}

.lhp-compliance-progress__bar {
    flex: 1;
    height: 12px;
    background: var(--lha-grey-200, #e5e7eb);
    border-radius: 6px;
    overflow: hidden;
}

.lhp-compliance-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lha-cyan, #2294d2), var(--lha-magenta, #e6007e));
    border-radius: 6px;
    transition: width 0.5s ease;
}

.lhp-compliance-progress__fill--complete {
    background: var(--lha-success-500, #10b981);
}

.lhp-compliance-progress__pct {
    font-size: var(--lha-text-lg);
    font-weight: var(--lha-weight-bold, 700);
    color: var(--lha-navy, #000032);
    min-width: 50px;
    text-align: right;
}

.lhp-compliance-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lha-space-5);
}

@media (max-width: 768px) {
    .lhp-compliance-lists {
        grid-template-columns: 1fr;
    }
}

.lhp-compliance-list {
    background: var(--lha-grey-50, #f9fafb);
    border-radius: var(--lha-radius-lg);
    padding: var(--lha-space-4);
}

.lhp-compliance-list--outstanding {
    background: #fef3c7;
    border: 1px solid #f59e0b;
}

.lhp-compliance-list--completed {
    background: #d1fae5;
    border: 1px solid #10b981;
}

.lhp-compliance-list__title {
    display: flex;
    align-items: center;
    gap: var(--lha-space-2);
    font-size: var(--lha-text-base);
    font-weight: var(--lha-weight-semibold, 600);
    margin: 0 0 var(--lha-space-3) 0;
    color: var(--lha-navy, #000032);
}

.lhp-compliance-list--outstanding .lhp-compliance-list__title {
    color: #92400e;
}

.lhp-compliance-list--outstanding .lhp-compliance-list__title svg {
    stroke: #f59e0b;
}

.lhp-compliance-list--completed .lhp-compliance-list__title {
    color: #065f46;
}

.lhp-compliance-list--completed .lhp-compliance-list__title svg {
    stroke: #10b981;
}

.lhp-compliance-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lhp-compliance-list__items li {
    padding: var(--lha-space-2) 0;
    font-size: var(--lha-text-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.lhp-compliance-list__items li:last-child {
    border-bottom: none;
}

.lhp-compliance-list--outstanding .lhp-compliance-list__items li {
    color: #78350f;
}

.lhp-compliance-list--completed .lhp-compliance-list__items li {
    color: #047857;
}
