.seller-menu {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99990;
    font-family: inherit;
}

.seller-menu__fab {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background:
        linear-gradient(
            145deg,
            #2563eb 0%,
            #4f46e5 48%,
            #7c3aed 100%
        );

    box-shadow:
        0 12px 35px rgba(37, 99, 235, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.seller-menu__fab:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 42px rgba(37, 99, 235, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.seller-menu__fab-icon {
    font-size: 25px;
    line-height: 1;
}

.seller-menu__panel {
    position: absolute;
    right: 0;
    bottom: 76px;

    width: min(360px, calc(100vw - 32px));
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;

    background: rgba(8, 15, 30, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.45),
        0 0 45px rgba(37, 99, 235, 0.14);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transform-origin: bottom right;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.seller-menu.is-open .seller-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.seller-menu__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
}

.seller-menu__avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #fff;
    font-size: 18px;
    font-weight: 700;

    background:
        linear-gradient(
            145deg,
            #2563eb,
            #7c3aed
        );

    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.28);
}

.seller-menu__identity {
    min-width: 0;
    flex: 1;
}

.seller-menu__identity strong {
    display: block;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 700;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-menu__identity span {
    display: block;
    margin-top: 3px;

    color: #93c5fd;
    font-size: 12px;
}

.seller-menu__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;

    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);

    font-size: 23px;
    line-height: 1;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.seller-menu__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
}

.seller-menu__divider {
    height: 1px;
    margin: 0 16px;
    background: rgba(255, 255, 255, 0.08);
}

.seller-menu__actions {
    padding: 10px;
}

.seller-menu__action {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 12px;
    border-radius: 15px;

    color: inherit;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.seller-menu__action:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}

.seller-menu__action-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);

    font-size: 19px;
}

.seller-menu__action-text {
    min-width: 0;
}

.seller-menu__action-text strong {
    display: block;
    color: #f1f5f9;
    font-size: 14px;
}

.seller-menu__action-text small {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
}

.seller-menu__footer {
    padding: 12px 16px 16px;
}

.seller-menu__footer form {
    margin: 0;
}

.seller-menu__logout {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid rgba(248, 113, 113, 0.16);
    border-radius: 12px;

    cursor: pointer;

    color: #fca5a5;
    background: rgba(248, 113, 113, 0.07);

    font: inherit;
    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.seller-menu__logout:hover {
    background: rgba(248, 113, 113, 0.13);
    border-color: rgba(248, 113, 113, 0.25);
}

.seller-menu__brand {
    display: block;
    margin-top: 11px;

    color: #64748b;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .seller-menu {
        right: 16px;
        bottom: 16px;
    }

    .seller-menu__fab {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .seller-menu__panel {
        bottom: 70px;
        width: min(360px, calc(100vw - 24px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .seller-menu__fab,
    .seller-menu__panel,
    .seller-menu__action,
    .seller-menu__close,
    .seller-menu__logout {
        transition: none;
    }
}
