/* ==========================================================
   CONTROL TOWER - LUXURY HOSPITALITY QUALITY ASSURANCE
   DESIGN SYSTEM & CORE STYLESHEET
   ========================================================== */

:root {
    --navy-900: #0B132B;
    --navy-800: #131E3A;
    --navy-700: #1C2541;
    --navy-600: #2C385C;
    
    --gold-600: #B38E58;
    --gold-500: #C5A880;
    --gold-400: #D4AF37;
    --gold-300: #E6CA65;
    --gold-light: #FDF9EE;

    --bg-cream: #FBF9F5;
    --surface-white: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.85);

    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-gold: #B38E58;

    --border-light: rgba(197, 168, 128, 0.22);
    --border-subtle: #E5E7EB;

    --pass-green: #10B981;
    --pass-bg: #ECFDF5;
    --pass-border: #A7F3D0;

    --warn-amber: #F59E0B;
    --warn-bg: #FFFBEB;
    --warn-border: #FDE68A;

    --fail-red: #EF4444;
    --fail-bg: #FEF2F2;
    --fail-border: #FECACA;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(11, 19, 43, 0.07);
    --shadow-lg: 0 10px 28px rgba(11, 19, 43, 0.12);
    --shadow-gold: 0 6px 20px rgba(197, 168, 128, 0.35);

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- Top Status Bar ---------------- */
.top-status-bar {
    background-color: var(--navy-900);
    color: #94A3B8;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.status-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.status-active {
    background-color: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.status-dot.status-cv {
    background-color: #38BDF8;
    box-shadow: 0 0 8px #38BDF8;
}

.status-link {
    color: var(--gold-400);
    text-decoration: none;
    transition: color 0.2s;
}

.status-link:hover {
    color: #FFF;
}

.sep {
    color: rgba(255, 255, 255, 0.25);
}

.hospitality-tier {
    color: var(--gold-300);
    font-weight: 500;
}

/* ---------------- Main Header ---------------- */
.main-header {
    background-color: var(--navy-800);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-900);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-gold);
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-ai {
    color: var(--gold-400);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    margin-left: 3px;
    background: rgba(212, 175, 55, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.brand-sub {
    display: block;
    font-size: 0.68rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    color: #CBD5E1;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item i {
    font-size: 0.9rem;
    color: var(--gold-400);
}

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

.nav-item.active {
    color: #FFFFFF;
    background: rgba(197, 168, 128, 0.16);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.4rem;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------------- Flash Messages ---------------- */
.flash-container {
    margin-top: 18px;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

.alert-warning {
    background-color: var(--warn-bg);
    color: #92400E;
    border: 1px solid var(--warn-border);
}

.alert-danger {
    background-color: var(--fail-bg);
    color: #991B1B;
    border: 1px solid var(--fail-border);
}

.close-alert {
    margin-left: auto;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    line-height: 1;
}

/* ---------------- Typography & Headings ---------------- */
.page-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

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

.gold-gradient {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-900);
    box-shadow: 0 4px 14px rgba(197, 168, 128, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(197, 168, 128, 0.45);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-600);
    border: 1px solid var(--gold-500);
}

.btn-outline-gold:hover {
    background: var(--gold-light);
    color: var(--gold-600);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.btn-danger {
    background-color: var(--fail-red);
    color: #FFF;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 5px 12px;
    font-size: 0.78rem;
}

.w-100 {
    width: 100%;
}

/* ---------------- Hero Banner ---------------- */
.hero-banner {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: center;
    margin-top: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(197, 168, 128, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 168, 128, 0.15);
    color: var(--gold-300);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #CBD5E1;
    margin-bottom: 28px;
    max-width: 540px;
    line-height: 1.55;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-card-preview {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(197, 168, 128, 0.4);
}

.hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.hero-glass-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(11, 19, 43, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlay-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #CBD5E1;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
}

.overlay-match {
    text-align: right;
}

.match-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.match-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #94A3B8;
}

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

.metric-card {
    background-color: var(--surface-white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.metric-icon.gold {
    background-color: var(--gold-light);
    color: var(--gold-600);
}

.metric-icon.navy {
    background-color: #E2E8F0;
    color: var(--navy-800);
}

.metric-icon.green {
    background-color: var(--pass-bg);
    color: var(--pass-green);
}

.metric-icon.purple {
    background-color: #F3E8FF;
    color: #9333EA;
}

.metric-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------------- How It Works Flow ---------------- */
.section-card {
    background-color: var(--surface-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    margin-top: 36px;
}

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

.step-card {
    background: var(--bg-cream);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    position: relative;
}

.step-number {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(197, 168, 128, 0.25);
    line-height: 1;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--surface-white);
    color: var(--gold-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.step-heading {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--navy-900);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------------- Properties Grid ---------------- */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}

.property-card {
    background-color: var(--surface-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.property-media {
    position: relative;
    height: 210px;
    overflow: hidden;
}

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

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

.property-type-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(6px);
    color: var(--gold-300);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.property-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.property-location {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.5;
}

.property-metrics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
}

.p-metric {
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.rooms-count {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ---------------- Tables & Status Badges ---------------- */
.table-responsive {
    overflow-x: auto;
}

.luxury-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.luxury-table th {
    background-color: #F8FAFC;
    color: var(--navy-900);
    font-weight: 600;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-light);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.luxury-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.luxury-table tr:hover {
    background-color: #FDFBF7;
}

.zone-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
}

.zone-bedroom { background-color: #EDE9FE; color: #6D28D9; }
.zone-bathroom { background-color: #E0F2FE; color: #0369A1; }
.zone-living, .zone-lounge { background-color: #FEF3C7; color: #B45309; }
.zone-balcony, .zone-deck { background-color: #DCFCE7; color: #15803D; }

.verdict-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.verdict-passed {
    background-color: var(--pass-bg);
    color: #065F46;
    border: 1px solid var(--pass-border);
}

.verdict-attention {
    background-color: var(--warn-bg);
    color: #92400E;
    border: 1px solid var(--warn-border);
}

.verdict-failed {
    background-color: var(--fail-bg);
    color: #991B1B;
    border: 1px solid var(--fail-border);
}

.status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-approved { background-color: #D1FAE5; color: #065F46; }
.status-rectified { background-color: #FEF3C7; color: #92400E; }
.status-pending { background-color: #FEE2E2; color: #991B1B; }

.score-pill-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 110px;
}

.score-value {
    font-weight: 700;
    color: var(--navy-900);
    width: 36px;
}

.score-track {
    flex: 1;
    height: 6px;
    background-color: #E2E8F0;
    border-radius: 3px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 3px;
}

.fill-green { background-color: var(--pass-green); }
.fill-amber { background-color: var(--warn-amber); }
.fill-red { background-color: var(--fail-red); }

/* ---------------- Forms & Inputs ---------------- */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    background-color: var(--surface-white);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.25);
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.col-5 { flex: 0 0 calc(41.66% - 8px); }
.col-6 { flex: 1; }
.col-7 { flex: 0 0 calc(58.33% - 8px); }

.font-mono {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.85rem;
}

/* ---------------- Modals ---------------- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 19, 43, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background-color: var(--surface-white);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
}

.modal-card.modal-lg {
    max-width: 720px;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--navy-900);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: #F8FAFC;
}

/* ---------------- Empty State ---------------- */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-icon {
    font-size: 3rem;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ---------------- Property Detail & Rooms ---------------- */
.breadcrumb-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.breadcrumb-bar a {
    color: var(--gold-600);
    text-decoration: none;
    font-weight: 500;
}

.property-hero-banner {
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border: 1px solid rgba(197, 168, 128, 0.3);
    box-shadow: var(--shadow-lg);
}

.prop-hero-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 8px 0 4px;
}

.prop-hero-loc {
    color: var(--gold-300);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.prop-hero-desc {
    max-width: 680px;
    color: #CBD5E1;
    font-size: 0.95rem;
}

.rooms-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-rooms-pill {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.room-card {
    background-color: var(--surface-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.room-media-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.room-template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(6px);
    color: var(--gold-300);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.room-media-box .zone-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    margin: 0;
}

.room-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.room-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.45;
}

.last-audit-box {
    background-color: var(--bg-cream);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 0.82rem;
    border: 1px solid var(--border-light);
}

.last-audit-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.last-audit-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.audits-total-text {
    color: var(--text-muted);
}

.room-actions-row {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.room-actions-row .btn {
    flex: 1;
}

/* ---------------- Footer ---------------- */
.main-footer {
    background-color: var(--navy-900);
    color: #94A3B8;
    margin-top: auto;
    padding-top: 48px;
    border-top: 1px solid rgba(197, 168, 128, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .brand-name {
    color: #FFFFFF;
    margin-bottom: 8px;
}

.brand-desc {
    max-width: 360px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    color: var(--gold-400);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.footer-col a, .footer-info {
    display: block;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    background-color: #070D1F;
    padding: 16px 0;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.version-badge {
    background: rgba(197, 168, 128, 0.15);
    color: var(--gold-300);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
}

/* ---------------- Utilities & Responsiveness ---------------- */
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.py-4 { padding-top: 24px; padding-bottom: 24px; }
.text-gold { color: var(--gold-600); }
.text-danger { color: var(--fail-red); }
.text-success { color: var(--pass-green); }
.text-muted { color: var(--text-muted); }
.page-header-flex { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 900px) {
    .hero-banner {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .page-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .col-5, .col-7 {
        flex: 1;
    }
}
