@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
    --bc-navy:#071f49;
    --bc-navy-2:#0d3475;
    --bc-blue:#1769ff;
    --bc-blue-soft:#eaf2ff;
    --bc-red:#f04452;
    --bc-green:#13b765;
    --bc-orange:#f6a21a;
    --bc-ink:#101827;
    --bc-muted:#6b7688;
    --bc-line:#e8edf5;
    --bc-bg:#f6f8fc;
    --bc-card:#ffffff;
    --bc-shadow:0 18px 45px rgba(20,37,73,.10);
}

*{box-sizing:border-box}

html{min-height:100%}

body{
    min-height:100%;
    margin:0;
    background:
        radial-gradient(circle at 18% 8%, rgba(23,105,255,.10), transparent 30%),
        linear-gradient(180deg,#fbfcff 0%,var(--bc-bg) 44%,#ffffff 100%);
    color:var(--bc-ink);
    font-family:Inter,Arial,Helvetica,sans-serif;
    letter-spacing:0;
}

/*.app-splash{*/
/*    position:fixed;*/
/*    inset:0;*/
/*    z-index:3000;*/
/*    display:flex;*/
/*    flex-direction:column;*/
/*    align-items:center;*/
/*    justify-content:center;*/
/*    gap:10px;*/
/*    color:#fff;*/
/*    background:*/
/*        linear-gradient(135deg,rgba(7,31,73,.96),rgba(23,105,255,.92)),*/
/*        url('uploads/1782368987_WhatsApp_Image_2026-06-22_at_15.01.30.jpeg') center/cover;*/
/*    transition:opacity .45s ease,visibility .45s ease;*/
/*}*/

.app-splash {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, rgb(49 29 0 / 92%), rgb(13 37 67)), url(uploads/1782368987_WhatsApp_Image_2026-06-22_at_15.01.30.jpeg) center / cover;
    transition: opacity .45s ease, visibility .45s ease;
    animation: splashAutoHide .01s ease 1.2s forwards;
}

@keyframes splashAutoHide {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.app-splash.splash-hide{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.splash-mark{
    width:86px;
    height:86px;
    border-radius:28px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#fff,#d7e6ff);
    color:var(--bc-navy);
    font-size:30px;
    font-weight:900;
    box-shadow:0 28px 60px rgba(0,0,0,.26);
}

.app-splash strong{
    font-size:26px;
    font-weight:900;
}

.app-splash span{
    color:rgba(255,255,255,.76);
    font-size:13px;
}

.login-page{
    background:
        linear-gradient(180deg,rgba(5,18,43,.32),rgba(5,18,43,.82)),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center/cover fixed,
        url('uploads/1782368987_WhatsApp_Image_2026-06-22_at_15.01.30.jpeg') center/cover fixed;
}

.login-page .appbar,
.login-page .bottom-nav{
    display:none;
}

.login-page .bc-main{
    max-width:none;
    padding-top:0;
    padding-bottom:0!important;
}

a{color:var(--bc-blue)}

.bc-main{
    max-width:1060px;
    padding-top:18px;
    padding-bottom:116px!important;
}

.appbar{
    position:sticky;
    top:0;
    z-index:1020;
    min-height:74px;
    padding:12px 18px;
    /*background:linear-gradient(135deg,var(--bc-navy),var(--bc-navy-2));*/
    /*background: linear-gradient(338deg, #866234, #163155, #163155);*/
    background: #163155;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    /*box-shadow:0 18px 38px rgba(7,31,73,.24);*/
    box-shadow: 0px 9px 19px 4px rgb(7 31 73 / 47%);
}

.brand-lockup{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.brand-mark{
    width:42px;
    height:42px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#fff,#cfe0ff);
    color:var(--bc-navy);
    font-weight:800;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 24px rgba(0,0,0,.18);
}

.brand-text strong{
    display:block;
    font-size:18px;
    line-height:1.1;
}

.brand-text span{
    display:block;
    color:rgba(255,255,255,.72);
    font-size:11px;
    margin-top:2px;
}

.appbar-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.menu-btn{
    width:46px;
    height:46px;
    border:0;
    border-radius:16px;
    /*background:linear-gradient(145deg,#ffffff,#d6e4ff);*/
    background:transparent;
    color:var(--bc-navy);
    display:grid;
    place-items:center;
    /*box-shadow:0 12px 0 #081a3d,0 18px 28px rgba(0,0,0,.32),inset 0 1px 0 #fff;*/
    
    transform:translateY(-4px);
    transition:transform .18s ease,box-shadow .18s ease;
}

.menu-btn:active{
    transform:translateY(2px);
    box-shadow:0 5px 0 #081a3d,0 10px 18px rgba(0,0,0,.24),inset 0 1px 0 #fff;
}

.hamburger-3d{
    width:21px;
    display:flex;
    flex-direction:column;
    gap:4px;
}

/*.hamburger-3d span{*/
/*    height:3px;*/
/*    border-radius:20px;*/
/*    background:linear-gradient(90deg,var(--bc-navy),var(--bc-blue));*/
    
/*    box-shadow:0 1px 0 rgba(255,255,255,.8);*/
/*}*/

.hamburger-3d span {
    height: 3px;
    border-radius: 0;
    background: #f2d389;
     box-shadow: none; 
}

.top-icon{
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:15px;
    display:grid;
    place-items:center;
    color:#fff;
    text-decoration:none;
    position:relative;
    background:rgba(255,255,255,.09);
}

.top-icon .badge{
    position:absolute;
    top:-7px;
    right:-5px;
    font-size:10px;
}

.top-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    display:grid;
    place-items:center;
    border:3px solid rgba(255,255,255,.75);
    background:#fff;
    color:var(--bc-navy);
    font-weight:800;
    text-decoration:none;
}

.offcanvas{
    border:0;
    border-radius:0 24px 24px 0;
    box-shadow:30px 0 70px rgba(7,31,73,.26);
    max-width:300px;
}

.offcanvas-header{
    padding:14px 16px 4px;
}

.offcanvas-title{
    color:var(--bc-navy);
    font-weight:800;
}

.offcanvas-body{
    padding:8px 10px 14px;
}

.user-card{
    background:linear-gradient(145deg,#fff,#f3f7ff);
    border:1px solid #eef3fb;
    border-radius:18px;
    padding:12px;
    margin-bottom:10px;
    box-shadow:var(--bc-shadow);
}

.user-avatar{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
    max-width:42px;
    max-height:42px;
    border-radius:15px;
    overflow:hidden;
    background:linear-gradient(145deg,var(--bc-navy),var(--bc-blue));
    color:#fff;
    font-size:18px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:7px;
    box-shadow:0 18px 28px rgba(23,105,255,.28);
}
.user-avatar img{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
    max-width:42px;
    max-height:42px;
    object-fit:cover;
    object-position:center;
    display:block;
    border-radius:0;
}

.user-card h6{font-weight:800;color:var(--bc-ink)}
.user-card small,.user-card .text-muted{font-size:11px}

a.user-card:hover{border-color:#cfe0ff;box-shadow:0 14px 30px rgba(23,105,255,.14)}
a.user-card:hover .user-avatar{transform:translateY(-2px)}
.user-card .user-avatar{transition:transform .18s ease, box-shadow .18s ease}

.menu-link{
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px 10px;
    text-decoration:none;
    color:#263349;
    border-radius:13px;
    margin-bottom:4px;
    transition:.2s ease;
    font-weight:700;
    font-size:13px;
}

.menu-link i{
    width:28px;
    height:28px;
    border-radius:10px;
    display:grid;
    place-items:center;
    background:#f0f5ff;
    color:var(--bc-blue);
}

.offcanvas hr{margin:8px 0}

.menu-link:hover,.menu-link.active{
    background:linear-gradient(135deg,var(--bc-navy),var(--bc-blue));
    color:#fff;
    box-shadow:0 12px 24px rgba(23,105,255,.22);
}

.menu-link:hover i,.menu-link.active i{
    background:rgba(255,255,255,.16);
    color:#fff;
}

.hero,.dashboard-hero{
    position:relative;
    overflow:hidden;
    color:#fff;
    background:linear-gradient(135deg,#071f49 0%,#0a3173 55%,#1769ff 100%);
    border-radius:0 0 34px 34px;
    padding:34px 24px;
    margin:-18px -12px 24px;
    box-shadow:0 24px 48px rgba(7,31,73,.20);
}

.hero:after,.dashboard-hero:after{
    content:"";
    position:absolute;
    inset:auto -12% -44% 35%;
    height:240px;
    background:rgba(255,255,255,.10);
    border-radius:50%;
}

.hero h1,.hero h3,.dashboard-hero h1,.dashboard-hero h3{
    position:relative;
    z-index:1;
    font-weight:800;
    letter-spacing:0;
}

.hero p,.dashboard-hero p{
    position:relative;
    z-index:1;
    color:rgba(255,255,255,.82);
}

.dashboard-hero{
    padding:22px 18px;
}

.luxury-hero-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1fr) 310px;
    gap:18px;
    align-items:stretch;
}

.luxury-welcome h1{
    font-size:30px;
    margin-bottom:8px;
}

.luxury-welcome p{
    max-width:560px;
    margin-bottom:16px;
}

.luxury-pills{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.luxury-pills span{
    border:1px solid rgba(255,255,255,.24);
    background:rgba(255,255,255,.12);
    color:#fff;
    border-radius:999px;
    padding:8px 11px;
    font-size:12px;
    font-weight:800;
}

.luxury-feature-card{
    min-height:178px;
    height:100%;
    border-radius:22px;
    overflow:hidden;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:16px;
    color:#fff;
    text-decoration:none;
    box-shadow:0 18px 40px rgba(0,0,0,.24);
    background:#102b63;
}

.luxury-feature-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.82;
}

.luxury-feature-card:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.78));
}

.luxury-feature-card span,.luxury-feature-card strong,.luxury-feature-card small{
    position:relative;
    z-index:1;
}

.luxury-feature-card .badge{
    align-self:flex-start;
    color:#163155;
    margin-bottom:8px;
}

.luxury-feature-card strong{
    font-size:19px;
    font-weight:900;
}

.luxury-feature-card small{
    color:rgba(255,255,255,.82);
    margin-top:4px;
}

.luxury-property-swiper{
    width:100%;
    height:100%;
    border-radius:22px;
}

.luxury-property-swiper .swiper-slide{
    height:auto;
}

.luxury-property-swiper .luxury-feature-card{
    min-height:178px;
}

.luxury-property-pagination{
    bottom:9px!important;
}

.luxury-property-pagination .swiper-pagination-bullet{
    background:#fff;
    opacity:.55;
}

.luxury-property-pagination .swiper-pagination-bullet-active{
    opacity:1;
    background:#f2d389;
}

.hero-topline{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    position:relative;
    z-index:1;
}

.hero-kicker{
    text-transform:uppercase;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    color:#9fc0ff;
    margin-bottom:8px;
}

.hero-chip{
    border:1px solid rgba(255,255,255,.24);
    background:rgba(255,255,255,.12);
    border-radius:999px;
    color:#fff;
    padding:9px 12px;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}

.property-carousel{
    position:relative;
    z-index:1;
    display:flex;
    gap:14px;
    overflow-x:auto;
    margin-top:22px;
    padding-bottom:8px;
    scroll-snap-type:x mandatory;
}

.property-carousel::-webkit-scrollbar{height:0}

.feature-property{
    min-width:min(430px,84vw);
    min-height:210px;
    border-radius:24px;
    overflow:hidden;
    text-decoration:none;
    color:#fff;
    position:relative;
    scroll-snap-align:start;
    background:#102b63;
    box-shadow:0 18px 34px rgba(0,0,0,.22);
}

.feature-property img{
    width:100%;
    height:100%;
    min-height:210px;
    object-fit:cover;
    display:block;
    opacity:.82;
}

.feature-property:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.72) 100%);
}

.feature-copy{
    position:absolute;
    left:18px;
    right:18px;
    bottom:17px;
    z-index:1;
}

.feature-copy .badge{margin-bottom:8px}
.feature-copy h4{font-size:20px;font-weight:800;margin:0 0 5px}
.feature-copy p{margin:0 0 7px;color:rgba(255,255,255,.80)}
.feature-copy strong{font-size:17px}

.stat-card,.stat{
    background:var(--bc-card);
    border:1px solid rgba(232,237,245,.9)!important;
    border-radius:22px;
    padding:18px;
    box-shadow:var(--bc-shadow);
    height:100%;
}

.stat-card .icon-circle,.stat-icon{
    width:50px;
    height:50px;
    border-radius:18px;
    display:grid;
    place-items:center;
    margin:0 auto 12px;
    font-size:22px;
}

.stat-number,.stat b{
    display:block;
    color:var(--bc-ink);
    font-size:28px;
    line-height:1;
    font-weight:800;
}

.stat-label{
    color:#3f4d63;
    font-size:13px;
    margin-top:7px;
}

.trend{
    display:inline-flex;
    align-items:center;
    gap:4px;
    color:var(--bc-green);
    font-size:12px;
    font-weight:800;
    margin-top:10px;
}

.card,.list-card,.chart-card,.login-card,.requirement-detail-card{
    border:1px solid rgba(232,237,245,.95)!important;
    border-radius:24px!important;
    box-shadow:var(--bc-shadow)!important;
    overflow:hidden;
}

.card-header{
    background:#fff;
    border-bottom:1px solid var(--bc-line);
    color:var(--bc-navy);
    font-weight:800;
    padding:16px 20px;
}

.card-body{padding:20px}

.section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}

.section-title,.section-head h4,.section-head h5{
    color:var(--bc-navy);
    font-weight:800;
    margin:0;
}

.quick-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.action-tile{
    min-height:92px;
    border-radius:20px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    color:#fff;
    box-shadow:0 18px 30px rgba(23,105,255,.20);
}

.action-tile i{
    width:44px;
    height:44px;
    border:2px solid rgba(255,255,255,.70);
    border-radius:50%;
    display:grid;
    place-items:center;
    font-size:24px;
}

.action-tile strong{display:block;font-size:18px}
.action-tile span{display:block;color:rgba(255,255,255,.82);font-size:13px;margin-top:2px}
.action-blue{background:linear-gradient(135deg,#1769ff,#2e86ff)}
.action-red{background:linear-gradient(135deg,#fb444f,#f04452)}

.list-group-item{
    border-color:var(--bc-line);
    padding:15px 18px;
}

.property-row{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    color:inherit;
}

.property-thumb{
    width:76px;
    height:76px;
    border-radius:16px;
    object-fit:cover;
    flex:0 0 auto;
    background:#dce5f2;
}

.property-row strong{color:var(--bc-ink)}
.property-meta{display:block;color:var(--bc-muted);font-size:13px;margin-top:3px}
.property-price{display:block;color:var(--bc-navy);font-weight:800;margin-top:5px}

.page-title-box{
    background:#fff;
    border:1px solid var(--bc-line);
    border-radius:24px;
    padding:22px;
    margin-bottom:18px;
    box-shadow:var(--bc-shadow);
}

.page-title-box h3,.bc-page-title{
    color:var(--bc-navy);
    font-weight:800;
    margin:0 0 6px;
}

.page-title-box p{color:var(--bc-muted);margin:0}

.form-control,.form-select{
    min-height:48px;
    border-radius:15px;
    border:1px solid #dce5f2;
    color:var(--bc-ink);
}

textarea.form-control{min-height:118px}

.form-label{
    color:#253a60;
    font-size:13px;
    font-weight:800;
}

.form-control:focus,.form-select:focus{
    border-color:var(--bc-blue);
    box-shadow:0 0 0 4px rgba(23,105,255,.11);
}

.btn{
    border-radius:15px;
    font-weight:750;
}

.btn-primary{
    background:linear-gradient(135deg,var(--bc-blue),#2e86ff);
    border:0;
    box-shadow:0 12px 24px rgba(23,105,255,.20);
}

.btn-danger{
    background:linear-gradient(135deg,#fb444f,var(--bc-red));
    border:0;
    box-shadow:0 12px 24px rgba(240,68,82,.20);
}

.btn-success{
    background:linear-gradient(135deg,#13b765,#10a060);
    border:0;
}

.cover,.requirement-banner{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:24px;
    background:#dce5f2;
    box-shadow:var(--bc-shadow);
}

.detail-card{
    background:#fff;
    border:1px solid var(--bc-line);
    border-radius:24px;
    padding:22px;
    margin-top:16px;
    box-shadow:var(--bc-shadow);
}

.detail-card h2{color:var(--bc-navy);font-weight:800}

.requirement-alert-label{
    display:inline-flex!important;
    align-items:center;
    gap:8px;
    background:linear-gradient(135deg,#fb444f,var(--bc-red))!important;
    box-shadow:0 12px 20px rgba(240,68,82,.18);
}

.requirement-tags span{
    background:var(--bc-blue-soft)!important;
    color:var(--bc-blue)!important;
}

.bottom-nav{
    position:fixed;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    width:min(680px,calc(100% - 28px));
    z-index:1030;
    display:flex;
    justify-content:space-around;
    gap:6px;
    padding:9px;
    border-radius:27px;
    background:linear-gradient(135deg,#071f49,#082b63);
    box-shadow:0 24px 44px rgba(7,31,73,.34);
}

.bottom-nav a{
    flex:1;
    min-width:0;
    min-height:58px;
    border-radius:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    color:rgba(255,255,255,.72);
    text-decoration:none;
    font-size:21px;
}

.bottom-nav a.active,.bottom-nav a:hover{
    background:linear-gradient(135deg,#1769ff,#2e86ff);
    color:#fff;
}

.bottom-nav small{
    font-size:11px;
    font-weight:650;
    white-space:nowrap;
}

.login-wrapper{max-width:460px}
.login-top h2{font-weight:800;color:var(--bc-navy)}
.brand-logo{box-shadow:0 18px 32px rgba(23,105,255,.24)!important}
.btn-login{background:linear-gradient(135deg,var(--bc-blue),#2e86ff)!important;color:#fff!important}

@media (max-width:767px){
    .appbar{min-height:68px;padding:10px 14px}
    .brand-text strong{font-size:16px}
    .brand-text span{display:none}
    .bc-main{padding-left:14px;padding-right:14px}
    .hero,.dashboard-hero{margin-left:-14px;margin-right:-14px}
    .hero-topline{display:block}
    .hero-chip{display:inline-flex;margin-top:10px}
    .quick-actions{grid-template-columns:1fr}
    .cover,.requirement-banner{height:220px}
    .bottom-nav{bottom:10px;width:calc(100% - 18px);border-radius:24px}
    .bottom-nav a{min-height:56px;font-size:20px}
    .bottom-nav small{font-size:10px}
}

.bc-tabs{
    background:#fff;
    border:1px solid var(--bc-line);
    border-radius:18px;
    padding:6px;
    box-shadow:var(--bc-shadow);
    display:flex;
    width:100%;
    gap:6px;
    flex-wrap:nowrap;
}

.bc-tabs .nav-item{
    flex:1 1 50%;
}

.bc-tabs .nav-link{
    width:100%;
    height:100%;
    border-radius:14px;
    color:#34445f;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.bc-tabs .nav-link.active{
    background:linear-gradient(135deg,var(--bc-blue),#2e86ff);
    box-shadow:0 10px 20px rgba(23,105,255,.18);
}

.lead-showcase{overflow:hidden}

.lead-visual{
    width:100%;
    min-height:260px;
    border:0;
    position:relative;
    display:block;
    padding:0;
    background-size:cover;
    background-position:center;
    text-align:left;
    color:#fff;
    overflow:hidden;
}

.lead-visual:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(3,14,34,.04) 0%,rgba(3,14,34,.24) 38%,rgba(3,14,34,.86) 100%);
}

.lead-type-chip,.lead-view-chip,.lead-open-chip,.lead-overlay-copy{
    position:absolute;
    z-index:1;
}

.lead-type-chip{
    top:16px;
    right:16px;
    border-radius:999px;
    padding:8px 12px;
    background:linear-gradient(135deg,var(--bc-blue),#2e86ff);
    color:#fff;
    font-size:12px;
    font-weight:800;
    box-shadow:0 10px 22px rgba(0,0,0,.20);
}

.lead-type-chip.danger{
    background:linear-gradient(135deg,#fb444f,var(--bc-red));
}

.lead-view-chip{
    top:16px;
    left:16px;
    border-radius:999px;
    padding:8px 12px;
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:rgba(255,255,255,.92);
    color:var(--bc-navy);
    font-size:12px;
    font-weight:900;
    box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.lead-overlay-copy{
    left:18px;
    right:18px;
    bottom:54px;
}

.lead-overlay-copy strong{
    display:block;
    font-size:24px;
    line-height:1.1;
    font-weight:900;
}

.lead-overlay-copy small{
    display:block;
    margin-top:7px;
    color:rgba(255,255,255,.82);
    font-size:13px;
    font-weight:650;
}

.lead-open-chip{
    left:18px;
    bottom:18px;
    border-radius:999px;
    padding:8px 12px;
    background:rgba(255,255,255,.16);
    color:#fff;
    border:1px solid rgba(255,255,255,.28);
    font-size:12px;
    font-weight:800;
    display:inline-flex;
    align-items:center;
    gap:8px;
    backdrop-filter:blur(12px);
}

.lead-list{padding:6px 16px 16px}

.lead-person,.agent-card{
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 0;
    border-top:1px solid var(--bc-line);
}

.lead-avatar,.agent-avatar{
    width:44px;
    height:44px;
    border-radius:15px;
    display:grid;
    place-items:center;
    color:#fff;
    background:linear-gradient(135deg,var(--bc-navy),var(--bc-blue));
    font-weight:800;
    flex:0 0 auto;
}

.lead-person small,.agent-info small{
    display:block;
    color:var(--bc-muted);
    font-size:12px;
    margin-top:2px;
}

.lead-actions,.agent-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-direction:row;
    flex-wrap:nowrap;
    flex:0 0 auto;
}

.lead-actions .btn,.agent-actions .btn{
    width:38px;
    height:38px;
    border-radius:14px;
    display:grid;
    place-items:center;
    padding:0;
}

.empty-state{
    color:var(--bc-muted);
    padding:16px 0 4px;
}

.listing-card h5{
    color:var(--bc-navy);
    font-weight:800;
}

.listing-image{
    width:100%;
    height:210px;
    object-fit:cover;
    background:#dce5f2;
}

.listing-views{
    color:var(--bc-muted);
    font-size:13px;
    font-weight:800;
}

.updates-carousel{
    max-width:520px;
    margin:0 auto;
}

.update-slide{
    position:relative;
    min-height:620px;
    border-radius:28px;
    overflow:hidden;
    background:#071f49;
    box-shadow:0 28px 60px rgba(7,31,73,.28);
}

.update-slide img{
    width:100%;
    height:620px;
    object-fit:cover;
    opacity:.88;
}

.update-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:28px;
    color:#fff;
    background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.82));
}

.update-overlay h3{
    font-weight:800;
    margin:12px 0 8px;
}

.update-overlay p{
    color:rgba(255,255,255,.84);
    margin-bottom:7px;
}

.update-overlay small{color:rgba(255,255,255,.72)}

.nearby-hero{
    display:flex;
    align-items:center;
    gap:22px;
    background:linear-gradient(135deg,#fff,#f3f7ff);
}

.radar-wrap{
    width:150px;
    height:150px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
}

.radar{
    position:relative;
    width:124px;
    height:124px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:radial-gradient(circle,#1769ff 0 7%,#eaf2ff 8% 100%);
    overflow:hidden;
    box-shadow:inset 0 0 0 1px #cfe0ff,0 18px 38px rgba(23,105,255,.22);
}

.radar:before{
    content:"";
    position:absolute;
    inset:50% 50% 0 0;
    background:linear-gradient(45deg,rgba(23,105,255,.45),transparent 70%);
    transform-origin:100% 0;
    animation:radarSweep 2.4s linear infinite;
}

.radar span{
    position:absolute;
    border:1px solid rgba(23,105,255,.30);
    border-radius:50%;
}

.radar span:nth-child(1){inset:18px}
.radar span:nth-child(2){inset:36px}
.radar span:nth-child(3){inset:54px}
.radar i{position:relative;z-index:1;color:#1769ff;font-size:24px}

@keyframes radarSweep{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
}

.nearby-copy h4{
    color:var(--bc-navy);
    font-weight:800;
}

.nearby-copy p{
    color:var(--bc-muted);
    margin:0;
}

.agent-list{
    display:grid;
    gap:12px;
}

.agent-card{
    padding:14px 16px;
    flex-direction:row;
}

.agent-info{flex:1;min-width:0}
.agent-info strong{display:block;color:var(--bc-navy)}

.search-actions{
    flex-wrap:wrap;
}

.search-actions .btn{
    white-space:nowrap;
}

.notification-status{
    border-radius:18px;
    background:#f3f7ff;
    border:1px solid var(--bc-line);
    color:var(--bc-navy);
    padding:14px 16px;
    font-weight:800;
}

.katta-company{
    overflow:hidden;
}

.katta-company-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:15px 16px;
    cursor:pointer;
}

.katta-company-head h5{
    color:var(--bc-navy);
    font-weight:900;
    margin:0 0 3px;
}

.katta-company-head small{
    color:var(--bc-muted);
    font-weight:700;
}

.katta-member-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 0;
    border-top:1px solid var(--bc-line);
}

.katta-member-row strong{
    display:block;
    color:var(--bc-navy);
}

.katta-member-row small{
    display:block;
    color:var(--bc-muted);
    font-size:12px;
}

.member-actions{
    display:flex;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
}

.member-actions form{
    margin:0;
}

.member-actions .btn{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    padding:0;
    border-radius:13px;
}

@media (max-width:767px){
    .bc-tabs{flex-direction:row}
    .bc-tabs .nav-item{width:50%;flex:1 1 0}
    .lead-visual{min-height:230px}
    .lead-overlay-copy strong{font-size:21px}
    .lead-person,.agent-card{
        align-items:flex-start;
    }
    .lead-actions,.agent-actions{flex-direction:row}
    .lead-person,.agent-card{gap:10px}
    .search-actions{width:100%}
    .search-actions .btn{flex:1 1 auto}
    .update-slide,.update-slide img{
        min-height:560px;
        height:560px;
    }
    .nearby-hero{
        display:block;
        text-align:center;
    }
    .radar-wrap{
        margin:0 auto 12px;
    }
    .luxury-hero-grid{
        grid-template-columns:1fr;
    }
    .luxury-feature-card{
        min-height:160px;
    }
    .katta-company-head{
        align-items:flex-start;
    }
    .katta-member-row{
        align-items:flex-start;
    }
    .member-actions{
        flex-wrap:nowrap;
    }
}

/* ---------- Detail pages (view_property / view_requirement) ---------- */
.detail-hero{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    margin-bottom:16px;
    background:linear-gradient(140deg,#0b2550,#163a72);
    min-height:230px;
    display:flex;
    align-items:flex-end;
}
.req-hero{background:linear-gradient(140deg,#5a0f18,#8b1d2a)}
.detail-hero-img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.55;
}
.detail-hero-overlay{
    position:relative;
    z-index:2;
    padding:20px;
    color:#fff;
    width:100%;
}
.detail-hero-title{
    font-size:22px;
    font-weight:800;
    margin:0 0 6px;
    text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.detail-hero-meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    font-size:13px;
    color:rgba(255,255,255,.9);
}
.detail-hero-meta span{display:inline-flex;align-items:center;gap:5px}
.detail-price-card{
    position:absolute;
    z-index:3;
    top:14px;
    right:14px;
    background:rgba(255,255,255,.96);
    border-radius:14px;
    padding:10px 14px;
    box-shadow:0 12px 28px rgba(0,0,0,.22);
    text-align:right;
    max-width:190px;
}
.detail-price-card small{
    display:block;
    font-size:11px;
    color:#718096;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.4px;
}
.detail-price-card strong{display:block;font-size:19px;font-weight:800;color:#0b2550;line-height:1.2}
.detail-price-card span{font-size:11px;color:#13b765;font-weight:700}

.contact-bar{
    background:#fff;
    border:1px solid #eef2f8;
    border-radius:16px;
    padding:12px 14px;
    box-shadow:0 6px 18px rgba(16,40,80,.07);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:16px;
}
.contact-bar-owner{display:flex;align-items:center;gap:10px;min-width:0}
.contact-bar-avatar,.side-avatar{
    width:44px;height:44px;
    border-radius:50%;
    overflow:hidden;
    background:linear-gradient(145deg,#163155,#1769ff);
    color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-weight:800;
    flex-shrink:0;
}
.side-avatar{width:64px;height:64px;margin:0 auto 10px;font-size:24px}
.contact-bar-avatar img,.side-avatar img{width:100%;height:100%;object-fit:cover}
.contact-bar-name{font-weight:700;font-size:14px;color:#0f2242}
.contact-bar-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.btn-contact{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:12px;
    padding:9px 15px;
    font-size:13px;
    font-weight:700;
    border:1px solid transparent;
    text-decoration:none;
    white-space:nowrap;
}
.btn-contact span{display:inline-block}
.btn-call{background:#eaf2ff;color:#1769ff;border-color:#cfe0ff}
.btn-call:hover{background:#1769ff;color:#fff}
.btn-wa{background:#e7f9ef;color:#128c4a;border-color:#c6efd8}
.btn-wa:hover{background:#25d366;color:#fff}
.btn-connect{background:#eafbf2;color:#0f9d58;border-color:#c6f0da}
.btn-connect:hover{background:#13b765;color:#fff}
.btn-matches{background:#f3ecff;color:#6b3fd4;border-color:#e0d4ff}
.btn-matches:hover{background:#6b3fd4;color:#fff}

.detail-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:900px){.detail-grid{grid-template-columns:1fr 320px;align-items:start}}

.spec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.spec-item{
    background:#f7faff;
    border:1px solid #eef3fb;
    border-radius:12px;
    padding:10px 12px;
}
.spec-item span{display:block;font-size:11px;color:#718096;font-weight:600;text-transform:uppercase;letter-spacing:.3px}
.spec-item strong{display:block;font-size:14px;color:#132b5c;font-weight:700;margin-top:3px;word-break:break-word}

.amenity-grid{display:flex;flex-wrap:wrap;gap:8px}
.amenity-chip{
    display:inline-flex;align-items:center;gap:6px;
    background:#f0f7ff;
    border:1px solid #dbeafe;
    color:#1e4fa3;
    border-radius:20px;
    padding:6px 12px;
    font-size:12px;
    font-weight:600;
}

.detail-desc{font-size:14px;line-height:1.7;color:#3d4a5c;margin:0}

/* ---------- Match pages ---------- */
.match-card{transition:transform .15s ease,box-shadow .15s ease}
.match-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(16,40,80,.1)}
.match-reasons{display:flex;flex-wrap:wrap;gap:6px}
.reason-chip{
    display:inline-flex;align-items:center;gap:4px;
    background:#eef7ff;border:1px solid #d6e9ff;color:#1666c4;
    border-radius:16px;padding:3px 9px;font-size:11px;font-weight:600;
}
.reason-chip i{font-size:10px}

/* ---------- Share bar ---------- */
.share-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.share-btn{
    display:inline-flex;align-items:center;gap:6px;
    border:1px solid #e6eaf2;background:#fff;color:#33415c;
    border-radius:12px;padding:8px 12px;font-size:13px;font-weight:600;
    text-decoration:none;cursor:pointer;
}
.share-btn:hover{background:#f5f8ff;border-color:#c9dcfb;color:#1769ff}
.share-btn.sb-wa:hover{background:#25d366;border-color:#25d366;color:#fff}
.share-btn.sb-fb:hover{background:#1877f2;border-color:#1877f2;color:#fff}
.share-btn.sb-x:hover{background:#000;border-color:#000;color:#fff}
.share-btn.sb-li:hover{background:#0a66c2;border-color:#0a66c2;color:#fff}
.share-btn.sb-tg:hover{background:#26a5e4;border-color:#26a5e4;color:#fff}
.share-btn.sb-copy:hover{background:#1769ff;border-color:#1769ff;color:#fff}
.share-btn.sb-native:hover{background:#e9f2ff;border-color:#1769ff;color:#1769ff}

/* ---------- Install app button ---------- */
.install-btn{position:relative}
.install-btn.is-hidden{display:none}

/* ---------- Agent microsite ---------- */
.ms-hero{
    position:relative;border-radius:22px;overflow:hidden;
    background:linear-gradient(140deg,#0b2550,#1c4fa8);
    padding:22px;color:#fff;margin-bottom:16px;
}
.ms-hero::after{
    content:'';position:absolute;inset:0;
    background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.18),transparent 46%);
    pointer-events:none;
}
.ms-hero-inner{position:relative;z-index:2;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ms-avatar{
    width:86px;height:86px;border-radius:22px;overflow:hidden;flex-shrink:0;
    background:linear-gradient(145deg,#fff,#d7e6ff);
    display:flex;align-items:center;justify-content:center;
    font-size:32px;font-weight:800;color:#0b2550;
    box-shadow:0 14px 32px rgba(0,0,0,.22);
}
.ms-avatar img{width:100%;height:100%;object-fit:cover}
.ms-name{font-size:22px;font-weight:800;margin:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ms-sub{font-size:13px;color:rgba(255,255,255,.82);margin:3px 0 0}
.ms-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.ms-chip{
    background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);
    border-radius:20px;padding:4px 11px;font-size:11.5px;font-weight:600;color:#fff;
}
.ms-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;position:relative;z-index:2}
.ms-btn{
    display:inline-flex;align-items:center;gap:7px;
    border-radius:12px;padding:10px 15px;font-size:13.5px;font-weight:700;
    text-decoration:none;border:1px solid transparent;
}
.ms-btn-wa{background:#25d366;color:#fff}
.ms-btn-call{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.3)}
.ms-btn-mail{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.3)}
.ms-btn-share{background:#fff;color:#0b2550}

.ms-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px;margin-bottom:16px}
.ms-stat{background:#fff;border:1px solid #eef2f8;border-radius:14px;padding:12px;text-align:center;box-shadow:0 4px 14px rgba(16,40,80,.05)}
.ms-stat b{display:block;font-size:19px;font-weight:800;color:#0b2550;line-height:1.2}
.ms-stat span{font-size:11px;color:#718096;font-weight:600}

.swiper-listing{padding-bottom:34px}
.swiper-listing .swiper-slide{height:auto}
.listing-card{background:#fff;border:1px solid #eef2f8;border-radius:16px;overflow:hidden;height:100%;display:flex;flex-direction:column;box-shadow:0 4px 14px rgba(16,40,80,.05)}
.listing-card img{width:100%;height:140px;object-fit:cover}
.listing-body{padding:11px 12px;flex:1;display:flex;flex-direction:column}
.listing-body h6{font-size:14px;font-weight:700;margin:0 0 4px;color:#132b5c}
.listing-meta{font-size:11.5px;color:#718096;margin-bottom:6px;display:flex;align-items:center;gap:4px}
.listing-price{font-size:14px;font-weight:800;color:#1769ff;margin-top:auto}

.swiper-pagination-bullet-active{background:#1769ff}
.ms-section{
    background:#fff;border:1px solid #eef2f8;border-radius:18px;padding:18px;margin-bottom:16px;
    box-shadow:0 4px 14px rgba(16,40,80,.05);
    transition:box-shadow .18s ease,transform .18s ease;
}
.ms-section:hover{box-shadow:0 12px 30px rgba(16,40,80,.10)}
.ms-section h5{
    font-size:15px;font-weight:800;color:#132b5c;margin:0 0 12px;
    display:flex;align-items:center;gap:8px;
    padding-bottom:11px;border-bottom:1px solid #f1f5fa;
}
.ms-section h5 i{font-size:16px}
.ms-section h5 .badge{margin-left:auto;font-weight:700}

/* Section anchor links for quick nav */
/* NOTE: .ms-topbar, .ms-sticky, .ms-qr and .ms-empty are styled in the
   agent_site.php inline block, which loads after this file and wins on
   equal specificity. Keep overrides there, not here. */

.ms-verif{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px dashed #eef2f8}
.ms-verif:last-child{border-bottom:0}
.ms-verif .ms-verif-label{display:flex;align-items:center;gap:9px;font-size:13px;color:#1f2d45}
.ms-verif .ms-verif-label i{
    width:28px;height:28px;border-radius:9px;display:grid;place-items:center;
    background:var(--bc-blue-soft);color:var(--bc-blue);font-size:13px;flex-shrink:0;
}
.ms-verif.done .ms-verif-label i{background:#e6f7ef;color:var(--bc-green)}
.ms-verif .badge{font-size:10.5px;font-weight:700}

.ms-jump{display:flex;gap:6px;flex-wrap:wrap}
.ms-jump a{
    color:rgba(255,255,255,.86);text-decoration:none;font-size:11.5px;font-weight:700;
    padding:5px 11px;border-radius:20px;background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.22);transition:background .15s ease,color .15s ease;
}
.ms-jump a:hover{background:#fff;color:#0b2550}
.ms-topbar-actions{margin-left:auto}
.ms-topbar-actions{margin-left:auto}

.ms-verifbar{height:6px;background:#eef2f8;border-radius:6px;margin:0 0 6px}
.ms-verifbar .progress-bar{background:linear-gradient(90deg,var(--bc-green),#3ddc97);border-radius:6px}

/* Smooth in-page anchors, offset for the sticky header */
html{scroll-behavior:smooth}
.ms-section[id]{scroll-margin-top:72px}
.ms-section[id]:target{box-shadow:0 0 0 2px rgba(23,105,255,.35),0 12px 30px rgba(16,40,80,.10)}

@media (max-width:767px){
    .ms-jump{display:none}
    .ms-section{padding:15px;border-radius:16px}
    .ms-name{font-size:19px}
    .ms-topbar-actions{width:100%;margin-left:0}
}
.ms-map{width:100%;height:250px;border-radius:14px;overflow:hidden;border:1px solid #eef2f8;background:#eef2f8}
.ms-detail{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px dashed #eef2f8;font-size:13.5px}
.ms-detail:last-child{border-bottom:0}
.ms-detail span{color:#718096;flex-shrink:0}
.ms-detail strong{color:#1f2d45;text-align:right;word-break:break-word}

/* -----------------------------------------------
| Publish confirmation notice
| Shown on post_property.php and post_requirement.php
| ----------------------------------------------- */

.publish-notice{
    display:flex;
    gap:14px;
    align-items:flex-start;
    background:linear-gradient(135deg,#fff8e8 0%,#fffdf7 100%);
    border:1px solid #f6d99a;
    border-left:4px solid var(--bc-orange);
    border-radius:14px;
    padding:14px 16px;
    margin-bottom:18px;
}
.publish-notice > i{
    flex:0 0 auto;
    width:38px;
    height:38px;
    border-radius:11px;
    display:grid;
    place-items:center;
    background:#fff;
    color:#d9870a;
    border:1px solid #f2dcae;
    font-size:17px;
    box-shadow:0 4px 10px rgba(217,135,10,.10);
}
.publish-notice strong{
    display:block;
    color:#8a5a06;
    font-size:14px;
    font-weight:700;
    margin-bottom:3px;
}
.publish-notice span{
    display:block;
    color:#7a6537;
    font-size:13px;
    line-height:1.55;
}
