.floating-buttons-container {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.generate-back-to-top {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    color: var(--text-primary);
}

.generate-back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border-color: var(--accent-color);
}

.floating-buttons-container.show-back-to-top {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.generate-back-to-top .gp-icon {
    display: none;
}

.generate-back-to-top::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

html.no-js .floating-buttons-container {
    display: none;
}
