:root{--blue:#1f5eff;--blue-dark:#1648c7;--navy:#12213a;--text:#202936;--muted:#6f7a89;--light:#f5f7fb;--border:#e3e8ef;--green:#2f9e65}
body{margin:0;color:var(--text);background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}a{color:var(--blue)}a:hover{color:var(--blue-dark);text-decoration:none}.homegrid-navbar{min-height:72px;background:#fff;border-bottom:1px solid var(--border);box-shadow:0 3px 15px rgba(19,33,58,.04)}.navbar-brand,.auth-brand{color:var(--navy)!important;font-size:1.45rem;font-weight:800}.navbar-brand .brand-grid,.auth-brand .brand-grid{color:var(--blue)}.brand-house,.auth-brand .fa-home{color:var(--navy)!important;font-size:1.55rem;margin-right:7px;vertical-align:-1px}.brand-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;margin-right:6px;border-radius:9px;color:#fff!important;background:var(--blue)}.brand-icon i{color:#fff!important}.homegrid-navbar .nav-link{color:#4d5867!important;font-weight:600;margin-left:8px}.nav-user{margin-left:14px;color:#7a8492;font-size:.9rem}.btn-homegrid,.btn-outline-homegrid{border-radius:8px;font-weight:700;padding:.58rem 1.2rem}.btn-homegrid{color:#fff!important;background:var(--blue);border:1px solid var(--blue)}.btn-homegrid:hover{background:var(--blue-dark)}.btn-outline-homegrid{color:var(--blue)!important;background:#fff;border:1px solid #aac1ff}.flash-container{margin-top:20px}.eyebrow{display:inline-block;margin-bottom:12px;color:#7fc0ff;font-size:.76rem;font-weight:800;letter-spacing:1.4px}
.hero-section{min-height:590px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(10,27,55,.91),rgba(10,27,55,.65),rgba(10,27,55,.15)),url("images/hero.jpg") center/cover no-repeat}.hero-content{padding:55px 15px}.hero-section h1{max-width:820px;color:#fff;font-size:clamp(2.5rem,5vw,4.4rem);font-weight:800;line-height:1.05;letter-spacing:-2px}.hero-subtitle{max-width:720px;margin:18px 0 32px;color:rgba(255,255,255,.88);font-size:1.08rem;line-height:1.7}.property-search{max-width:970px;padding:17px;border-radius:14px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.18)}.property-search label,.filter-panel label{color:#596273;font-size:.76rem;font-weight:700}.property-search .form-control{height:46px}.search-button{height:46px}.featured-section,.connected-section,.role-section,.properties-page,.detail-section,.form-page,.table-page,.cards-page,.dashboard-section{padding:65px 0}.connected-section{background:var(--light)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-heading h2,.section-intro h2{color:var(--navy);font-weight:800}.section-intro{max-width:780px;margin:0 auto 38px}.section-intro p{color:var(--muted);line-height:1.7}
.property-card{height:100%;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(25,37,58,.06);transition:.2s}.property-card:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(25,37,58,.12)}.property-image-wrapper{position:relative;height:220px;overflow:hidden}.property-image-wrapper img{width:100%;height:100%;object-fit:cover}.property-badge,.reviewed-badge,.pending-badge{position:absolute;top:14px;padding:6px 10px;border-radius:20px;color:#fff;font-size:.72rem;font-weight:700}.property-badge{left:14px;background:rgba(18,33,58,.88)}.reviewed-badge{right:14px;background:rgba(47,158,101,.92)}.pending-badge{right:14px;background:rgba(227,149,31,.94)}.property-card-body{padding:18px}.property-card-body h5{color:var(--navy);font-weight:750}.property-location{min-height:42px;color:var(--muted);font-size:.9rem}.property-price,.detail-price{color:var(--blue);font-size:1.35rem;font-weight:800}.property-details{display:flex;flex-wrap:wrap;gap:12px;padding-top:13px;border-top:1px solid var(--border);color:#667181;font-size:.82rem}
.feature-box{height:100%;padding:30px 24px;border-radius:14px;background:#fff;box-shadow:0 7px 25px rgba(25,37,58,.05)}.feature-icon,.dashboard-icon{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;margin-bottom:18px;border-radius:16px;color:var(--blue);background:#e9f0ff;font-size:1.45rem}.feature-box h5{color:var(--navy);font-weight:750}.feature-box p{color:var(--muted)}.role-card{height:100%;padding:38px;border-radius:18px}.customer-card{background:linear-gradient(135deg,#eaf1ff,#f8faff);border:1px solid #d8e4ff}.realtor-card{color:#fff;background:linear-gradient(135deg,#12213a,#20375d)}.role-label{font-size:.75rem;font-weight:800;letter-spacing:1.2px;color:var(--blue)}.realtor-card .role-label{color:#8ab5ff}.role-card h3{margin:12px 0;font-weight:800}.role-card p{margin-bottom:24px;line-height:1.7;color:#667181}.realtor-card p{color:#d4deea}
.page-header,.dashboard-header{padding:55px 0 35px;background:linear-gradient(180deg,#f7f9fd,#fff)}.page-header h1,.dashboard-header h1{color:var(--navy);font-weight:800}.page-header p,.dashboard-header p{max-width:800px;color:var(--muted)}.filter-panel,.form-card,.detail-card,.table-card,.agent-card,.client-card{border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(25,37,58,.05)}.filter-panel,.form-card,.detail-card{padding:24px}.results-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px}.empty-state{padding:60px 20px;text-align:center;border:1px dashed #cad3df;border-radius:14px;color:var(--muted)}.detail-title-row{display:flex;justify-content:space-between;align-items:end}.detail-price{font-size:2rem}.detail-image{width:100%;max-height:500px;object-fit:cover;border-radius:16px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.detail-grid div{padding:15px;background:#f6f8fb;border-radius:10px}.detail-grid span{display:block;color:var(--muted);font-size:.8rem}.detail-grid strong{color:var(--navy)}.tag-row{display:flex;gap:8px;flex-wrap:wrap}.tag{padding:7px 10px;border-radius:30px;background:#eaf1ff;color:var(--blue);font-size:.83rem}.history-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border)}.sticky-card{position:sticky;top:90px}.narrow-form{max-width:620px;margin:auto}.wide-form{max-width:650px!important}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:32px}.stat-card{padding:22px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(25,37,58,.04)}.stat-card strong{display:block;color:var(--blue);font-size:2rem}.stat-card span{color:var(--muted)}.dashboard-tool{display:block;height:100%;padding:27px;border:1px solid var(--border);border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(25,37,58,.05);color:var(--text);transition:.2s}.dashboard-tool:hover{transform:translateY(-3px);color:var(--text);box-shadow:0 14px 30px rgba(25,37,58,.1)}.dashboard-tool h5{color:var(--navy);font-weight:750}.dashboard-tool p{min-height:48px;color:var(--muted)}.open-tool{font-size:.84rem;font-weight:700;color:var(--blue)}
.auth-page{min-height:calc(100vh - 72px);display:flex;align-items:center;padding:50px 0;background:#f4f7fb}.auth-card{overflow:hidden;max-width:1100px;margin:0 auto;border-radius:18px;background:#fff;box-shadow:0 18px 55px rgba(23,36,58,.12)}.auth-image{min-height:620px;display:flex;align-items:end;background-position:center;background-size:cover}.login-image{background-image:linear-gradient(180deg,rgba(12,27,52,.08),rgba(12,27,52,.82)),url("images/login-house.jpg")}.signup-image{background-image:linear-gradient(180deg,rgba(12,27,52,.08),rgba(12,27,52,.82)),url("images/signup-house.jpg")}.auth-image-overlay{width:100%;padding:42px;color:#fff}.light-eyebrow{color:#b9dcff}.auth-image-overlay h2{font-weight:800}.auth-image-overlay p{color:rgba(255,255,255,.84)}.auth-form-side{display:flex;align-items:center}.auth-form-wrapper{width:100%;max-width:430px;margin:auto;padding:48px 42px}.auth-brand{display:inline-block;margin-bottom:30px}.auth-form-wrapper h3{color:var(--navy);font-weight:800}.auth-intro{margin-bottom:25px;color:var(--muted)}.auth-form-wrapper label,.form-card label{color:#4d5767;font-size:.88rem;font-weight:700}.auth-form-wrapper .form-control,.form-card .form-control,.filter-panel .form-control{min-height:47px;border-color:var(--border);border-radius:8px}.auth-submit{height:49px}.auth-switch{margin-top:22px;text-align:center;color:var(--muted)}
.table-card{overflow:hidden}.table-card .table{margin:0}.table-card th{border-top:none;background:#f7f9fc;color:#647184;font-size:.8rem;text-transform:uppercase}.status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:.75rem;font-weight:700}.status-pending{background:#fff3cd;color:#856404}.status-accepted{background:#d4edda;color:#155724}.status-rejected,.status-closed{background:#f8d7da;color:#721c24}.agent-card{padding:28px;text-align:center;height:100%}.agent-avatar{display:inline-flex;width:78px;height:78px;align-items:center;justify-content:center;border-radius:50%;background:#eaf1ff;color:var(--blue);font-size:2rem;margin-bottom:14px}.agent-meta{display:flex;flex-direction:column;gap:4px;margin:18px 0;color:var(--muted);font-size:.85rem}.client-card{padding:20px;display:flex;justify-content:space-between;align-items:center}.client-card p{margin:0;color:var(--muted)}.homegrid-footer{padding:25px 0;color:#dce4ef;background:var(--navy)}.homegrid-footer strong{margin-right:10px;color:#fff}.footer-copy{color:#aeb9c7;font-size:.88rem}
@media(max-width:991.98px){.auth-image{display:none}.nav-user{display:none}.stat-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:767.98px){.hero-section h1{font-size:2.55rem;letter-spacing:-1px}.section-heading,.detail-title-row{display:block}.detail-price{margin-top:12px}.role-card{padding:28px}.featured-section,.connected-section,.role-section,.properties-page,.detail-section,.form-page,.table-page,.cards-page,.dashboard-section{padding:50px 0}.stat-row{grid-template-columns:1fr 1fr}.sticky-card{position:static}}/* Final project additions */
.detail-page{padding:55px 0}.detail-image{overflow:hidden;border-radius:16px;box-shadow:0 10px 30px rgba(25,37,58,.10)}.detail-image img{width:100%;height:430px;object-fit:cover}.detail-panel,.info-card{height:100%;padding:26px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(25,37,58,.05)}.detail-panel h1{color:var(--navy);font-weight:800;font-size:2rem}.detail-panel .detail-grid{margin-top:20px}.detail-grid small{display:block;color:var(--muted);margin-bottom:5px}.info-card h4{color:var(--navy);font-weight:750;margin-bottom:18px}.info-row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--border)}.tag-list{display:flex;flex-wrap:wrap;gap:8px}.data-tag{display:inline-block;padding:7px 10px;border-radius:20px;background:#eaf1ff;color:var(--blue);font-size:.82rem}.checkbox-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.check-card{display:block!important;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#f9fbfe;cursor:pointer}.check-card input{margin-right:7px}.multi-select{min-height:120px!important}.text-nowrap{white-space:nowrap}.form-page hr{margin:28px 0}.form-page h5{color:var(--navy);font-weight:750}.cards-page,.table-page{min-height:55vh}
@media(max-width:767.98px){.checkbox-grid{grid-template-columns:repeat(2,1fr)}.detail-image img{height:300px}.info-row{display:block}}
