
.floating-buttons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.theme-toggle {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
}

.theme-toggle button,
.back-to-top {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 163, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .theme-toggle button,
[data-theme="light"] .back-to-top {
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.theme-toggle button:hover,
.back-to-top:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 163, 255, 0.3);
}

.back-to-top {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .floating-buttons-container {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .theme-toggle button,
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
