/* Mobile Button & Toggle Styles */

@media (max-width: 768px) {

    /* iOS-style toggle switches */
    .mobile-toggle {
        width: 50px;
        height: 30px;
        border-radius: 15px;
        background: var(--border-color);
        border: none;
        position: relative;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .mobile-toggle.active {
        background: var(--action-bg);
    }

    body.dark .mobile-toggle {
        background: var(--border-color);
    }

    body.dark .mobile-toggle.active {
        background: var(--action-bg);
    }

    .mobile-toggle-thumb {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: white;
        position: absolute;
        top: 2px;
        left: 2px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        will-change: transform;
    }

    .mobile-toggle.active .mobile-toggle-thumb {
        transform: translateX(20px);
    }

    /* Add visual feedback on press */
    .mobile-toggle:active .mobile-toggle-thumb {
        width: 28px;
    }

    .mobile-toggle.active:active .mobile-toggle-thumb {
        width: 28px;
        transform: translateX(18px);
    }

    /* Settings Buttons */
    .mobile-setting-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--surface-3);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-color);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-setting-btn:active {
        transform: scale(0.95);
        background: var(--surface-2);
    }

    body.dark .mobile-setting-btn {
        background: var(--surface-3);
        color: var(--text-color);
    }

    body.dark .mobile-setting-btn:active {
        background: var(--surface-2);
    }

}