/* הגדרות כלליות */
.profile-container {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

/* הגדרות אייקון פרופיל */
.profile-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ccc;
    cursor: pointer;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* עיצוב העיגול עם התמונה */
.profile-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    cursor: pointer;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.profile-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.profile-circle:active {
    transform: scale(0.95);
}

/* עיצוב החלונית הנפתחת */
.dropdown-container {
    position: fixed;
    z-index: 1000;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    margin-top: 20px;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 10px 0;
    z-index: 1000;
    min-width: 250px;
    list-style-type: none;
    margin: 0;
    animation: slideDown 0.3s ease-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dropdown-menu.show {
    display: block;
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #ecf0f1;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:first-child {
    border-radius: 20px 20px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius:20px 20px 20px 20px;
}

.dropdown-item i {
    margin-left: 15px;
    color: #1abc9c;
    font-size: 18px;
    transition: color 0.3s ease;
}

.dropdown-item:hover {
    background: #1abc9c;
    color: #fff;
    padding-right: 30px;
}

.dropdown-item:hover i {
    color: #fff;
}

/* רספונסיביות */
@media (max-width: 768px) {
    .profile-circle {
        width: 40px;
        height: 40px;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
    
    .dropdown-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .dropdown-item i {
        font-size: 16px;
    }
}