.userMenuVisible {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 320px;
    background-color: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    transform: translateX(0%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.userMenuHidden {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 320px;
    background-color: #ffffff;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.userMenuBackgroundVisible {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9900;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.userMenuBackgroundHidden {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.4);
    z-index: 9900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.userMenuHeader {
    display: flex;
    justify-content: flex-end;
    padding: 15px 15px 0 15px;
}

.userMenuCloseButton {
    cursor: pointer;
    padding: 8px;
    color: #6b7280;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.userMenuCloseButton:hover {
    background-color: #f3f4f6;
    color: #111827;
    transform: rotate(90deg);
}

.userMenuUserData {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.userMenuUserData h1 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 15px 0 5px 0;
}

.userMenuUserData span {
    text-align: center;
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.userMenuOptionsContainer {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.userMenuFooter {
    padding: 20px;
    border-top: 1px solid #f3f4f6;
    background-color: #fafafa;
    border-bottom-left-radius: 24px;
}

.assistantMenuItem {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    margin: 10px 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2.5s infinite;
}

.assistantMenuItem img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1); /* makes the black SVG white */
}

.assistantMenuItem:hover {
    transform: scale(1.02);
    animation: none;
    box-shadow: 0 8px 25px rgba(255, 65, 108, 0.5);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 65, 108, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 65, 108, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 65, 108, 0);
    }
}
