/* ===========================================================
 * 360Dönüşüm – Resmi Uzman Rehberi Kartları (v12)
 * Yasal Düzenleme Uyumlu Tasarım
 *
 * ÖNEMLİ: Bu kart yapısı, Avukatlık Kanunu, SPK Mevzuatı ve
 * SMMM/YMM Meslek Yönetmelikleri gereği herhangi bir:
 * - Yetkinlik puanı
 * - Müşteri değerlendirmesi / yıldız
 * - Güven rozeti veya öne çıkarma
 * - Reklam veya tanıtım unsuru
 * İÇERMEZ. Sadece iletişim rehberi niteliğindedir.
 *
 * Renk Teması: Nötr Slate (#64748b / #475569 / #f1f5f9)
 * =========================================================== */

/* --- 1. KART GENEL YAPISI --- */
.expert-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.2s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.expert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Sol kenar çizgisi - Tarafsızlık ve Resmiyet Vurgusu */
.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
}

/* Kart İçerik Alanı */
.expert-card .card-body-content {
    padding: 1.5rem 1.5rem 1.25rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --- 2. PROFİL ALANI --- */
.expert-card .card-avatar-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    flex-shrink: 0;
}

.expert-card .card-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ffffff;
}

.expert-card .default-avatar-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
    font-size: 1.25rem;
    font-weight: 600;
}

/* --- 3. KİŞİ BİLGİSİ --- */
.expert-card .card-person-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.expert-card .card-title-row {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0;
    font-weight: 500;
}

/* --- 4. İLETİŞİM BİLGİLERİ --- */
.expert-card .contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.expert-card .contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.expert-card .contact-list li:last-child {
    border-bottom: none;
}

.expert-card .contact-list .contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
    flex-shrink: 0;
}

.expert-card .contact-list .contact-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- 5. MESLEK BİLGİSİ BANDI --- */
.expert-card .profession-band {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    margin-bottom: 12px;
}

.expert-card .profession-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.expert-card .profession-info {
    flex-grow: 1;
    overflow: hidden;
}

.expert-card .profession-type {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.expert-card .profession-body {
    font-size: 0.8rem;
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- 6. DOĞRULANMIŞ ÜYE ETİKETİ --- */
.expert-card .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.expert-card .verified-badge i {
    color: #64748b;
}

/* --- 7. ALT BANT --- */
.expert-card .card-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.expert-card .location-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

.expert-card .location-info i {
    color: #94a3b8;
}

/* --- 8. DETAY BUTONU --- */
.expert-card .btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.expert-card .btn-contact:hover {
    background: #64748b;
    color: #ffffff;
    border-color: #64748b;
}

/* --- 9. LINK OVERLAY --- */
.expert-card .card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Butonlar ve linkler overlay üzerinde olmalı */
.expert-card .btn-contact,
.expert-card a:not(.card-link-overlay) {
    position: relative;
    z-index: 20;
}

/* --- 10. BOŞ DURUM --- */
.expert-empty-state {
    padding: 3rem;
    text-align: center;
}

.expert-empty-state .empty-icon {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.expert-empty-state h5 {
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.expert-empty-state p {
    color: #94a3b8;
    margin: 0;
}

/* --- 11. YASAL UYARI KUTUSU --- */
.legal-disclaimer-box {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde047;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.legal-disclaimer-box .disclaimer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #ca8a04;
    flex-shrink: 0;
}

.legal-disclaimer-box .disclaimer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #854d0e;
    margin-bottom: 4px;
}

.legal-disclaimer-box .disclaimer-text {
    font-size: 0.82rem;
    color: #a16207;
    line-height: 1.55;
    margin: 0;
}

/* --- 12. RESPONSİVE --- */
@media (max-width: 768px) {
    .expert-card .card-body-content {
        padding: 1.25rem 1.25rem 1rem 1.5rem;
    }

    .expert-card .card-avatar-wrapper {
        width: 56px;
        height: 56px;
    }

    .expert-card .card-person-name {
        font-size: 0.95rem;
    }

    .expert-card .card-footer-actions {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }

    .expert-card .btn-contact {
        width: 100%;
        justify-content: center;
    }
}
