/* Profil Resmi Modalı için yeni stiller */
#profile-image-modal .modal-content.profile-image-modal-content {
    max-width: 300px !important;
    /* Genişlik küçültüldü */
    width: 85% !important;
    max-height: 400px !important;
    /* Yükseklik içeriğe göre */
    min-height: auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#profile-image-modal .modal-body {
    padding: 25px 15px 20px 15px !important;
    /* Padding optimize edildi */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#profile-image-modal .profile-image-display {
    width: 200px;
    /* Avatar BÜYÜTÜLDÜ */
    height: 200px;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 10px 30px rgba(27, 139, 180, 0.3);
    border: 4px solid #fff;
    position: relative;
    overflow: hidden;
    margin-top: -5px;
}

#profile-image-modal .profile-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#profile-image-modal .profile-image-full:hover {
    transform: scale(1.05);
}

#profile-image-modal .micro-profile-info {
    text-align: center;
    width: 100%;
}

#profile-image-modal .micro-profile-info h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.3rem !important;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    /* Boşluk azaltıldı */
    line-height: 1.2;
    transition: color 0.3s ease;
}

#profile-image-modal .micro-profile-info p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 0.8rem !important;
    font-weight: 600;
    background: #f1f5f9;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Modal kapatma butonu */
#profile-image-modal .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    color: #64748b;
}

#profile-image-modal .modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* DARK MODE STYLES */
body.dark-mode #profile-image-modal .modal-body {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

body.dark-mode #profile-image-modal .profile-image-display {
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode #profile-image-modal .micro-profile-info h3 {
    color: #f1f5f9;
}

body.dark-mode #profile-image-modal .micro-profile-info p {
    background: #334155;
    color: #cbd5e1;
}

body.dark-mode #profile-image-modal .modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

body.dark-mode #profile-image-modal .modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}