.profil-container {
    padding: 40px 0;
}

/* Profil Header (Yeniden Tasarlandı) */
.profil-header-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.profil-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #f0f2f5;
}

.profil-header-sag {
    flex-grow: 1;
}

.profil-header-sag h1 {
    font-size: 28px;
    margin-bottom: 5px;
}
.profil-bio {
    color: #666;
    margin-bottom: 20px;
}

/* İletişim Bilgileri Stili - DÜZENLENDİ */
.profil-contact-info {
    display: flex;
    align-items: center; /* İkon ve metni dikeyde hizalar */
    flex-wrap: wrap; /* Mobil için */
    gap: 20px;
    color: #555;
    margin-bottom: 25px;
    font-size: 15px;
}
.profil-contact-info span {
    display: flex;
    align-items: center;
    gap: 8px; /* İkon ile metin arasına boşluk koyar */
}

/* Buton Grubu Stili - YENİ EKLENDİ */
.profil-action-buttons {
    display: flex;
    gap: 15px; /* Butonlar arasına boşluk koyar */
}

.profil-action-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}
.profil-action-btn:hover {
    background-color: #0056b3;
}
.profil-action-btn.secondary {
    background-color: #f0f2f5;
    color: #333;
    border: 1px solid #ddd;
}
.profil-action-btn.secondary:hover {
    background-color: #e2e6ea;
}

/* Profil Sekmeleri */
.profil-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.profil-tab-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
}
.profil-tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* Sekme İçerikleri */
.ilan-kartlari {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Takip Edilenler Listesi */
.takip-edilen-listesi {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.takip-edilen-item {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Sol (Bilgi) ve Sağ (Buton) arasını açar */
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}
.takip-edilen-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.takip-edilen-item > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex-grow: 1; /* Mümkün olan tüm genişliği kapla */
    min-width: 0; /* Flexbox içinde metin taşmasını önlemek için kritik */
}
.takip-edilen-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* KRİTİK: Resmin daralmasını/ezilmesini engeller */
    margin-right: 15px;
    border: 2px solid #eee;
}
.takip-edilen-bilgi {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.takip-edilen-bilgi strong {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    /* Uzun isimlerde taşmayı önleyip ... koymak istersen: */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.takip-edilen-bilgi span {
    color: #777;
    font-size: 13px;
    margin-top: 3px;
}

.takip-edilen-item button {
    flex-shrink: 0; /* Butonun küçülmesini engeller */
    margin-left: 10px;
}

@media (max-width: 768px) {
    .profil-header-card {
        flex-direction: column;
        text-align: center;
    }
    .profil-contact-info, .profil-action-buttons {
        justify-content: center;
    }
}
/* Sekme İçerikleri */
.ilan-kartlari {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.ilan-kart { /* stiller ilan-listesi-style.css'den alınabilir, buraya da ekliyorum */
}

/* Takip Edilenler Listesi */
.takip-edilen-listesi {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.takip-edilen-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.takip-edilen-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.takip-edilen-bilgi {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.takip-edilen-bilgi span {
    color: #777;
    font-size: 14px;
}

/* İlan Kartı Tasarımı (Resimsiz Hali) - DÜZENLENDİ */
.ilan-kart {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Link alt çizgisini kaldırır */
    color: inherit;
}

.ilan-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.kart-icerik {
    padding: 20px;
    flex-grow: 1;
}

.kart-baslik {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.kart-detay {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.kart-fiyat {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}

.kart-kullanici {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
}

.kart-kullanici img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.kart-kullanici span {
    font-weight: 500;
}

.kart-tarih {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

/* Onaylı Kullanıcı Simgesi Stili */
.onayli-kullanici-simgesi {
    color: #007bff; /* Mavi renk */
    margin-left: 5px; /* İsimle arasına boşluk koy */
    font-size: 14px; /* İkon boyutu */
}

/* Butonları içeren ana sarmalayıcı */
.profil-actions-wrapper {
    display: flex;
    justify-content: space-between; /* Elemanları iki uca yaslar */
    align-items: center;
    margin-top: 20px; /* Üstündeki içerikle arasına boşluk koyar */
}
.profil-main-actions {
    display: flex;
    gap: 15px;
}

/* Çıkış Yap Butonu için özel stil */
.profil-action-btn.cikis-btn {
    background-color: transparent;
    border: none;
    color: #dc3545; /* Kırmızı */
    font-weight: 500;
    padding: 10px 0;
}
.profil-action-btn.cikis-btn:hover {
    background-color: transparent;
    color: #a71d2a; /* Koyu kırmızı */
    text-decoration: underline;
}
.profil-action-btn.cikis-btn i {
    margin-right: 5px;
}

/* "Takipten Çık" durumu için buton stili */
.profil-action-btn.takip-ediliyor {
    background-color: #f0f2f5;
    color: #333;
    border: 1px solid #ddd;
}

.profil-action-btn.takip-ediliyor:hover {
    background-color: #e2e6ea;
}

/* Profil sekmelerindeki boş liste için bilgi kutucuğu */
.bos-liste-uyari {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    color: #6c757d;
}