.agent-header{
    background:linear-gradient(135deg,#008751,#00a86b);
    color:#fff;
    padding:15px;
    border-radius:0 0 25px 25px;
    box-shadow:0 4px 15px rgba(0,0,0,.12);
}

/* Top Row */

.header-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
}

.site-logo{
    text-decoration:none;
}

.site-logo h1{
    margin:0;
    color:#fff;
    font-size:28px;
    font-weight:800;
}

.site-logo i{
    color:#FFD700;
}

/* Right Buttons */

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

.theme-toggle,
.search-btn{
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    color:#fff;
    cursor:pointer;
    font-size:20px;
    transition:.3s;
}

.theme-toggle:hover,
.search-btn:hover{
    background:#fff;
    color:#008751;
}

.share-btn .a2a_dd{
    width:42px !important;
    height:42px !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.18) !important;
}

/* Translator Row */

.translator-row{
    margin-top:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    padding:10px 0;
    border-top:1px solid rgba(255,255,255,.2);
}

.agent-mini-profile{
    display:flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,.12);
    padding:8px 14px;
    border-radius:25px;
}

.agent-mini-profile i{
    font-size:22px;
}

/* Hero Section */

.agent-hero{
    text-align:center;
    padding:35px 10px 20px;
}

.agent-hero h1{
    margin:15px 0 10px;
    font-size:34px;
    font-weight:800;
    line-height:1.3;
}

.agent-hero p{
    margin:0;
    font-size:18px;
    opacity:.95;
}

.top-agent-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#fff3cd;
    color:#856404;
    padding:10px 18px;
    border-radius:30px;
    font-weight:700;
    margin-bottom:20px;
}

.top-agent-badge i{
    color:#FFD700;
}

/* Mobile */

@media(max-width:768px){

    .site-logo h1{
        font-size:22px;
    }

    .agent-hero h1{
        font-size:26px;
    }

    .agent-hero p{
        font-size:15px;
    }

    .translator-row{
        justify-content:center;
    }
}

/*=====================================*/

.ad-panel{
    position:relative;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    margin:20px 0;
    border:1px solid #e8e8e8;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    animation:adFadeIn .4s ease;
}

/* Header */

.ad-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    background:linear-gradient(135deg,#f8f9fa,#ffffff);
    border-bottom:1px solid #eee;
}

.ad-panel-title{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:700;
    color:#555;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.ad-panel-title i{
    color:#ff9800;
    font-size:18px;
}

/* Close Button */

.ad-close-btn{
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#f3f3f3;
    color:#777;
    cursor:pointer;
    transition:.3s ease;
}

.ad-close-btn:hover{
    background:#ff4d4f;
    color:#fff;
    transform:rotate(90deg);
}

.ad-close-btn i{
    font-size:16px;
}

/* Body */

.ad-panel-body{
    padding:15px;
}

/* Entrance Animation */

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

/* Mobile */

@media(max-width:768px){

    .ad-panel{
        border-radius:12px;
        margin:15px 0;
    }

    .ad-panel-header{
        padding:10px 14px;
    }

    .ad-panel-body{
        padding:12px;
    }
}

/*=======================================*/

.translator-row{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
    padding:4px 8px;
    background:#fff;
    border-radius:30px;
    width:fit-content;
    max-width:100%;
    box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.translator-label{
    display:flex;
    align-items:center;
    gap:5px;
    font-size:13px;
    font-weight:600;
    color:#555;
    white-space:nowrap;
}

.translator-label i{
    color:#008751;
}

/* Reduce Google widget height */
#google_translate_element{
    line-height:1;
}

.goog-te-gadget{
    font-size:0 !important;
}

.goog-te-gadget .goog-te-combo{
    margin:0 !important;
    padding:4px 8px !important;
    height:32px;
    border-radius:20px;
    border:1px solid #ddd;
    font-size:13px !important;
    outline:none;
}

/* Mobile */
@media(max-width:600px){

    .translator-row{
        width:100%;
        justify-content:center;
        padding:5px;
    }

    .translator-label{
        font-size:12px;
    }

    .goog-te-gadget .goog-te-combo{
        max-width:140px;
    }
}

/*============================================*/

.card-bottom {
    padding: 10px 12px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #555;
}

/* Meta row */
.meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.meta-item {
    font-size: 11px;
    color: #777;
}

.meta-separator {
    color: #ccc;
}

/* Location row */

.location-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 25px;
    background: #f4f6f8;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

.location-pill:hover {
    background: #e7eef7;
    border-color: #cdd9e6;
    transform: translateY(-1px);
}

.location-pill.country {
    font-weight: 500;
}

.flag-icon {
    border-radius: 2px;
}

.clear-filters {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    color: #d9534f;
    text-decoration: none;
}

