/* Quick Actions Panel Styles */
#quick-actions-panel {
    position: absolute;
    right: 10px;
    bottom: 64px; /* 40px taskbar + 24px spacing */
    width: 320px;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 1000;
    display: none;
    max-height: 50vh; /* 50% of viewport height */
    overflow-y: auto; /* Make content scrollable */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) rgba(0, 0, 0, 0.3);
}

#quick-actions-panel::-webkit-scrollbar {
    width: 6px;
}

#quick-actions-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

#quick-actions-panel::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.quick-actions-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Grid for quick action buttons */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

/* Individual quick action toggle */
.quick-action-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

.quick-action-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.quick-action-toggle.active {
    background-color: var(--accent-color);
    color: white;
}
.quick-action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quick-action-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.restart-button {
    color: white;
    font-weight: 500;
}

.restart-button svg {
    width: 20px;
    height: 20px;
}

.quick-action-icon {
    margin-bottom: 8px;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-icon svg {
    height: 24px;
    width: 24px;
}

.quick-action-label {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Sliders section */
.quick-actions-sliders {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.slider-label svg {
    height: 18px;
    width: 18px;
}

/* Custom slider styling */
.slider-control {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
}

.slider-control::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    #quick-actions-panel {
        width: 100%;
        right: 0;
        left: 0;
        bottom: 50px; /* Align with mobile taskbar */
        border-radius: 0;
        max-height: 70vh;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}