a{
    text-decoration:none;
}

/* ===============================
   HERO HEADER
================================*/

.agent-hero{
    background:linear-gradient(135deg,#008C44 0%,#00753A 50%,#006B3F 100%);
    color:#fff;
    padding:20px;
    border-radius:16px;
    margin-top:15px;

    box-shadow:
        0 10px 30px rgba(0,107,63,.20),
        0 2px 8px rgba(0,0,0,.08);

    position:relative;
    overflow:hidden;
}

.agent-hero:before{
    content:"";
    position:absolute;
    top:-50px;
    right:-50px;
    width:160px;
    height:160px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
}

/* ===== MOBILE HEADER ===== */

.agent-mobile-head{
    display:flex;
    align-items:center;
    position:relative;
    z-index:2;
}

.agent-avatar{
    width:78px;
    height:78px;
    border-radius:50%;
    object-fit:cover;

    border:4px solid rgba(255,255,255,.95);

    box-shadow:
        0 8px 20px rgba(0,0,0,.18),
        0 2px 6px rgba(0,0,0,.08);
}

.agent-info{
    padding-left:12px;
}

.agent-name{
    display:flex;
    align-items:center;
    flex-wrap:wrap;

    font-size:22px;
    font-weight:700;
    line-height:1.3;
    letter-spacing:.2px;
}

.agent-badge{
    background:rgba(255,255,255,.18);
    color:#fff;

    font-size:12px;
    font-weight:600;

    padding:5px 10px;
    border-radius:30px;

    margin-left:8px;
    white-space:nowrap;

    border:1px solid rgba(255,255,255,.25);
}

.agent-meta{
    font-size:13px;
    margin-top:6px;
    opacity:.95;
    line-height:1.5;
}

.agent-mobile-actions{
    margin-top:18px;
    display:flex;
    gap:12px;
    position:relative;
    z-index:2;
}

.agent-mobile-actions .btn{
    flex:1;
    height:48px;

    font-size:15px;
    font-weight:600;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    transition:all .25s ease;
}

/* ===== BUTTON ZALO ===== */

.btn-zalo{
    background:#fff;
    color:#008C44;

    border:1px solid #fff;

    font-weight:600;
    border-radius:12px;

    box-shadow:0 4px 12px rgba(0,0,0,.10);

    transition:all .25s ease;
}

.btn-zalo:hover{
    background:#f7fdf9;
    color:#006B3F;

    transform:translateY(-2px);
}

/* ===== BUTTON CALL ===== */

.btn-call{
    background:#FFB300;
    border-color:#FFB300;
    color:#fff;

    font-weight:600;
    border-radius:12px;

    box-shadow:0 4px 12px rgba(255,179,0,.25);

    transition:all .25s ease;
}

.btn-call:hover{
    background:#F57C00;
    border-color:#F57C00;
    color:#fff;

    transform:translateY(-2px);
}

/* ===============================
   STATS BOX
================================*/

.agent-stats{
    display:flex;
    justify-content:space-around;

    background:#fff;

    margin-top:18px;
    margin-bottom:10px;

    border-radius:14px;
    padding:14px 10px;

    border:1px solid #eef2f5;

    box-shadow:
        0 8px 24px rgba(0,0,0,.06);
}

.stat-item{
    flex:1;
    text-align:center;
    white-space:nowrap;
}

.stat-item h4{
    margin:0;

    color:#008C44;
    font-size:22px;
    font-weight:700;
}

.stat-item span{
    font-size:12px;
    color:#777;
}

/* ===============================
   TABS
================================*/
.post-tabs{
    border:none;
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-bottom:20px;
}

.post-tabs > li{
    float:none;
    margin:0;
}

.post-tabs > li > a{
    border:none !important;
    border-radius:30px !important;

    padding:10px 14px;
    font-size:13px;
    font-weight:600;

    color:#006B3F;
    background:#f5f7f8;

    transition:all .25s ease;
}

.post-tabs > li > a:hover{
    background:#e6f4ed;
    color:#006B3F;
}

.post-tabs > li.active > a,
.post-tabs > li.active > a:hover,
.post-tabs > li.active > a:focus{
    border:none !important;

    background:linear-gradient(
        180deg,
        #00A859,
        #006B3F
    );

    color:#fff !important;

    box-shadow:
        0 4px 12px rgba(0,107,63,.25);
}
/* ===== DANH SÁCH TIN ĐĂNG ===== */

.activ-property-list{
    display:flex;
    flex-wrap:wrap;
}

/* item */

.active-property-item{
    display:flex;
    margin-bottom:18px;
}

/* card */

.active-property-card{
    display:flex;
    flex-direction:column;

    width:100%;
    background:#fff;

    border-radius:14px;
    overflow:hidden;

    border:none;

    box-shadow:
        0 8px 24px rgba(0,0,0,.07);

    transition:all .25s ease;
}

.active-property-card:hover{
    transform:translateY(-5px);

    box-shadow:
        0 14px 34px rgba(0,0,0,.12);
}

/* ===== IMAGE ===== */

.active-property-card img{
    width:100%;
    height:200px;
    object-fit:cover;

    transition:transform .4s ease;
}

.active-property-card:hover img{
    transform:scale(1.05);
}

/* ===== BODY ===== */

.active-property-body{
    flex:1;

    display:flex;
    flex-direction:column;

    padding:16px;
}

.active-property-title{
    color:#2c2c2c;

    font-weight:700;
    font-size:16px;
    line-height:22px;

    height:44px;
    margin-bottom:8px;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;

    overflow:hidden;
    word-break:break-word;

    transition:color .2s ease;
}

.active-property-card:hover .active-property-title{
    color:#008C44;
}

.active-price-area{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin:8px 0 12px;
}

.active-price{
    font-size:20px;
    font-weight:700;
    color:#008C44;
}

.active-area{
    background:#F0F9F4;
    color:#006B3F;

    padding:5px 12px;
    border-radius:30px;

    font-size:13px;
    font-weight:600;
}

/* ===== META ===== */

.active-property-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;

    font-size:14px;
    color:#666;

    border-top:1px dashed #e5e5e5;

    padding-top:10px;
    margin-top:auto;
}

.active-property-meta .active-views{
    color:#008C44;
    font-weight:600;
}

/* ===============================
   RESPONSIVE
================================*/

@media(max-width:767px){

    .agent-hero{
        padding:18px;
        border-radius:14px;
    }

    .agent-avatar{
        width:72px;
        height:72px;
    }

    .agent-info{
        padding-left:12px;
    }

    .agent-name{
        font-size:18px;
    }

    .agent-badge{
        margin-top:4px;
        margin-left:0;
    }

    .agent-mobile-actions{
        gap:10px;
    }

    .agent-mobile-actions .btn{
        height:46px;
        font-size:14px;
    }

    .agent-stats{
        padding:12px 6px;
    }

    .stat-item h4{
        font-size:18px;
    }

    .stat-item span{
        font-size:11px;
    }
    
    .activ-property-list{
        margin-left:-8px;
        margin-right:-8px;
    }

    .active-property-item{
        padding-left:8px;
        padding-right:8px;
        margin-bottom:16px;
    }

    .active-property-card img{
        height:180px;
    }

    .active-property-body{
        padding:14px;
    }

    .active-price{
        font-size:18px;
    }

    .active-area{
        font-size:12px;
        padding:4px 10px;
    }

    .active-property-meta{
        font-size:13px;
    }
}

@media(min-width:768px){

    .agent-avatar{
        width:105px;
        height:105px;
    }

    .agent-mobile-actions{
        max-width:450px;
    }
}