.action-sidebar-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #fbbf24;
    border: none;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.action-sidebar-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.action-sidebar-toggle:active {
    transform: scale(0.96);
}

.action-sidebar-toggle svg {
    width: 24px;
    height: 24px;
    color: #000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-open .action-sidebar-toggle svg {
    transform: rotate(90deg);
}

.action-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-open .action-sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.action-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 340px;
    max-width: 85vw;
    background: #1e2024;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    z-index: 1002;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}

body.sidebar-open .action-sidebar {
    transform: translateX(0);
}

.action-sidebar-header {
    padding: 28px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.action-sidebar-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.action-sidebar-close svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.action-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.action-sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.action-sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.action-sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.action-sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.action-sidebar-section {
    margin-bottom: 28px;
}

.action-sidebar-section-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
    padding: 0 8px;
}

.action-sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.action-sidebar-item:hover {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    transform: translateX(-3px);
}

.action-sidebar-item:active {
    transform: translateX(-3px) scale(0.98);
}

.action-sidebar-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.action-sidebar-item:hover svg {
    transform: scale(1.08);
}

.action-sidebar-item img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.3));
    transition: all 0.2s ease;
}

.action-sidebar-item:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.5));
}

.action-sidebar-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #ef4444;
    color: #fff;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1e2024;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.action-sidebar-footer {
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.action-sidebar-footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .action-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .action-sidebar-toggle {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
    
    .action-sidebar-toggle svg {
        width: 22px;
        height: 22px;
    }
    
    body.sidebar-open {
        overflow: hidden;
    }
    
    .action-sidebar-header {
        padding: 24px 20px;
    }
    
    .action-sidebar-title {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .top-navbar .navbar-right .navbar-btn:not(.signin-btn) {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .top-navbar .navbar-right .navbar-btn:not(.signin-btn) {
        display: none;
    }
}
