/* ====================================
   PROFILE DROPDOWN - HOVER STYLE
   ==================================== */

.profile-dropdown-container {
    position: relative;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-link:hover {
    background: #f5f5f5;
    border-color: #ee4d2d;
}

.profile-avatar i {
    font-size: 24px;
    color: #666;
}

.profile-name {
    font-size: 14px;
    color: #333;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

/* DROPDOWN MENU */
.profile-dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* HOVER EFFECT - MUNCULKAN DROPDOWN */
.profile-dropdown-container:hover .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-container:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* DROPDOWN ITEMS */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item i {
    font-size: 16px;
    color: #666;
    width: 20px;
}

.dropdown-item.logout {
    color: #ee4d2d;
}

.dropdown-item.logout i {
    color: #ee4d2d;
}

.dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .profile-name {
        display: none;
    }
    
    .profile-dropdown-menu {
        right: -10px;
    }
}