/* User Profile Dropdown */
.user-profile-dropdown {
    position: relative;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.1rem 0.75rem;
    border: none;
    background: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.user-profile-trigger:hover {
    background: var(--bs-border-color);
}

.user-profile-dropdown .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bs-border-color);
}

.user-profile-dropdown .user-name {
    font-weight: 500;
    font-size: small;
    color: var(--bs-primary-text-emphasis);
}

/* Dropdown Menu */
.user-profile-dropdown .dropdown-menu {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.25rem;
    box-shadow: 5px 5px 5px var(--bs-border-color);
    padding: 0;
    margin-top: 0.5rem;
}

/* User Info Section */
.user-profile-dropdown .dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem 1rem;
}

.user-profile-dropdown .dropdown-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bs-primary-text-emphasis);
}

.user-profile-dropdown .dropdown-user-details {
    flex: 1;
    min-width: 0;
}

.user-profile-dropdown .dropdown-user-name {
    font-weight: 600;
    color: var(--bs-primary-text-emphasis);
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-profile-dropdown .dropdown-user-email {
    font-size: small;
    color: var(--bs-secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Divider */
.user-profile-dropdown .dropdown-divider {

    height: 0.5px;
    background: var(--bs-border-color);
    margin: 0;
    border:none;
}

/* Dropdown Items */
.user-profile-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--bs-primary-text-emphasis);
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-profile-dropdown .dropdown-item:hover {
    background: var(--bs-border-color);
}

.user-profile-dropdown .dropdown-item-icon {
    width: 16px;
    text-align: center;
    font-size: large;
    color: var(--bs-secondary-color);
}

.user-profile-dropdown .dropdown-item:hover .dropdown-item-icon {
    color: var(--bs-primary-text-emphasis);
}

.user-profile-dropdown .dropdown-item-text {
    font-size: small;
    font-weight: 600;
    flex: 1;
    color: var(--bs-secondary-color);
}

.user-profile-dropdown .dropdown-item-logout .dropdown-item-text,
.user-profile-dropdown .dropdown-item-logout .dropdown-item-icon {
    color: var(--bs-danger-text-emphasis);
}

.user-profile-dropdown .dropdown-item-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--bs-danger-text-emphasis);
}

.user-profile-dropdown .dropdown-item:hover.dropdown-item-logout .dropdown-item-icon {
    color: var(--bs-danger-text-emphasis);
}