/* کانتینر اصلی صفحه مشاوره تلفنی */
.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 2.5fr; /* ستون راست (باریک‌تر) و ستون چپ (عریض‌تر) */
    gap: 30px;
    align-items: start;
    margin-top: 30px;
}

/* --- استایل‌های ستون راست (Sidebar) --- */
.lawyer-sidebar {
    position: sticky;
    top: 20px; /* سایدبار با اسکرول صفحه فیکس می‌ماند */
}

.lawyer-card-sticky {
    background-color: var(--card-bg);
    border: 1px solid #3a4150;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lawyer-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-img-container {
    position: relative;
    margin-bottom: 15px;
}

.lawyer-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

/* نشان آماده پاسخگویی سبز رنگ و درخشان */
.status-badge-active {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--success-green);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(26, 109, 68, 0.6);
    white-space: nowrap;
}

.lawyer-profile-header h2 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.lawyer-rank {
    font-size: 13px;
    color: var(--text-dim);
}

/* بخش امتیازدهی ستاره‌ای */
.rating-box {
    margin-bottom: 25px;
}

.rating-num {
    font-size: 13px;
    color: var(--blue);
    font-weight: bold;
    margin-left: 5px;
}

.stars-gold {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 2px;
    display: inline-block;
}

/* دکمه‌های گزینه‌های تماس تلفنی */
.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-call-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(91, 178, 255, 0.05);
    border: 1px solid rgba(91, 178, 255, 0.2);
    color: var(--text-light);
    text-decoration: none;
    padding: 14px 15px;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-call-option:hover {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateX(-3px);
}

.call-text {
    color: var(--blue);
    font-weight: bold;
}

.btn-call-option:hover .call-text {
    color: var(--gold);
}

.call-price {
    font-size: 12px;
    color: #52ffaf; /* رنگ سبز قیمت برای جلب توجه بیشتر */
}


/* --- استایل‌های ستون چپ (محتوای اصلی و تب‌ها) --- */
.lawyer-main-info {
    background-color: var(--card-bg);
    border: 1px solid #3a4150;
    border-radius: 15px;
    padding: 30px;
    min-height: 500px;
}

/* نوار تب ها */
.info-tabs {
    display: flex;
    border-bottom: 2px solid #3a4150;
    margin-bottom: 30px;
}

.tab-item {
    color: var(--text-dim);
    text-decoration: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    transition: 0.3s;
}

.tab-item:hover, .tab-item.active {
    color: var(--blue);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--blue);
}

/* ساختار تخصص‌ها و درباره من */
.content-segment {
    margin-bottom: 40px;
}

.segment-title {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    padding-right: 12px;
}

.segment-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: var(--gold);
    border-radius: 2px;
}

/* کارت‌های تخصص‌ها */
.specialty-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specialty-card {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 20px;
    border-radius: 8px;
    border-right: 4px solid var(--blue); /* نوار آبی رنگ در سمت راست به عنوان شاخص تخصص */
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* بخش درباره من با قاب سبز-تیره ملایم */
.about-me-box {
    background-color: rgba(26, 109, 68, 0.08);
    border-right: 4px solid var(--success-green);
    padding: 20px;
    border-radius: 8px;
    line-height: 2;
    font-size: 14.5px;
    color: var(--text-dim);
    text-align: justify;
}

/* واکنش‌گرایی موبایل و تبلت */
@media (max-width: 992px) {
    .consultation-wrapper {
        grid-template-columns: 1fr; /* تبدیل به تک ستونه شدن */
    }

    .lawyer-sidebar {
        position: relative;
        top: 0;
    }
}
