/* --- کنترل‌های مربعی شناور در سمت راست --- */

.floating-action-controls {
    position: fixed;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-toggle-btn,
.support-button {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;

    background-color: rgba(255, 255, 255, 0.05);
    color: #f5f5ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem; /* مربعی با لبه‌های ملایم */

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.2s ease;
}

[data-theme="light"] .theme-toggle-btn,
[data-theme="light"] .support-button {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle-btn:hover,
[data-theme="light"] .support-button:hover {
    color: #008ecc;
    border-color: #008ecc;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 142, 204, 0.4);
}

.theme-toggle-btn:hover,
.support-button:hover {
    color: #00aaff;
    border-color: #00aaff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 20px #00aaff;
}

.theme-toggle-btn:active,
.support-button:active {
    transform: scale(0.95);
}
