/* Silver Sands Apartment Rentals - Sea Blue, Cream & Black Theme */

:root {
    /* Sea Blue, Cream & Black Color Palette */
    --sea-blue: #0ea5e9;
    --sea-blue-dark: #0284c7;
    --sea-blue-light: #38bdf8;
    --sea-blue-deep: #0369a1;
    
    --cream: #fef9e7;
    --cream-warm: #fef3c7;
    --cream-light: #fffbeb;
    --cream-dark: #fde68a;
    
    --black: #000000;
    --black-soft: #1a1a1a;
    --black-medium: #2d2d2d;
    
    /* Primary Colors */
    --primary-color: var(--sea-blue);
    --primary-dark: var(--sea-blue-dark);
    --primary-light: var(--sea-blue-light);
    --secondary-color: var(--black);
    --accent-color: var(--cream-dark);
    
    /* Neutral Colors */
    --text-dark: var(--black-soft);
    --text-medium: #4a4a4a;
    --text-light: #6b7280;
    --bg-light: var(--cream-light);
    --bg-white: #ffffff;
    --bg-cream: var(--cream);
    --bg-page: #f8fafc;
    --bg-gray: #f5f5f5;
    --border-color: #e5e7eb;
    
    /* Gradients */
    --bg-gradient: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --bg-hero: linear-gradient(135deg, rgba(14, 165, 233, 0.75) 0%, rgba(2, 132, 199, 0.75) 100%);
    --bg-footer: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    --bg-cream-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 10px 40px rgba(14, 165, 233, 0.3);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-page);
    background-image: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    min-height: 100vh;
}

body.contact-page,
body.about-page,
body.property-page {
    background: var(--bg-page);
    background-image: none;
}

.property-page .property-content,
.property-page .booking-form-container,
.property-page .application-form-container {
    border: 1px solid var(--border-color);
}

.property-page .amenities-list li {
    background: #f1f5f9;
}

.property-page .amenities-list li:hover {
    background: #e2e8f0;
}

.booked-dates-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-page);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.booked-dates-section h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.booked-dates-legend {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.legend-booked {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #94a3b8;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 0.35rem;
}

.booked-dates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.booked-date-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    border-radius: 4px;
    background: #e2e8f0;
    color: var(--text-medium);
}

.booked-date-cell.booked {
    background: #94a3b8;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Transparent over hero, solid on inner pages */
.main-header {
    background: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: none;
    border-bottom: none;
}

body.property-page .main-header,
body.about-page .main-header,
body.contact-page .main-header,
body.apply-page .main-header {
    background: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.property-page .header-logo-text,
body.about-page .header-logo-text,
body.contact-page .header-logo-text,
body.apply-page .header-logo-text {
    color: var(--text-dark);
    text-shadow: none;
}

body.property-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout),
body.about-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout),
body.contact-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout),
body.apply-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout) {
    color: var(--text-dark);
    text-shadow: none;
}

body.property-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout):hover,
body.about-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout):hover,
body.contact-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout):hover,
body.apply-page .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout):hover {
    color: var(--sea-blue);
}

body.property-page .nav-toggle,
body.about-page .nav-toggle,
body.contact-page .nav-toggle,
body.apply-page .nav-toggle {
    background: #e2e8f0;
    color: var(--text-dark);
}

body.property-page .nav-toggle:hover,
body.about-page .nav-toggle:hover,
body.contact-page .nav-toggle:hover {
    background: #cbd5e1;
}

body.property-page .main-nav.open a,
body.about-page .main-nav.open a,
body.contact-page .main-nav.open a {
    color: white;
    text-shadow: none;
}

body.property-page .main-content,
body.about-page .main-content,
body.contact-page .main-content,
body.apply-page .main-content {
    padding-top: 5rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.header-logo-img {
    height: 58px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.header-logo-text {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
    .header-logo-img {
        height: 62px;
        max-width: 260px;
    }
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    font-size: 1.25rem;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.nav-overlay.visible {
    display: block;
    pointer-events: auto;
    opacity: 1;
}

@media (max-width: 768px) {
    .main-header .header-content {
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-overlay {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 85vw);
        height: 100vh;
        flex-direction: column;
        background: var(--bg-white);
        padding: 4rem 0 1.5rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
        z-index: 1001;
        border-radius: 0;
        left: auto;
        transform: none;
    }
    
    .main-nav.open {
        display: flex;
    }
    
    .main-nav a {
        padding: 0.875rem 1.5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-radius: 0;
        color: var(--text-dark);
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .main-nav a:hover {
        background: #f8fafc;
    }
    
    .main-nav a.btn-primary {
        margin: 0.5rem 1.5rem;
        border-radius: var(--radius);
        border: none;
    }
    
    .main-nav a.btn-logout {
        color: #64748b;
    }
}

@media (min-width: 769px) {
    .main-nav {
        display: flex;
        margin-left: auto;
    }
}

.logo a {
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sea-blue);
    letter-spacing: -0.5px;
    margin: 0;
}

.logo-image {
    height: 160px;
    width: auto;
    max-width: 900px;
    min-width: 500px;
    object-fit: contain;
    display: block;
    padding: 5px 0;
}

.main-nav {
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout):hover {
    color: var(--cream-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout):hover::after {
    width: 100%;
}

/* Buttons - Modern Clean Design */
.btn-primary, .btn-secondary, .btn-small, .btn-logout {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    letter-spacing: 0.3px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--sea-blue);
    color: white;
    border: 2px solid var(--sea-blue);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    background: var(--sea-blue-dark);
    border-color: var(--sea-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--sea-blue-dark);
    color: white;
    border: 2px solid var(--sea-blue-dark);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-secondary:hover {
    background: var(--sea-blue-deep);
    border-color: var(--sea-blue-deep);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(3, 105, 161, 0.4);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-logout {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.btn-logout:hover {
    background: white;
    color: var(--sea-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-logout:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Hero Section - Sunset Over Lake */
.hero-section {
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    color: white;
    padding: clamp(7rem, 14vw, 12rem) 1.5rem clamp(6rem, 12vw, 10rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-height: min(100vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    z-index: 10;
    background: transparent;
    padding: 0;
}

.hero-logo a {
    display: block;
    text-decoration: none;
}

.hero-logo-image {
    height: clamp(80px, 18vw, 180px);
    width: auto;
    max-width: min(90vw, 600px);
    min-width: 0;
    object-fit: contain;
    display: block;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Hero Redesign */
.hero-redesign {
    min-height: min(100vh, 720px);
    padding: clamp(8rem, 16vw, 14rem) 1.5rem clamp(7rem, 14vw, 12rem);
}
.hero-overlay-redesign {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.5) 40%, rgba(14, 165, 233, 0.15) 100%);
    pointer-events: none;
}
.hero-container-redesign {
    position: relative;
    z-index: 2;
}
.hero-content-redesign {
    max-width: 720px;
}
.hero-eyebrow {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}
.hero-title-redesign {
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}
.hero-subtitle-redesign {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    opacity: 0.95;
}
.hero-cta-redesign {
    margin-top: 0;
}
.hero-cta-btn {
    min-height: 56px;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Why Us Redesign */
.why-us-redesign {
    padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color);
}
.why-us-grid-redesign {
    max-width: 960px;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
}
.why-us-card-redesign {
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-us-card-redesign:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}
.why-us-icon-redesign {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.5rem;
    border-radius: 16px;
    margin-bottom: 0.5rem;
}
.why-us-card-redesign .why-us-text {
    font-size: 1.05rem;
    text-align: center;
}
@media (max-width: 768px) {
    .why-us-grid-redesign {
        grid-template-columns: 1fr;
    }
}

/* Properties Section Redesign */
.properties-section-redesign {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.section-header-redesign {
    margin-bottom: 3.5rem;
    text-align: center;
}
.section-header-redesign h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.section-header-redesign p {
    font-size: 1.2rem;
    color: var(--text-medium);
    font-weight: 500;
}
body.home-page .properties-grid-modern {
    gap: clamp(1.75rem, 4vw, 2.5rem);
}
body.home-page .property-card-modern {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.home-page .property-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}
body.home-page .property-card-modern .property-overlay {
    opacity: 0;
    transition: opacity 0.25s ease;
}
body.home-page .property-card-modern:hover .property-overlay {
    opacity: 1;
}
body.home-page .property-info-modern {
    padding: 1.5rem 1.75rem;
}
body.home-page .property-info-modern h3 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
body.home-page .property-price-modern .price-amount {
    font-weight: 800;
    font-size: 1.35rem;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3.75rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    opacity: 0.95;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 1s ease;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    animation: fadeInUp 1.2s ease;
}

.hero-cta-btn {
    min-height: 56px;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.hero-scroll a:hover {
    opacity: 1;
}

/* Why Us / Trust Strip */
.why-us-strip {
    background: var(--bg-white);
    padding: clamp(2rem, 4vw, 2.75rem) 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

body.home-page .why-us-strip {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 920px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.why-us-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.why-us-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.12);
    color: var(--sea-blue);
    border-radius: 14px;
    font-size: 1.25rem;
}

.why-us-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

@media (max-width: 600px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

/* Front page: properties section anchor and responsive grid */
#properties {
    scroll-margin-top: 5rem;
}

body.home-page .properties-section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

body.home-page .properties-section .section-header {
    margin-bottom: 3rem;
}

body.home-page .properties-section .section-header h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

body.home-page .properties-section .section-header p {
    font-size: 1.15rem;
    color: var(--text-medium);
    font-weight: 500;
}

body.home-page .properties-grid-modern {
    gap: clamp(1.5rem, 4vw, 2.25rem);
}

body.home-page .property-card-modern {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.home-page .property-card-modern:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

body.home-page .property-info-modern h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

body.home-page .property-price-modern .price-amount {
    font-weight: 800;
}

.properties-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.properties-grid-modern {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 600px) {
    .properties-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .properties-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-info-modern {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.view-details-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Search Section - Floating Card */
.search-section {
    background: var(--bg-white);
    padding: 2.5rem;
    margin: -3rem auto 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.search-form {
    width: 100%;
}

.search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-row input,
.search-row select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.search-row input:focus,
.search-row select:focus {
    outline: none;
    border-color: var(--sea-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Properties Grid - Modern Cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.property-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.property-card:hover::before {
    transform: scaleX(1);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.property-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.property-info {
    padding: 1.75rem;
}

.property-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.property-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-info h3 a:hover {
    color: var(--sea-blue);
}

.property-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-price {
    margin: 1.25rem 0;
    font-size: 1.5rem;
}

.property-price strong {
    color: var(--sea-blue);
}

/* Property Detail Page */
.property-detail {
    margin: 2rem 0;
}

.property-detail-layout {
    display: block;
}

@media (min-width: 1024px) {
    .property-detail-layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 2rem;
        align-items: start;
    }
    .property-detail-sidebar {
        position: sticky;
        top: 6rem;
    }
    .property-detail-sidebar .booking-section {
        display: block;
        margin: 0;
    }
}

.property-detail-main {
    min-width: 0;
}

.property-gallery {
    margin-bottom: 2rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(14, 165, 233, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail-images img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-images img:hover {
    opacity: 0.8;
    border-color: var(--sea-blue);
    transform: scale(1.05);
}

.property-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.property-pricing {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.price-item {
    margin: 0.75rem 0;
    font-size: 1.1rem;
}

.property-description,
.property-amenities,
.rental-requirements {
    margin: 2.5rem 0;
}

.amenities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.amenities-list li:hover {
    background: rgba(14, 165, 233, 0.1);
    transform: translateX(5px);
}

/* Booking/Application Forms */
.booking-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.booking-section.rental-type-both {
    grid-template-columns: 1fr;
}

.rental-form-hidden {
    display: none !important;
}

.rental-choice-step {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(14, 165, 233, 0.1);
    margin-bottom: 1.5rem;
}

.rental-choice-step h2 {
    margin: 0 0 0.5rem 0;
    color: var(--sea-blue);
    font-size: 1.35rem;
}

.rental-choice-intro {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Elegant choice UI (property page - both rental types) */
.rental-choice-elegant {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rental-choice-elegant .rental-choice-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin: 0 0 1rem 0;
}

.rental-choice-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.rental-choice-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-page, #f8fafc);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    text-align: center;
}

.rental-choice-option:hover {
    border-color: var(--sea-blue);
    background: rgba(14, 165, 233, 0.06);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.rental-choice-option-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

.rental-choice-option-desc {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.2rem;
    display: block;
}

.rental-change-link-wrap {
    margin: 0 0 1rem 0;
}

.rental-change-link {
    font-size: 0.875rem;
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 500;
}

.rental-change-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .rental-choice-options {
        grid-template-columns: 1fr;
    }
}

.rental-choice-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.rental-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
}

.rental-choice-card:hover {
    border-color: var(--sea-blue);
    background: rgba(14, 165, 233, 0.06);
}

.rental-choice-icon {
    font-size: 2rem;
    color: var(--sea-blue);
    margin-bottom: 0.75rem;
}

.rental-choice-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.rental-choice-desc {
    font-size: 0.875rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .rental-choice-cards {
        grid-template-columns: 1fr;
    }
}

.booking-form-container,
.application-form-container {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.booking-form-container h2,
.application-form-container h2 {
    margin-bottom: 1.5rem;
    color: var(--sea-blue);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sea-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    letter-spacing: 0.02em;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-row .form-group {
    margin-bottom: 0;
}
.form-row + .form-group,
.form-section > .form-group:first-of-type {
    margin-top: 0;
}
.application-form-container .form-note {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.application-form-container .form-note p {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
}
.form-section-consent .form-note {
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-row .form-group {
        margin-bottom: 1.75rem;
    }
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
}

.price-calculation {
    background: var(--bg-cream-gradient);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    border: 2px solid rgba(14, 165, 233, 0.2);
    color: var(--sea-blue);
}

/* Modern Landlord Dashboard */
.landlord-dashboard .main-content {
    padding: 0;
    background: #f8fafc;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
    overflow-x: hidden;
}

/* Sidebar Navigation - Redesign */
.dashboard-sidebar {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(180deg, #0f172a 0%, #0c1222 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.sidebar-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.5rem;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.85rem 1.25rem;
    margin: 0 0.5rem 0.2rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    font-weight: 600;
    font-size: 0.94rem;
}

.nav-item i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.nav-item span:first-of-type {
    flex: 1;
    min-width: 0;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.nav-item.active {
    background: rgba(14, 165, 233, 0.25);
    color: white;
}

.nav-item.active::before {
    display: none;
}

.nav-badge {
    flex-shrink: 0;
    background: #0ea5e9;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0.5rem;
}

.nav-item.logout {
    color: rgba(255, 255, 255, 0.6);
}

.nav-item.logout:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #fca5a5;
}

/* Main Dashboard Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2.25rem;
    min-height: 100vh;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.dashboard-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 0 0 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, transparent 100%);
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.dashboard-greeting {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-bell {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.notification-bell:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

.notification-bell i {
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    border-radius: 10px;
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    border: 2px solid white;
}

.btn-quick-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0ea5e9;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.btn-quick-action:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

.sidebar-toggle i {
    font-size: 1.25rem;
}

.dashboard-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.metric-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.metric-card-large {
    grid-column: span 2;
}

.metric-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.metric-indigo {
    background: #eef2ff;
    color: #4f46e5;
}

.metric-emerald {
    background: #d1fae5;
    color: #059669;
}

.metric-amber {
    background: #fef3c7;
    color: #d97706;
}

.metric-red {
    background: #fee2e2;
    color: #dc2626;
}

.metric-info {
    flex: 1;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

.metric-sublabel {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0.25rem 0 0 0;
}

.occupancy-display {
    width: 100%;
}

.occupancy-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.occupancy-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Dashboard Cards */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.dashboard-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fafbfc 0%, transparent 100%);
}

.card-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.card-link {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: #0284c7;
}

.card-body {
    padding: 1.5rem 1.75rem;
}

/* Data List */
.data-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.data-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.data-item-main h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.data-item-meta {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.data-item-side {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-link {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.btn-link:hover {
    color: #0284c7;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
    display: block;
}

.empty-state p {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
}

.empty-state-sub {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.empty-state .btn-secondary {
    margin-top: 1rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s ease;
    background: white;
}

.quick-action-item:hover {
    background: #f8fafc;
    border-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-action-item i {
    font-size: 1.75rem;
    color: #0ea5e9;
}

.quick-action-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 240px;
    }
    
    .dashboard-main {
        margin-left: 240px;
    }
    
    .metric-card-large {
        grid-column: span 1;
    }
    
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: flex;
        margin-right: 0.75rem;
    }
    
    .dashboard-sidebar-overlay {
        display: block;
    }
    
    .dashboard-sidebar-overlay.visible {
        opacity: 1;
        pointer-events: auto;
    }
    
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .dashboard-top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-top-header .header-left {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    overflow-x: auto;
    display: block;
}

.data-table thead,
.data-table tbody,
.data-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.data-table th,
.data-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.data-table th {
    background: var(--bg-cream-gradient);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: rgba(14, 165, 233, 0.05);
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed,
.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled,
.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-in_progress,
.status-under_review {
    background: #e0e7ff;
    color: #3730a3;
}

/* Forms */
.property-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    margin-bottom: 2rem;
    color: var(--sea-blue);
    font-size: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.amenities-input {
    margin-top: 1rem;
}

.amenity-input-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.amenity-input-row input {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 0;
    background: var(--bg-page);
}

.login-container {
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    border: 2px solid rgba(14, 165, 233, 0.2);
}

.login-container h1 {
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--sea-blue);
    font-size: 2rem;
}

.login-container p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.login-form {
    margin-top: 2rem;
}

.login-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border: 2px solid;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1 {
    color: var(--sea-blue);
    font-size: 2.25rem;
}

.filter-section {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-section select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-section select:focus {
    outline: none;
    border-color: var(--sea-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Detail Sections */
.detail-section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.detail-section h2 {
    margin-bottom: 2rem;
    color: var(--sea-blue);
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 1rem;
    font-size: 1.75rem;
}

.detail-section p {
    margin: 1rem 0;
    line-height: 1.8;
}

/* Footer - Professional Dark Theme */
.main-footer {
    background: var(--bg-footer);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.25rem;
    color: #cbd5e1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.75rem 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--sea-blue-light);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state p {
    font-size: 1.1rem;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .hero-logo {
        top: 1.5rem;
        left: 1.5rem;
        padding: 0;
    }
    
    .hero-logo-image {
        height: 140px;
        max-width: 450px;
        min-width: 280px;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .hero-section {
        padding: 6rem 0 4rem;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-large {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item-modern {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }

    .search-section {
        margin: -2rem auto 2rem;
        padding: 1.5rem;
    }

    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .search-row button {
        width: 100%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .booking-section {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .property-specs {
        flex-direction: column;
        gap: 1rem;
    }

    .data-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .dashboard-actions a {
        width: 100%;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .amenities-list {
        grid-template-columns: 1fr;
    }

    .main-image {
        height: 300px;
    }

    .property-detail-main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .property-content {
        padding: 1.5rem;
    }
    
    .apartment-info-box,
    .apartment-features-list,
    .features-grid {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        text-align: left;
    }
    
    .apartment-info-box,
    .apartment-features-list {
        overflow-x: hidden;
    }
    
    .features-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
    
    .feature-item {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .feature-item span {
        min-width: 0;
    }
    
    .apartment-info-box {
        padding: 1.5rem;
    }
    
    .apartment-info-box h2 {
        font-size: 1.5rem;
    }
    
    .apartment-location h3,
    .apartment-features-list h3 {
        font-size: 1.25rem;
    }
    
    /* Page Headers and Content */
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 0 1rem;
    }
    
    .intro-box,
    .policy-intro,
    .terms-intro,
    .policy-section,
    .mission-box,
    .apartment-info-section {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .protected-classes-grid,
    .rights-grid,
    .criteria-grid,
    .complaint-agencies {
        grid-template-columns: 1fr;
    }
    
    .practices-list .practice-item {
        flex-direction: column;
        text-align: center;
    }
    
    .practice-icon {
        margin: 0 auto;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .property-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid,
    .prohibited-grid {
        grid-template-columns: 1fr;
    }

    .booking-form-container,
    .application-form-container {
        padding: 1.5rem;
    }

    .login-container {
        padding: 2rem;
        margin: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .search-form-modern {
        padding: 1.5rem;
    }
    
    .property-image-modern {
        height: 200px;
    }
    
    .hero-logo {
        top: 1rem;
        left: 1rem;
        padding: 0;
    }
    
    .hero-logo-image {
        height: 120px;
        max-width: 380px;
        min-width: 240px;
    }
    
    .header-content {
        min-height: auto;
        padding: 0.5rem 0;
    }
    
    .header-logo-img {
        height: 50px;
        max-width: 200px;
    }
    
    .main-header {
        position: relative;
    }
    
    .main-nav a {
        color: var(--text-dark);
        text-shadow: none;
    }
    
    .main-nav a:not(.btn-primary):not(.btn-secondary):not(.btn-logout):hover {
        color: var(--sea-blue);
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .property-card {
        border-radius: var(--radius);
    }

    .property-info {
        padding: 1.25rem;
    }

    .search-section {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card,
.stat-card,
.dashboard-section {
    animation: fadeIn 0.6s ease-out;
}

/* Image Management */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.image-item {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

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

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-actions {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: var(--bg-light);
}

.primary-badge {
    background: var(--bg-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.current-images {
    margin-bottom: 2rem;
}

/* Alert Messages */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.25rem;
}

.alert-success::before {
    content: "\f00c";
    color: #10b981;
}

.alert-error::before {
    content: "\f06a";
    color: #ef4444;
}

/* Statistics Section */
.stats-section {
    background: var(--bg-cream);
    padding: 4rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 5;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item-modern {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon-modern {
    font-size: 3rem;
    color: var(--sea-blue);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Modern Search Section */
.search-section-modern {
    padding: 4rem 0;
    background: white;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

.search-form-modern {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-field label i {
    color: var(--sea-blue);
    margin-right: 0.5rem;
}

.search-field input,
.search-field select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--sea-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.btn-search {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

/* Modern Properties Grid */
.properties-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card-modern {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.property-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-image-modern {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.property-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-modern:hover .property-image-modern img {
    transform: scale(1.1);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card-modern:hover .property-overlay {
    opacity: 1;
}

.view-details-btn {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-badge-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.property-badge-modern i {
    margin-right: 0.25rem;
}

.property-info-modern {
    padding: 1.5rem;
}

.property-info-modern h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.property-location-modern {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-location-modern i {
    color: var(--sea-blue);
    margin-right: 0.5rem;
}

.property-details-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-details-modern span {
    color: var(--text-medium);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-details-modern i {
    color: var(--sea-blue);
}

.property-price-modern {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--bg-cream);
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sea-blue);
}

.price-period {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 4rem;
    color: var(--sea-blue);
    margin: 2rem 0 1.5rem;
}

.step-item h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Properties Section */
.properties-section {
    padding: 5rem 0;
    background: var(--bg-page);
}

.no-results-modern {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    grid-column: 1 / -1;
}

.no-results-modern i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-results-modern h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-results-modern p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

.no-results-modern a {
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 600;
}

.no-results-modern a:hover {
    text-decoration: underline;
}

/* Statistics Section */
.stats-section {
    background: var(--bg-cream);
    padding: 4rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 5;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item-modern {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon-modern {
    font-size: 3rem;
    color: var(--sea-blue);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Modern Search Section */
.search-section-modern {
    padding: 4rem 0;
    background: white;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

.search-form-modern {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-field label i {
    color: var(--sea-blue);
    margin-right: 0.5rem;
}

.search-field input,
.search-field select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--sea-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.btn-search {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

/* Modern Properties Grid */
.properties-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card-modern {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.property-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-image-modern {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.property-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-modern:hover .property-image-modern img {
    transform: scale(1.1);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card-modern:hover .property-overlay {
    opacity: 1;
}

.view-details-btn {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-badge-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.property-badge-modern i {
    margin-right: 0.25rem;
}

.property-info-modern {
    padding: 1.5rem;
}

.property-info-modern h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.property-location-modern {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-location-modern i {
    color: var(--sea-blue);
    margin-right: 0.5rem;
}

.property-details-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-details-modern span {
    color: var(--text-medium);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-details-modern i {
    color: var(--sea-blue);
}

.property-price-modern {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--bg-cream);
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sea-blue);
}

.price-period {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 4rem;
    color: var(--sea-blue);
    margin: 2rem 0 1.5rem;
}

.step-item h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Properties Section */
.properties-section {
    padding: 5rem 0;
    background: var(--bg-page);
}

.no-results-modern {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    grid-column: 1 / -1;
}

.no-results-modern i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-results-modern h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-results-modern p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

.no-results-modern a {
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 600;
}

.no-results-modern a:hover {
    text-decoration: underline;
}

/* Apartment Information Box */
.apartment-info-box {
    background: var(--bg-cream-gradient);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
    border: 2px solid rgba(14, 165, 233, 0.2);
}

.apartment-info-box h2 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.apartment-info-box h2 i {
    color: var(--sea-blue);
}

.info-note {
    background: rgba(14, 165, 233, 0.1);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--sea-blue);
    color: var(--text-dark);
}

.apartment-location {
    margin-bottom: 2rem;
}

.apartment-location h3 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nearby-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.nearby-list li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.nearby-list i {
    color: var(--sea-blue);
    width: 20px;
}

.apartment-features-list h3 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--sea-blue);
    width: 30px;
    text-align: center;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
}

.apartment-features {
    margin-top: 2rem;
}

.apartment-features h3 {
    color: var(--sea-blue);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

/* Apartment Information Box */
.apartment-info-box {
    background: var(--bg-cream-gradient);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
    border: 2px solid rgba(14, 165, 233, 0.2);
}

.apartment-info-box h2 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.apartment-info-box h2 i {
    color: var(--sea-blue);
}

.info-note {
    background: rgba(14, 165, 233, 0.1);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--sea-blue);
    color: var(--text-dark);
}

.apartment-location {
    margin-bottom: 2rem;
}

.apartment-location h3 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nearby-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.nearby-list li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.nearby-list i {
    color: var(--sea-blue);
    width: 20px;
}

.apartment-features-list h3 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    display: block;
}

.apartment-features {
    margin-top: 2rem;
}

.apartment-features h3 {
    color: var(--sea-blue);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

/* Page Headers and Content Sections */
.page-header {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--sea-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.35rem;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* Legal Pages - Modern Card-Based Design */
.legal-hero {
    background: var(--bg-gradient);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.legal-hero-content {
    position: relative;
    z-index: 2;
}

.legal-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.legal-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.85;
    font-style: italic;
}

.legal-content-section {
    padding: 4rem 0;
    background: var(--bg-page);
    min-height: 60vh;
}

.legal-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.legal-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.legal-card-header {
    background: var(--bg-gradient);
    color: white;
    padding: 2rem 2.5rem;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.legal-card-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.legal-card-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 400;
}

.legal-card-body {
    padding: 2.5rem;
}

.legal-card-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.legal-card-body p:last-child {
    margin-bottom: 0;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.info-card-header h3 {
    color: var(--sea-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.info-list li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sea-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.usage-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 1.75rem;
    border-left: 4px solid var(--sea-blue);
    transition: all 0.3s ease;
}

.usage-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.usage-card h3 {
    color: var(--sea-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.usage-card p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Sharing Grid */
.sharing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.sharing-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.sharing-card h3 {
    color: var(--sea-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sharing-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.sharing-card li {
    margin: 0.75rem 0;
    line-height: 1.7;
    color: var(--text-dark);
}

.note-card {
    background: rgba(14, 165, 233, 0.1);
    border-left: 4px solid var(--sea-blue);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.note-card strong {
    color: var(--sea-blue);
    font-size: 1.05rem;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.security-item {
    background: var(--bg-cream-gradient);
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--text-dark);
    font-weight: 500;
}

.warning-card {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.warning-card strong {
    color: #d97706;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.right-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.right-card h3 {
    color: var(--sea-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.right-card p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Card */
.contact-card {
    background: var(--bg-gradient);
    color: white;
}

.contact-card .legal-card-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.contact-card .legal-card-body {
    color: white;
}

.contact-card .legal-card-body p {
    color: rgba(255, 255, 255, 0.95);
}

.contact-info {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info strong {
    font-size: 1.2rem;
}

/* Rental Terms */
.rental-terms-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.rental-term-card {
    background: var(--bg-cream-gradient);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.rental-term-card h3 {
    color: var(--sea-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.term-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.term-item-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--sea-blue);
    box-shadow: var(--shadow-sm);
}

.term-item-card strong {
    color: var(--sea-blue);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.term-item-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.process-content h3 {
    color: var(--sea-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.payment-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.payment-card h3 {
    color: var(--sea-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.payment-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Maintenance Grid */
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.maintenance-item {
    background: var(--bg-cream-gradient);
    padding: 1.25rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--sea-blue);
    color: var(--text-dark);
    font-weight: 500;
}

/* Liability Grid */
.liability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.liability-item {
    background: var(--bg-cream-gradient);
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--text-dark);
    font-weight: 500;
}

/* Prohibited Grid */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.prohibited-item {
    background: rgba(220, 53, 69, 0.1);
    padding: 1.25rem;
    border-radius: var(--radius);
    border-left: 4px solid #dc3545;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

/* Protected Grid */
.protected-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.protected-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.3s ease;
}

.protected-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.protected-card h3 {
    color: var(--sea-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.protected-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Practices Grid */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.practice-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    border-left: 4px solid var(--sea-blue);
    transition: all 0.3s ease;
}

.practice-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.practice-card h3 {
    color: var(--sea-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.practice-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Accommodation Grid */
.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.accommodation-item {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.accommodation-item strong {
    color: var(--sea-blue);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.75rem;
}

.accommodation-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.criteria-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.criteria-card h3 {
    color: var(--sea-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.criteria-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Agency Grid */
.agency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.agency-card {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.agency-card h3 {
    color: var(--sea-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.agency-card p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: var(--text-dark);
}

.agency-card a {
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 600;
}

.agency-card a:hover {
    text-decoration: underline;
}

/* Services Grid Modern */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-card-modern {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.service-card-modern h3 {
    color: var(--sea-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card-modern p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mission-item {
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    padding: 1.75rem;
    border-left: 4px solid var(--sea-blue);
}

.mission-item strong {
    color: var(--sea-blue);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.75rem;
}

.mission-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Apartment Section */
.apartment-section {
    margin: 2rem 0;
}

.apartment-section h3 {
    color: var(--sea-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.nearby-section {
    margin-top: 1.5rem;
}

.nearby-section h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.nearby-item {
    background: var(--bg-cream-gradient);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--text-dark);
    font-weight: 500;
}

/* Features Grid Modern */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: var(--bg-cream-gradient);
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--sea-blue);
}

/* Protected Tags */
.protected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.protected-tag {
    background: var(--bg-gradient);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 5rem 0 4rem;
    }
    
    .legal-hero h1 {
        font-size: 2.5rem;
    }
    
    .legal-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .legal-card-header {
        padding: 1.5rem;
    }
    
    .legal-card-header h2 {
        font-size: 1.5rem;
    }
    
    .legal-card-body {
        padding: 1.5rem;
    }
    
    .info-grid,
    .usage-grid,
    .sharing-grid,
    .rights-grid,
    .process-grid,
    .payment-grid,
    .protected-grid,
    .practices-grid,
    .accommodation-grid,
    .criteria-grid,
    .agency-grid,
    .services-grid-modern,
    .mission-grid,
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .rental-terms-wrapper {
        gap: 2rem;
    }
    
    .process-card {
        flex-direction: column;
        text-align: center;
    }
    
    .process-number {
        margin: 0 auto;
    }
}

/* Intro and Info Boxes */
.intro-box,
.policy-intro,
.terms-intro {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    margin-top: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.intro-box h2,
.policy-intro h2,
.terms-intro h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.intro-box p,
.policy-intro p,
.terms-intro p {
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sea-blue);
}

/* Service cards no longer have icons */

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Mission Box */
.mission-box {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    margin-top: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mission-box h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    border-left: 4px solid var(--sea-blue);
}

.value-item strong {
    color: var(--sea-blue);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* Apartment Info Section */
.apartment-info-section {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    margin-top: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}

.section-header h2 {
    color: var(--sea-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
}

.info-note-box {
    background: rgba(14, 165, 233, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--sea-blue);
}

.info-note-box p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.7;
}

.location-box {
    margin-bottom: 2.5rem;
}

.location-box h3 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.nearby-amenities {
    margin-top: 1.5rem;
}

.nearby-amenities h4 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.amenity-item {
    padding: 0.75rem 1rem;
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.1);
    text-align: center;
}

.amenity-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.features-section {
    margin-top: 2rem;
}

.features-section h3 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.feature-item strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.feature-item span {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    display: block;
}

/* Commitment Box */
.commitment-box {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    margin-top: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.commitment-box h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.protected-classes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.protected-class {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    color: var(--sea-blue);
    font-weight: 600;
    border: 2px solid var(--sea-blue);
    box-shadow: var(--shadow-sm);
}

.commitment-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius);
    border-left: 4px solid var(--sea-blue);
}

.commitment-note a {
    color: var(--sea-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* Contact CTA */
.contact-cta {
    background: var(--bg-gradient);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 3rem 0;
    margin-top: 3rem;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Policy Sections */
.policy-section {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    margin-top: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.policy-section h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.policy-section h3 {
    color: var(--text-dark);
    margin: 2rem 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.policy-section h4 {
    color: var(--text-dark);
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
}

.policy-section p {
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

/* Info Categories */
.info-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.info-category {
    background: var(--bg-cream-gradient);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.info-category h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.info-category ul {
    list-style: none;
    padding: 0;
}

.info-category li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    padding-left: 1.5rem;
    position: relative;
}

.info-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sea-blue);
    font-weight: bold;
}

/* Usage List */
.usage-list {
    margin: 1.5rem 0;
}

.usage-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--sea-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.usage-item strong {
    color: var(--sea-blue);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.usage-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Sharing List */
.sharing-list {
    margin: 1.5rem 0;
}

.sharing-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sharing-item h3 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.sharing-item ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.sharing-item li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.note-box {
    background: rgba(14, 165, 233, 0.08);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    border-left: 4px solid var(--sea-blue);
    line-height: 1.6;
}

/* Security List */
.security-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.security-list li {
    padding: 1rem 0;
    padding-left: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.security-list li:last-child {
    border-bottom: none;
}

.security-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sea-blue);
    font-weight: bold;
    font-size: 1.5rem;
}

.security-note {
    background: rgba(255, 193, 7, 0.1);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    border-left: 4px solid #ffc107;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.right-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.right-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

/* Rights items no longer have icons */

.right-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.right-item p {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

/* Contact Info Box */
.contact-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 2rem 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-info-box p {
    margin: 0.75rem 0;
    color: var(--text-dark);
}

.contact-info-box a {
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-box a:hover {
    text-decoration: underline;
}

/* Terms Specific Styles */
.rental-type-section {
    margin: 2.5rem 0;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rental-type-section h3 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.terms-list {
    margin: 1.5rem 0;
}

.term-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--sea-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.term-item strong {
    color: var(--sea-blue);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.term-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.7;
}

/* Process Steps */
.process-steps {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-cream-gradient);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step h4 {
    color: var(--sea-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.process-step p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.7;
}

/* Payment Terms */
.payment-terms {
    margin: 1.5rem 0;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.payment-item h3 {
    color: var(--sea-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Maintenance List */
.maintenance-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.maintenance-list li {
    padding: 1rem 0;
    padding-left: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.maintenance-list li:last-child {
    border-bottom: none;
}

.maintenance-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sea-blue);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Liability List */
.liability-list {
    margin: 1rem 0 1.5rem 1.5rem;
}

.liability-list li {
    margin: 0.75rem 0;
    line-height: 1.7;
}

/* Prohibited Grid */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.prohibited-item {
    padding: 1rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: var(--radius);
    border-left: 4px solid #dc3545;
    color: var(--text-dark);
}

/* Fair Housing Specific Styles */
.protected-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.protected-class-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.protected-class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sea-blue);
}

/* Protected class cards no longer have icons */

.protected-class-card h3 {
    color: var(--sea-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.protected-class-card p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* Practices List */
.practices-list {
    margin: 1.5rem 0;
}

.practice-item {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--sea-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.practice-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.practice-item h3 {
    color: var(--sea-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.practice-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.7;
}

/* Accommodation Box */
.accommodation-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.accommodation-box h3 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.accommodation-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.accommodation-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    line-height: 1.8;
}

.accommodation-list li:last-child {
    border-bottom: none;
}

.accommodation-list strong {
    color: var(--sea-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.accommodation-note {
    background: rgba(14, 165, 233, 0.1);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    border-left: 4px solid var(--sea-blue);
    line-height: 1.7;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.criteria-item {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.criteria-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

/* Criteria items no longer have icons */

.criteria-item h4 {
    color: var(--sea-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.criteria-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

/* Complaint Agencies */
.complaint-agencies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.agency-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.agency-card h3 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.agency-card p {
    margin: 0.75rem 0;
    color: var(--text-dark);
}

.agency-card a {
    color: var(--sea-blue);
    text-decoration: none;
    font-weight: 600;
}

.agency-card a:hover {
    text-decoration: underline;
}

.complaint-note {
    background: rgba(255, 193, 7, 0.1);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    border-left: 4px solid #ffc107;
}

/* Complaint note no longer has icon */

/* Policy Footer */
.policy-footer {
    background: var(--bg-gradient);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 2.5rem 0;
    color: white;
}

.policy-footer p {
    margin: 0.75rem 0;
    color: white;
}

/* Policy footer no longer has icon */

/* Property Page Enhancements */
.property-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}

.property-header h1 {
    font-size: 2.25rem;
    color: var(--sea-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.property-location {
    font-size: 1.1rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-cream-gradient);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    flex-direction: column;
}

.spec-item i {
    font-size: 2rem;
    color: var(--sea-blue);
    margin-bottom: 0.5rem;
}

.spec-item strong {
    display: block;
    font-size: 1.75rem;
    color: var(--sea-blue);
    font-weight: 700;
}

.spec-item span {
    font-size: 0.9rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-pricing {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(14, 165, 233, 0.1);
}

.property-pricing h3 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.price-card {
    background: var(--bg-cream-gradient);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sea-blue);
}

.price-card.security-deposit {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    color: var(--sea-blue);
    font-weight: 700;
    margin: 0.5rem 0;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.property-description {
    margin: 2.5rem 0;
}

.property-description h2 {
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.description-content {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* Modern Landlord Pages - Tables & Components */

/* Modern Table */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.modern-table thead {
    background: #f1f5f9;
}

.modern-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.modern-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
}

.modern-table tbody tr {
    transition: background 0.2s ease;
}

.modern-table tbody tr:hover {
    background: #f1f5f9;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* Property Thumbnail */
.property-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.property-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Status Badges - Modern Pills */
.status-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.status-badge.status-active,
.status-badge.status-approved,
.status-badge.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-pending,
.status-badge.status-under_review {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-inactive,
.status-badge.status-rejected,
.status-badge.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.status-maintenance {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.status-in_progress {
    background: #e0e7ff;
    color: #3730a3;
}

/* Status Select */
.status-select {
    padding: 0.4rem 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    background: white;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-select:hover {
    border-color: #cbd5e1;
}

.status-select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Action Buttons - Icon Only */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-1px);
}

.action-btn.edit:hover {
    background: #eff6ff;
    border-color: #0ea5e9;
    color: #0284c7;
}

.action-btn.view:hover {
    background: #f0fdf4;
    border-color: #10b981;
    color: #059669;
}

/* Quick Stats Grid */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quick-stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.quick-stat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-stat-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    font-family: 'Inter', sans-serif;
}

.quick-stat-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Filter Bar */
.filter-bar {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-search {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search i {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    z-index: 1;
}

.filter-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.filter-search input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    color: #1e293b;
    min-width: 150px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.btn-filter {
    padding: 0.75rem 1.5rem;
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter:hover {
    background: #0284c7;
    transform: translateY(-1px);
}

.btn-clear {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #64748b;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-clear:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.filter-tab {
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    position: relative;
    bottom: -2px;
}

.filter-tab:hover {
    color: #1e293b;
    background: #f8fafc;
}

.filter-tab.active {
    color: #0ea5e9;
    border-bottom: 2px solid #0ea5e9;
    background: transparent;
}

.tab-count {
    color: #94a3b8;
    font-weight: 500;
}

.filter-tab.active .tab-count {
    color: #0ea5e9;
}

/* Quick Filter Chips */
.quick-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 0.6rem 1.25rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.filter-chip.active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: white;
}

.chip-count {
    color: #94a3b8;
    font-weight: 500;
}

.filter-chip.active .chip-count {
    color: rgba(255, 255, 255, 0.8);
}

/* Property Name Cell */
.property-name-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.occupancy-indicator {
    display: flex;
    gap: 0.5rem;
}

.occupancy-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.occupancy-badge.occupied {
    background: #fee2e2;
    color: #991b1b;
}

.occupancy-badge.available {
    background: #d1fae5;
    color: #065f46;
}

.type-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rate-item {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.occupancy-text {
    font-size: 0.85rem;
    color: #64748b;
}

.occupancy-text.available {
    color: #059669;
    font-weight: 600;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.date-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Cell */
.contact-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.contact-phone {
    color: #64748b;
    font-size: 0.85rem;
}

/* Risk Score */
.risk-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.risk-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.risk-dot.risk-green {
    background: #10b981;
}

.risk-dot.risk-amber {
    background: #f59e0b;
}

.risk-dot.risk-red {
    background: #ef4444;
}

.risk-score-help {
    margin-left: 0.25rem;
    opacity: 0.7;
    cursor: help;
}
.risk-score-help i {
    font-size: 0.85rem;
}

.risk-score-factors {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.risk-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

/* Bulk Actions */
.bulk-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.bulk-select {
    padding: 0.6rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: #1e293b;
    min-width: 150px;
}

.btn-bulk {
    padding: 0.6rem 1.25rem;
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-bulk:hover {
    background: #0284c7;
}

/* Settings Page */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.settings-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.section-description {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.setting-group {
    margin-bottom: 2rem;
}

.setting-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.setting-preview-inline {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.preview-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-thumbnail.banner-preview {
    width: 200px;
    height: 120px;
}

.preview-placeholder {
    color: #cbd5e1;
    font-size: 2rem;
}

.setting-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upload-form,
.url-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-label:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.btn-upload {
    padding: 0.75rem 1.25rem;
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-upload:hover {
    background: #0284c7;
}

.btn-remove {
    padding: 0.5rem 1rem;
    background: white;
    color: #ef4444;
    border: 1px solid #fee2e2;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.modern-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.modern-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.setting-hint {
    display: block;
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.setting-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive - Landlord Pages */
@media (max-width: 1024px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .dashboard-top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-form {
        flex-direction: column;
    }
    
    .filter-search {
        width: 100%;
    }
    
    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-tab {
        white-space: nowrap;
    }
    
    .quick-filters {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .modern-table {
        min-width: 800px;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .setting-preview-inline {
        flex-direction: column;
    }
    
    .preview-thumbnail {
        width: 100%;
        max-width: 200px;
    }
}

/* Application Details & Tenant Management Pages */

/* Two-Column Layout */
.application-details-layout,
.tenant-details-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.application-main-column,
.tenant-main-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.application-sidebar,
.tenant-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Detail Cards */
.detail-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.detail-card .card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-card .card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

.detail-card .card-body {
    padding: 1.5rem;
}

/* Modal overlay (e.g. custom questions edit) */
.modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 1rem;
}
.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}
.modal-content h3 { margin-top: 0; }
.modal-content .form-actions { margin-top: 1rem; display: flex; gap: 0.75rem; }

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item strong {
    color: #1e293b;
    font-size: 1rem;
}

.info-item span {
    color: #334155;
    font-size: 0.95rem;
}

.info-item a {
    color: #0ea5e9;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Emergency Contact Highlight */
.emergency-highlight {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.emergency-highlight label {
    color: #92400e;
}

.emergency-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.easy-landlord-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.easy-landlord-info label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.easy-landlord-info code {
    display: block;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    color: #1e293b;
}

.notes-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.notes-section label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.notes-content {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #334155;
    line-height: 1.6;
}

.submitted-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-card .card-header {
    padding: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-card .card-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.sidebar-card .card-body {
    padding: 1.25rem;
}

.status-action-card {
    border: 2px solid #0ea5e9;
}

/* Modern Select */
.modern-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Move-In Form */
.move-in-card {
    border: 2px solid #10b981;
}

.move-in-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.emergency-contact-section {
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.emergency-contact-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Quick Actions List */
.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s ease;
    background: white;
}

.quick-action-item:hover {
    background: #f8fafc;
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.quick-action-item.emergency-action {
    border-color: #f59e0b;
    background: #fef3c7;
}

.quick-action-item.emergency-action:hover {
    background: #fde68a;
    border-color: #f59e0b;
}

.quick-action-item i {
    width: 20px;
    text-align: center;
}

.quick-action-item button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Financial Health Widget */
.financial-health-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.financial-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.financial-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.financial-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.financial-value.collected {
    color: #059669;
}

.financial-period {
    font-size: 0.85rem;
    color: #94a3b8;
}

.financial-chart {
    margin-top: 1rem;
}

.chart-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Rent Ledger */
.rent-ledger {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.past-due-warning {
    background: #fee2e2;
    border: 2px solid #ef4444;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: #991b1b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.past-due-warning i {
    font-size: 1.5rem;
}

.current-month-rent {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.rent-month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rent-month-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.rent-info {
    font-size: 0.9rem;
    color: #64748b;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-checkbox label {
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
}

.payment-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.amount-due {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.amount-paid {
    font-size: 0.9rem;
    color: #059669;
    font-weight: 600;
}

.payment-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.rent-history {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.rent-history h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.history-month {
    font-weight: 600;
    color: #1e293b;
}

.history-amount {
    font-size: 0.9rem;
    color: #64748b;
}

/* Maintenance Requests */
.maintenance-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.maintenance-item {
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.maintenance-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.priority-badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.priority-badge.priority-low {
    background: #dbeafe;
    color: #1e40af;
}

.priority-badge.priority-high {
    background: #fef3c7;
    color: #92400e;
}

.priority-badge.priority-emergency {
    background: #fee2e2;
    color: #991b1b;
}

.maintenance-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.maintenance-progress {
    margin: 1.5rem 0;
}

.progress-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.progress-step.completed .step-dot {
    background: #10b981;
    border-color: #10b981;
}

.progress-step.current .step-dot {
    background: #0ea5e9;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.step-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    font-weight: 600;
}

.progress-step.completed .step-label,
.progress-step.current .step-label {
    color: #1e293b;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 0.5rem;
}

.progress-line.completed {
    background: #10b981;
}

.maintenance-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.maintenance-meta small {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Document Vault */
.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.document-item i {
    font-size: 2rem;
    color: #ef4444;
}

.document-info {
    flex: 1;
}

.document-info strong {
    display: block;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.document-info small {
    color: #64748b;
    font-size: 0.85rem;
}

.document-upload {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Past Due Alert */
.past-due-alert {
    border: 2px solid #ef4444;
    background: #fef2f2;
}

.past-due-alert .card-header {
    background: #fee2e2;
    border-bottom-color: #fca5a5;
}

.past-due-alert .card-header h2 {
    color: #991b1b;
}

.alert-count {
    background: #ef4444;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.past-due-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.past-due-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 1px solid #fca5a5;
    border-radius: 8px;
}

.past-due-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.past-due-info strong {
    color: #991b1b;
}

.past-due-info span {
    color: #64748b;
    font-size: 0.9rem;
}

.past-due-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.past-due-amount strong {
    color: #ef4444;
    font-size: 1.25rem;
}

.past-due-amount small {
    color: #64748b;
    font-size: 0.85rem;
}

/* Empty State Small */
.empty-state-small {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.empty-state-small i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.empty-state-small p {
    margin: 0;
    color: #64748b;
}

/* Responsive - Application & Tenant Details */
@media (max-width: 1024px) {
    .application-details-layout,
    .tenant-details-layout {
        grid-template-columns: 1fr;
    }
    
    .financial-health-widget {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-grid,
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .progress-bar {
        flex-wrap: wrap;
    }
    
    .progress-line {
        display: none;
    }
}

/* Tenant Listing Styles */
.tenant-name-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.past-due-badge-small {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.property-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.property-cell small {
    color: #64748b;
    font-size: 0.85rem;
}

.payment-summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-summary small {
    color: #64748b;
    font-size: 0.8rem;
}

.maintenance-summary {
    display: flex;
    align-items: center;
}

.maintenance-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.emergency-contact-small {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

.emergency-contact-small i {
    color: #f59e0b;
    font-size: 0.75rem;
}

.emergency-contact-small a {
    color: #92400e;
    text-decoration: none;
}

.emergency-contact-small a:hover {
    text-decoration: underline;
}

.text-muted {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Tenant Portal */
.tenant-portal-header {
    margin-bottom: 1.5rem;
}
.tenant-portal-header .tenant-maintenance-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.tenant-portal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.portal-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.portal-card-link:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.portal-card-link h2 {
    color: var(--sea-blue);
}
.portal-card-link h2 i {
    margin-right: 0.5rem;
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .search-section,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
}

